[英]Nginx Won't start after GitLab Update
我嘗試通過運行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
有任何想法嗎? 謝謝!
嘗試跑步
sudo gitlab-ctl tail
查看所有錯誤。
我犯了一個愚蠢的錯誤,即在我之前對 GitLab 實例的編輯中沒有為 GitLab 注冊表子域創建證書。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.