Similar issue to this one.
I have a minimal VM running GitLab and want(ed) to drop my repositories/backups onto a centralised nfs share because, RAID and big disk and stuff.
As an example, I’ve updated the backups location to point to my nfs share and get the following on running
sudo gitlab-ctl reconfigure gives the following
Running handlers: There was an error running gitlab-ctl reconfigure: storage_directory[/mnt/nfs/git/backups] (gitlab::gitlab-rails line 117) had an e rror: Mixlib::ShellOut::ShellCommandFailed: ruby_block[directory resource: /mnt/ nfs/git/backups] (/opt/gitlab/embedded/cookbooks/cache/cookbooks/package/resourc es/storage_directory.rb line 33) had an error: Mixlib::ShellOut::ShellCommandFai led: Expected process to exit with , but received '1' ---- Begin output of stat --printf='%U' $(readlink -f /mnt/nfs/git/backups) ---- STDOUT: STDERR: stat: missing operand Try 'stat --help' for more information. ---- End output of stat --printf='%U' $(readlink -f /mnt/nfs/git/backups) ---- Ran stat --printf='%U' $(readlink -f /mnt/nfs/git/backups) returned 1 Running handlers complete
This occurs for any mounted nfs share, local VM drive resources do not give the same error so my thinking is it’s a permissions thing?