问题
I just upgraded my gitlab-ce version to the latest version using this command
sudo yum install gitlab-ce-12.1.3-ce.0.el7.x86_64
the upgrade works well, but after restart the gitlab service won't start, when I run this command
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: grafana: 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: sidekiq: runsv not running
fail: unicorn: runsv not running
and then I try to start the gitlab-runsv by using this command
systemctl start gitlab-runsvdir.service
But it freezes and not doing anything!!, I must use the CTRL+C to quit and when I run the journal-ctl it don't showing anything.
journalctl -u gitlab-runsvdir.service
-- No entries --
My Environment is Centos 7.
回答1:
I did the yum update and restart again after that I did the gitlab-ctl reconfigure, now the gitlab services are working again.
来源:https://stackoverflow.com/questions/57357265/gitlab-cannot-start-runsv-is-not-running