gitlab-ctl reconfigure error
system:redhat7.3
version:gitlab-ce-10.5.2-ce.0.el7.x86_64.rpm
install:rpm
Problem description:Error reporting by executing gitlab-ctl reconfigure command
error message:
storage_directory\[/var/opt/gitlab/.ssh\](gitlab::gitlab-shell line 38)had an error:Mixlib::shellout::shellcommandfailed:
ruby_block[directory resource: /var/opt/gitlab/.ssh](/opt/gitlab/embedded/cookbooks/cache/cookbooks/package/resources/storage_directory.rb line 33) had an error:Mixlib::shellout::shellcommandfailed:Expected process to exit with [0] ,but received '1'
-------- begin output of stat --printf='%U' $(readlink -f /var/opt/gitlab/.ssh)------
stout:
stderr: stat:missing oprand
try stat --help
------- end output of stat --printf ='%U' $(readlink -f /var/opt/gitlab/.ssh)-----
ran stat --print='%U' $(readlink -f /var/opt/gitlab/.ssh) returned 1
Edited by Stan Hu