(up to date)
* execute[/opt/gitlab/bin/gitlab-ctl start logrotate] action run
[execute] fail: logrotate: runsv not running
================================================================================
Error executing action `run` on resource 'execute[/opt/gitlab/bin/gitlab-ctl start logrotate]'
================================================================================
Running handlers:
There was an error running gitlab-ctl reconfigure:
execute[/opt/gitlab/bin/gitlab-ctl start logrotate] (logrotate::enable line 29) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of /opt/gitlab/bin/gitlab-ctl start logrotate ----
STDOUT: fail: logrotate: runsv not running
STDERR:
---- End output of /opt/gitlab/bin/gitlab-ctl start logrotate ----
Ran /opt/gitlab/bin/gitlab-ctl start logrotate returned 1
官方解决方案:
Common installation problems | GitLab
https://docs.gitlab.com/omnibus/common_installation_problems/#gitlab-runsvdir-not-startin
执行:
sudo /opt/gitlab/embedded/bin/runsvdir-start &
问题解决
参考: