.deb package install on Ubuntu 12.04 - Port number in gitlab.yml file is ignored
Created by: janosrusiczki
I installed GitLab from the .deb package (gitlab_6.6.5-omnibus-1.ubuntu.12.04_amd64.deb) on Ubuntu 12.04. Because I'll need port 80 for my "regular" web server I tried to move GitLab to another port.
I changed the port number in: /opt/gitlab/embedded/service/gitlab-rails/config/gitlab.yml
by editing the line port: 80
around the beginning of the file (under production: &base
-> gitlab:
) and changing it to my port and then ran sudo gitlab-ctl restart
. GitLab restarted but it kept running on port 80.
I even went ahead and changed the port number in the recipe configuration by modifying /opt/gitlab/embedded/cookbooks/gitlab/attributes/default.rb
and then ran sudo gitlab-ctl reconfigure
which rebuilt all the config files yielding a gitlab.yml with my desired port. But the app would still run on port 80.
This makes me suspect that the config file or the port number within it is ignored.