Issues installing gitlab-ce on Ubuntu 16.04 (xenial)

371 views
Skip to first unread message

Mark Biek

unread,
Aug 31, 2016, 4:11:45 PM8/31/16
to GitLab
I've been trying to install gitlab-ce from the Omnibus packages for Ubuntu 16.04 and I'm complete stuck.

Issue #1
All of the docs say to run the command sudo apt-get install gitlab-ce but I always get a "Unable to locate package gitlab-ce" error.

Doing an sudo apt search gitlab shows that there is a package just called gitlab so I'm assuming the docs are wrong and I'm supposed to install that.

Issue #2
Installation runs normally until it gets to the point of doing the nginx setup and then it fails with the following error:

Creating config file /etc/nginx/sites-available/gitlab.mydomain.net with new version
cp: cannot create regular file '/etc/nginx/sites-available/gitlab.mydomain.net': No such file or directory
dpkg: error processing package gitlab (--configure):
 subprocess installed post-installation script returned error exit status 1 

I'm not doing anything special with my install.

Can anyone give me any hints?

Drew Blessing

unread,
Sep 21, 2016, 1:23:23 AM9/21/16
to GitLab
Hi Mark,

Check out our install instructions at https://about.gitlab.com/downloads. Before running `apt-get install gitlab-ce` you will need to add our package repository to your server. This is the recommended way to install GitLab. What you're seeing for `apt-get install gitlab` is a community-provided Debian GitLab bundle. This is quite different from our official Omnibus packages in layout/configuration, but it should also work. Unfortunately, it's fairly new and I don't have much experience troubleshooting it. Give the install instructions a try and let me know if you have trouble. 
Reply all
Reply to author
Forward
0 new messages