biowan
April 17, 2015, 9:27am
1
Hi all,
I just tried to upgrade gitlab CE from 7.8.2 to 7.9.4, but I get at the end the nginx service down.
Infos :
OS : CentOS 6.6
Package : Omnibus rpm
Operations done :
Download the new package gitlab-7.9.4_omnibus.1-1.el6.x86_64.rpm
gitlab-ctl stop
rpm -Uvh gitlab-7.9.4_omnibus.1-1.el6.x86_64.rpm
gitlab-ctl reconfigure
gitlab-ctl start
With gitlab-ctl status, I get :
run: logrotate: (pid 878) 1655s; run: log: (pid 873) 1655s
down: nginx
run: postgresql: (pid 883) 1655s; run: log: (pid 879) 1655s
run: redis: (pid 881) 1655s; run: log: (pid 875) 1655s
run: sidekiq: (pid 876) 1655s; run: log: (pid 872) 1655s
run: unicorn: (pid 877) 1655s; run: log: (pid 871) 1655s
An idea ?
Thanks for your help
1 Like
biowan:
Hi all,
I just tried to upgrade gitlab CE from 7.8.2 to 7.9.4, but I get at the end the nginx service down.
Infos : OS : CentOS 6.6Package : Omnibus rpm
Operations done : 1. Download the new package gitlab-7.9.4_omnibus.1-1.el6.x86_64.rpm2. gitlab-ctl stop3. rpm -Uvh gitlab-7.9.4_omnibus.1-1.el6.x86_64.rpm4. gitlab-ctl reconfigure5. gitlab-ctl start
With gitlab-ctl status, I get : run: logrotate: (pid 878) 1655s; run: log: (pid 873) 1655sdown: nginx run: postgresql: (pid 883) 1655s; run: log: (pid 879) 1655srun: redis: (pid 881) 1655s; run: log: (pid 875) 1655srun: sidekiq: (pid 876) 1655s; run: log: (pid 872) 1655srun: unicorn: (pid 877) 1655s; run: log: (pid 871) 1655s
An idea ?Thanks for your help
Well, there’s your problem. It says that nginx is down. Have you tried starting it, @biowan ?
haynes
April 20, 2015, 7:46pm
3
@biowan what do the logs say?
I assume nginx encountered an error during the startup.
Make sure no other process is listening on port 80.
biowan
April 30, 2015, 8:15am
4
Hi,
Sorry guys. Thanks for your anwser.
2015/04/17 10:45:58 [emerg] 7464#0: BIO_new_file("/etc/gitlab/ssl/gitlab.mydomain.crt") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/gitlab/ssl/gitlab.mydomain.crt','r') error:2006D080:BIO routines:BIO_new_file:no such file)
So, my problem is solved. Because the upgrade had changed the nginx config file (gitlab-http.conf) on parameters ssl_certificate and ssl_certificate_key. I just reset the right values and it was done.
Thanks.
1 Like