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