I went as far as changing the Chef recipe to put the port I want in the config file, by changing:
/opt/gitlab/embedded/cookbooks/gitlab/attributes/default.rb Still, the port number seems to be ignored by nginx, it continues to run on port 80. I think this should be filed as a bug? On Thursday, March 20, 2014 3:14:54 PM UTC+2, János Rusiczki wrote: > > I changed the "port: 80" line to "port: 21251" here: > > /var/opt/gitlab/gitlab-rails/etc/gitlab.yml > > ... and I ran `sudo gitlab-ctl restart` but gitlab continues running on > good old port 80 and I get connection refused on the the new port. > > I don't understand what's going on. :( > > > On Thu, Mar 20, 2014 at 12:49 PM, Rovanion Luckey < > [email protected]> wrote: > >> I'm sorry I mislead you. Port is not one of the settings set in that file. >> >> The port is set in config/gitlab.yml >> >> >> 2014-03-20 9:11 GMT+01:00 János Rusiczki <[email protected]>: >> >>> I created a file named gitlab in /etc/defaults but I don't know what >>> line I should use to set the webapp's port. >>> >>> >>> On Thursday, March 20, 2014 9:58:18 AM UTC+2, Rovanion Luckey wrote: >>> >>>> It depends on the version that is packaged in the deb but we did >>>> implement configuration with /etc/defaults/gitlab in 6.4. >>>> >>>> So if your version is 6.4 or above take a look at this file and the >>>> instructions in it: https://github.com/gitlabhq/ >>>> gitlabhq/blob/master/lib/support/init.d/gitlab.default.example >>>> >>>> >>>> 2014-03-20 8:51 GMT+01:00 János Rusiczki <[email protected]>: >>>> >>>>> Hi there! >>>>> >>>>> I installed gitlab on my Ubuntu server via the .deb package. >>>>> Now I would like to change the port the webapp runs on, because I need >>>>> 80 for other stuff. >>>>> I'd prefer to do it in a way so that this port modification doesn't >>>>> get lost during updates or when running the reconfigure script. >>>>> >>>>> Thanks, >>>>> Janos >>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "GitLab" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>> an email to [email protected]. >>>>> >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>> >>>> -- >>> You received this message because you are subscribed to the Google >>> Groups "GitLab" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "GitLab" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/gitlabhq/bseXaKMDkHQ/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "GitLab" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
