Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #6580

Closed
Open
Created Mar 20, 2014 by Administrator@rootOwner

.deb package install on Ubuntu 12.04 - Port number in gitlab.yml file is ignored

Created by: jrusiczkisv

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.

Assignee
Assign to
Time tracking