issue when trying to reconfigure gitlab on a pi4
I have Gitlab on a pi4 and used gitlab documentation (1 and 2) to properly configure settings but im not able to reconfigure it. When i reconfigure i get,
Error executing action run on resource 'ruby_block[directory resource: /var/opt/gitlab/git-data]'
Error executing action create on resource 'storage_directory[/var/opt/gitlab/git-data]'
There was an error running gitlab-ctl reconfigure:
storage_directory[/var/opt/gitlab/git-data] (gitlab::gitlab-rails line 49) had an error: Mixlib::ShellOut::ShellCommand
Failed: ruby_block[directory resource: /var/opt/gitlab/git-data] (gitlab::gitlab-rails line 36) had an error:
Mixlib::ShellOut::ShellCommand Failed: Failed asserting that ownership of "/var/opt/gitlab/git-data" was git:git
---- Begin output of set -x && [ "$(stat --printf='%U:%G' $(readlink -f /var/opt/gitlab/git-data))" = 'git:git' ] ----
STDOUT:
STDERR: + readlink -f /var/opt/gitlab/git-data
+ stat --printf=%U:%G /var/opt/gitlab/git-data
+ [ root:root = git:git ]
---- End output of set -x && [ "$(stat --printf='%U:%G' $(readlink -f /var/opt/gitlab/git-data))" = 'git:git' ] ----
Ran set -x && [ "$(stat --printf='%U:%G' $(readlink -f /var/opt/gitlab/git-data))" = 'git:git' ] returned 1
all in red and leads to gitlab not being able to reconfigure Im pretty new to this please help
Edited by Jason Plum