Hi,
I used the Transfer project functionality as shown on the picture below to transfer a project to some other user at which point an error 500 occurred.
Now, whenever accessing the “Admin area” tab (as well as some other functionalities) in the Gitlab web interface, a 500 error occurs, which prints the following into the log file:
Started GET "/admin" for 127.0.0.1 at 2015-03-06 13:47:10 +0100
Processing by Admin::DashboardController#index as HTML
Completed 500 Internal Server Error in 52ms
ActionView::Template::Error (undefined method `+' for nil:NilClass):
112: %hr
113: - @projects.each do |project|
114: %p
115: = link_to project.name_with_namespace, [:admin, project], class: 'str-truncated'
116: %span.light.pull-right
117: #{time_ago_with_tooltip(project.created_at)}
118:
app/models/project.rb:444:in `name_with_namespace'
app/views/admin/dashboard/index.html.haml:115:in `block in _app_views_admin_dashboard_index_html_haml__112669828022108010_128410640'
app/views/admin/dashboard/index.html.haml:113:in `_app_views_admin_dashboard_index_html_haml__112669828022108010_128410640'
This is a fresh copy of the latest Gitlab version, where I’ve imported the Mysql data as well as copied over the reposotories/ directory. Can somebody tell me how to identify what is going on and how to fix the issue. I’m guessing that there’s some inconsistent state in the DB/Repositories, which is causing the problems, but I’m not sure how to identify the issue and possibly fix it.
Another problem is that I don’t remember, which repository I tried to assign to another user, which makes the problem slightly harder to debug.
Any suggestions on how to identify and correct the problem are most welcome.
Thank you