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
  • #3487

Closed
Open
Created Apr 02, 2013 by Administrator@rootOwner

compare values of "gitlab host" with "gitlab_url" in gitlab:check command

Created by: jakoch

A feature request for Gitlab v5.

The command

sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production

needs a additional check.

The check should ensure, that the values of the following configuration directives are the same:

"production > gitlab > host: gitlab.myhost.com"

"/git/gitlab/config/gitlab.yml"

and

"gitlab_url=gitlab.myhost.com"

"/git/gitlab-shell/config.yml".

Both have to be same!

I noticed this after relocating to another domain, without adjusting the values in /gitlab-shell/config.yml. I ran the gitlab:check command, but everything was green, but i couldn't fetch nor push to any of my repos. At first sight, this looks like a SSH key problem. So, by adding this check to gitlab:check, you will safe your users some time in figuring out, what is going on.

Regards, Jens

Assignee
Assign to
Time tracking