gitlab意外停止后不能启动,执行gitlab-ctl start 提示全部启动失败。
GitLab won’t start – runsv not running.
Gitlab didn’t start after update gitlab-ce and reboot, doing following steps to solve.
Problem
admin@MyHost:~$ sudo gitlab-ctl start
fail: alertmanager: runsv not running
fail: gitaly: runsv not running
fail: gitlab-monitor: runsv not running
fail: gitlab-workhorse: runsv not running
fail: logrotate: runsv not running
fail: nginx: runsv not running
fail: node-exporter: runsv not running
fail: postgres-exporter: runsv not running
fail: postgresql: runsv not running
fail: prometheus: runsv not running
fail: redis: runsv not running
fail: redis-exporter: runsv not running
fail: registry: runsv not running
fail: sidekiq: runsv not running
fail: unicorn: runsv not running
Solution
sudo systemctl start gitlab-runsvdir
then
sudo gitlab-ctl restart