简体   繁体   English

Nginx GitLab更新后无法启动

[英]Nginx Won't start after GitLab Update

I tried updating GitLab by running sudo apt-get update and sudo apt-get install gitlab-ce .我尝试通过运行sudo apt-get updatesudo apt-get install gitlab-ce来更新 GitLab。 Everything seemed fine during the install, but after it finished, nginx stopped working and I can't get it to start.安装期间一切似乎都很好,但完成后,nginx 停止工作,我无法启动它。

After running: sudo gitlab-ctl status , I get this:运行后: 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

I tried running sudo gitlab-ctl reconfigure and rebooting.我尝试运行sudo gitlab-ctl reconfigure并重新启动。 That didn't help.那没有帮助。 I also tried sudo gitlab-ctl restart nginx , which gave me this:我也试过sudo gitlab-ctl restart nginx ,这给了我这个:

timeout: down: nginx: 0s, normally up, want up

Any ideas?有任何想法吗? Thanks!谢谢!

Try running尝试跑步

sudo gitlab-ctl tail

to view all errors.查看所有错误。

I made a silly mistake of not creating certificates for the GitLab registry subdomain on my previous edit to my GitLab instance.我犯了一个愚蠢的错误,即在我之前对 GitLab 实例的编辑中没有为 GitLab 注册表子域创建证书。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM