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

Closed
Open
Created Oct 13, 2014 by Administrator@rootOwner

Problems after moving gitlab CE to a new server

Created by: toreau

Most seems to work, but commit history is broken. When I click on "Commits" for a project, I get this error message in the log:

Started GET "/gamedev/outset/commits/develop" for 80.241.88.10 at 2014-10-13 11:22:12 +0200 Processing by Projects::CommitsController#show as HTML Parameters: {"project_id"=>"gamedev/outset", "id"=>"develop"} Completed 500 Internal Server Error in 125ms

ActionView::Template::Error (No route matches {:action=>"show", :controller=>"projects/issues", :id=>"OUT-19", :project_id=>#<Project id: 25, name: "Outset", path: "outset", description: "", created_at: "2014-06-07 10:40:30", updated_at: "2014-10-13 08:40:45", creator_id: 3, issues_enabled: true, wall_enabled: true, merge_requests_enabled: true, wiki_enabled: true, namespace_id: 14, issues_tracker: "jira", issues_tracker_id: "OUT", snippets_enabled: true, last_activity_at: "2014-10-13 08:40:45", import_url: "", visibility_level: 0, archived: false, import_status: "none", repository_size: 3165.77, star_count: 0>} missing required keys: [:id]): 3: = link_to commit.short_id(8), project_commit_path(project, commit), class: "commit_short_id" 4:   5: %span.str-truncated 6: = link_to_gfm commit.title, project_commit_path(project, commit.id), class: "commit-row-message" 7: - if commit.description? 8: %a.text-expander.js-toggle-button ... 9: app/helpers/issues_helper.rb:45:in url_for_issue' lib/gitlab/markdown.rb:186:inreference_issue' lib/gitlab/markdown.rb:168:in reference_link' lib/gitlab/markdown.rb:128:inblock in parse_references' lib/gitlab/markdown.rb:117:in gsub!' lib/gitlab/markdown.rb:117:inparse_references' lib/gitlab/markdown.rb:93:in parse' lib/gitlab/markdown.rb:58:ingfm' app/helpers/gitlab_markdown_helper.rb:22:in link_to_gfm' app/views/projects/commits/_commit.html.haml:6:in_app_views_projects_commits__commit_html_haml__1848956833924599131_70297514231000' app/views/projects/commits/_commits.html.haml:10:in block in _app_views_projects_commits__commits_html_haml__2922043301155869836_70297513980680' app/views/projects/commits/_commits.html.haml:1:ineach' app/views/projects/commits/_commits.html.haml:1:in _app_views_projects_commits__commits_html_haml__2922043301155869836_70297513980680' app/views/projects/commits/show.html.haml:18:in_app_views_projects_commits_show_html_haml___2308178896301083230_70297513013140' app/controllers/projects/commits_controller.rb:19:in `show'

The way I moved the service to a new server was like this:

  • Upgraded to 7.3.2 on the OLD server, saw that everything was working as expected, created a backup and shut down the service.
  • Installed 7.3.2 from scratch on the NEW server and restored the backup from the old server.

Any ideas what's wrong? The only difference in the setup is that I changed the unicorn port from 8080 to 8090, because I have JIRA running on port 8080 on the new server. I also changed the hostname in the configuration files.

Assignee
Assign to
Time tracking