Error installing gitlab with https

Bug #1575089 reported by Jose L Zabalza
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gitlab (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I have a problem installing gitlab with HTTPS support on Ubuntu Server 16.04 LST

$ sudo apt-get install gitlab

...

Configuring gitlab (8.5.8+dfsg-5) ...
Creating/updating gitlab user account...
adduser: Aviso: El directorio personal «/var/lib/gitlab» no pertenece al usuario que está creando.
Creating runtime directories for gitlab...
Updating file permissions...
Configuring hostname and email...
Configuring nginx with HTTPS...
Configuring gitlab with HTTPS...
Updating gitlab_url in gitlab-shell configuration...
Registering /etc/gitlab/gitlab.yml via ucf

Creating config file /etc/gitlab/gitlab.yml with new version
Registering /etc/gitlab/gitlab-debian.conf via ucf

Creating config file /etc/gitlab/gitlab-debian.conf with new version

Creating config file /etc/nginx/sites-available/localhost with new version
Reloading nginx configuration...
Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.
invoke-rc.d: initscript nginx, action "reload" failed.
dpkg: error al procesar el paquete gitlab (--configure):

=====
/var/log/syslog
=====

Apr 25 21:03:29 ubuntu systemd[1]: Reloading A high performance web server and a reverse proxy server.
Apr 25 21:03:29 ubuntu systemd[1]: Started ACPI event daemon.
Apr 25 21:03:30 ubuntu nginx[15003]: nginx: [emerg] BIO_new_file("/etc/gitlab/ssl/gitlab.crt") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/gitlab/ssl/gitlab.crt','r') error:2006D080:BIO routines:BIO_new_file:no such file)
Apr 25 21:03:30 ubuntu systemd[1]: nginx.service: Control process exited, code=exited status=1
Apr 25 21:03:30 ubuntu systemd[1]: Reload failed for A high performance web server and a reverse proxy server.
Apr 25 21:03:30 ubuntu systemd[1]: Reloading.
Apr 25 21:03:30 ubuntu systemd[1]: Started ACPI event daemon.
Apr 25 21:04:02 ubuntu systemd[1]: Reloading.
Apr 25 21:04:02 ubuntu systemd[1]: Reloading A high performance web server and a reverse proxy server.
Apr 25 21:04:02 ubuntu systemd[1]: Started ACPI event daemon.
Apr 25 21:04:02 ubuntu nginx[15338]: nginx: [emerg] BIO_new_file("/etc/gitlab/ssl/gitlab.crt") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/gitlab/ssl/gitlab.crt','r') error:2006D080:BIO routines:BIO_new_file:no such file)
Apr 25 21:04:02 ubuntu systemd[1]: nginx.service: Control process exited, code=exited status=1

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gitlab (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.