我尝试通过运行sudo apt-get update
和sudo apt-get install gitlab-ce
来更新GitLab。在安装过程中一切似乎都很好,但在完成后,nginx停止工作,我无法启动它。
运行后:sudo gitlab-ctl status
,我明白了:
run: gitlab-workhorse: (pid 4378) 8613s; run: log: (pid 937) 9953s
run: logrotate: (pid 19116) 1412s; run: log: (pid 933) 9953s
down: nginx: 0s, normally up, want up; run: log: (pid 943) 9953s
run: postgresql: (pid 4456) 8581s; run: log: (pid 939) 9953s
run: redis: (pid 4466) 8581s; run: log: (pid 935) 9953s
run: sidekiq: (pid 4474) 8578s; run: log: (pid 940) 9953s
run: unicorn: (pid 4496) 8576s; run: log: (pid 931) 9953s
我尝试运行sudo gitlab-ctl reconfigure
并重新启动。这没有用。我也试过了sudo gitlab-ctl restart nginx
,它给了我这个:
timeout: down: nginx: 0s, normally up, want up
有什么想法吗?谢谢!