Hard to debug 404 pages (ActionController::RoutingError)
Created by: PAStheLoD
Hello!
I've migrated a ~3.0 installation to 5.3 (and since then to current master - cab2ba0a), and rake gitlab:check says that everything is okay, yet I get the following stacktrace on admin/users, (and the same problem - related to users - also pops up for /team for a project).
Started GET "/admin/users" for at 2013-07-05 15:36:01 +0200
Processing by Admin::UsersController#index as HTML
Rendered admin/users/index.html.haml within layouts/admin (15.4ms)
Completed 500 Internal Server Error in 123ms
ActionController::RoutingError (No route matches {:action=>"show", :controller=>"admin/users", :id=>#<User id: 1, email: "[email protected]", encrypted_password: "$.....", reset_password_token: nil, reset_password_sent_at: nil, remember_created_at: nil, sign_in_count: 8, current_sign_in_at: "2012-12-04 12:09:00", last_sign_in_at: "2012-11-29 11:19:22", current_sign_in_ip: "127.0.0.1", last_sign_in_ip: "127.0.0.1", created_at: "2012-09-03 20:47:24", updated_at: "2012-12-04 12:09:00", name: "Administrator", admin: true, projects_limit: 10000, skype: "", linkedin: "", twitter: "", authentication_token: "zADtokentokenteokenekekekke", theme_id: 1, bio: nil, failed_attempts: 0, locked_at: nil, extern_uid: nil, provider: nil, username: nil, can_create_group: true, can_create_team: true, state: "active", color_scheme_id: 1, notification_level: 1, password_expires_at: nil, created_by_id: nil>}):
app/views/admin/users/index.html.haml:44:in `block in _app_views_admin_users_index_html_haml__3424885398176117678_51505780'
app/views/admin/users/index.html.haml:38:in `_app_views_admin_users_index_html_haml__3424885398176117678_51505780'
The stacktrace for the project's team page:
Started GET "/<group_name>/<project_name>/team" for at 2013-07-05 15:02:33 +0200
Processing by TeamMembersController#index as HTML
Parameters: {"project_id"=>"<group>/<project_name>"}
Rendered projects/_settings_nav.html.haml (3.1ms)
Rendered team_members/_team_member.html.haml (3.6ms)
Rendered team_members/_team_member.html.haml (2.5ms)
Rendered team_members/_team_member.html.haml (2.4ms)
Rendered team_members/_team_member.html.haml (2.0ms)
Rendered team_members/_team_member.html.haml (1.8ms)
Rendered team_members/_team.html.haml (40.6ms)
Rendered team_members/index.html.haml within layouts/project_resource (61.7ms)
Completed 500 Internal Server Error in 96ms
ActionController::RoutingError (No route matches {:controller=>"users", :action=>"show", :username=>#<User id: 1, email: "[email protected]", encrypted_password: "$.......", reset_password_token: nil, reset_password_sent_at: nil, remember_created_at: nil, sign_in_count: 8, current_sign_in_at: "2012-12-04 12:09:00", last_sign_in_at: "2012-11-29 11:19:22", current_sign_in_ip: "127.0.0.1", last_sign_in_ip: "127.0.0.1", created_at: "2012-09-03 20:47:24", updated_at: "2012-12-04 12:09:00", name: "Administrator", admin: true, projects_limit: 10000, skype: "", linkedin: "", twitter: "", authentication_token: "tokentoekenteokteotkokekekek", theme_id: 1, bio: nil, failed_attempts: 0, locked_at: nil, extern_uid: nil, provider: nil, username: nil, can_create_group: true, can_create_team: true, state: "active", color_scheme_id: 1, notification_level: 1, password_expires_at: nil, created_by_id: nil>}):
app/views/team_members/_team_member.html.haml:6:in `_app_views_team_members__team_member_html_haml__3269303552489074289_41558680'
app/views/team_members/_team.html.haml:10:in `block (2 levels) in _app_views_team_members__team_html_haml___4511531753533670632_41165760'
app/views/team_members/_team.html.haml:9:in `each'
app/views/team_members/_team.html.haml:9:in `block in _app_views_team_members__team_html_haml___4511531753533670632_41165760'
app/views/team_members/_team.html.haml:2:in `each'
app/views/team_members/_team.html.haml:2:in `_app_views_team_members__team_html_haml___4511531753533670632_41165760'
app/views/team_members/index.html.haml:53:in `_app_views_team_members_index_html_haml___2013915863967736468_45493300'
Thank you for anyone who looks into this.