Upgraded from 5.1 to 5.2. One Project stopped working in the gitlab shell - Error 500.
Created by: xoration
Hello,
I just upgraded from Version 5.1 to Version 5.2. After the upgrade I was not able to view one project in the webinterface (gitlab-shell) anymore. For some reason that only happened with one project. When clicking on the project I'm getting a Error 500.
production.log tells me:
Connecting to database specified by database.yml Started GET "/api/v3/internal/allowed?key_id=5&action=git-upload-pack&ref=_any&project=xor/secu" for 666.666.666.666 at 2013-06-17 23:40:08 +0200 Creating scope :opened. Overwriting existing method Issue.opened. Creating scope :closed. Overwriting existing method MergeRequest.closed. Connecting to database specified by database.yml Started GET "/xor/secu" for 333.333.333.333 at 2013-06-17 23:40:38 +0200 Processing by ProjectsController#show as HTML Parameters: {"id"=>"xor/secu"} Rendered shared/_clone_panel.html.haml (0.7ms) Rendered projects/_clone_panel.html.haml (7.5ms) Rendered events/_event_last_push.html.haml (0.1ms) Rendered projects/show.html.haml within layouts/project_resource (19.9ms) Completed 500 Internal Server Error in 54ms
ActionView::Template::Error (Mysql2::Error: Table 'gitlabhq_production.forked_project_links' doesn't exist: SELECT projects
.* FROM projects
INNER JOIN forked_project_links
ON projects
.id
= forked_project_links
.forked_from_project_id
WHERE forked_project_links
.forked_to_project_id
= 2 LIMIT 1):
40: %p Repo Size: #{@project.repository.size} MB
41: %p Created on: #{@project.created_at.stamp('Aug 22, 2013')}
42: %p Owner: #{link_to @project.owner_name, @project.owner}
43: - if @project.forked_from_project
44: %p
45: Forked from:
46: = link_to @project.forked_from_project.name_with_namespace, project_path(@project.forked_from_project)
config/initializers/connection_fix.rb:22:in execute' app/views/projects/show.html.haml:43:in
_app_views_projects_show_html_haml__764501037595837712_68597480'
app/controllers/projects_controller.rb:64:in block (2 levels) in show' app/controllers/projects_controller.rb:58:in
show'
Yes I edited the IP adresses :-)