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

Closed
Open
Created Jan 17, 2012 by Administrator@rootOwner

Changing name of host in gitlab.yml is not working

Created by: mvy

Hi!

I tried to change the host property in the config/gitlab.yml file to my server's name (originally set to localhost). 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)
Assignee
Assign to
Time tracking