简体   繁体   中英

Nginx Won't start after GitLab Update

I tried updating GitLab by running sudo apt-get update and sudo apt-get install gitlab-ce . Everything seemed fine during the install, but after it finished, nginx stopped working and I can't get it to start.

After running: sudo gitlab-ctl status , I get this:

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. That didn't help. I also tried sudo gitlab-ctl restart nginx , which gave me this:

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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