gitlabhq/gitlabhq — Issue #304: Changing name of host in gitlab.yml is not working
Author: mvy
Created: 2012-01-17 11:16:58+00:00
State: open

Hi!

I tried to change the `host` property in the `config/gitlab.yml` file to my server's name. When I do this, the server name appear in the project page, but the creation fails on `config/gitlab.yml` misconfiguration. A `git pull' command is working correctly from the server.

I tried to add an alias in `/etc/hosts` but still not working.

The `production.log` is not very helpful :

Started POST "/projects" for 195.x.x.x at 2012-01-17 12:00:07 +0100
Processing by ProjectsController#create as JS
Parameters: {"utf8"=>"✓", "authenticity_token"=>"sVx9ZcbdoHngTwb4Xv1txmns/JGn+O1n9IQaRX/1QXA=", "project"=>{"name"=>"test2", "path"=>"test2", "code"=>"test2", "description"=>""}, "commit"=>"Save"}
Completed 200 OK in 900ms (Views: 0.3ms | ActiveRecord: 3.2ms)

Started GET "/errors/githost" for 195.x.x.x at 2012-01-17 12:00:08 +0100
Processing by ErrorsController#githost as HTML
Rendered public/githost_error.html (0.8ms)
Completed 200 OK in 67ms (Views: 59.3ms | ActiveRecord: 0.4ms)