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

Closed
Open
Created Nov 11, 2013 by Administrator@rootOwner

[6.2] Error 500 on admin page

Created by: harryxu

I upgraded gitlab to 6.2 and the admin page not woking.

in production.log:

Started GET "/admin" for 127.0.0.1 at 2013-11-12 02:15:01 +0800
Processing by Admin::DashboardController#index as HTML
  Rendered admin/dashboard/index.html.haml within layouts/admin (470.4ms)
Completed 500 Internal Server Error in 807ms

ActionView::Template::Error (undefined method `path' for nil:NilClass):
    35:     %hr
    36:     - @projects.each do |project|
    37:       %p
    38:         = link_to project.name_with_namespace, [:admin, project]
    39:         %span.light.pull-right
    40:           = time_ago_in_words project.created_at
    41:           ago
  app/models/project.rb:170:in `to_param'
  app/views/admin/dashboard/index.html.haml:38:in `block in _app_views_admin_dashboard_index_html_haml___2773604940867557025_42277980'
  app/views/admin/dashboard/index.html.haml:36:in `_app_views_admin_dashboard_index_html_haml___2773604940867557025_42277980'
  app/controllers/application_controller.rb:54:in `set_current_user_for_thread'


Started GET "/admin" for 127.0.0.1 at 2013-11-12 02:15:02 +0800
Processing by Admin::DashboardController#index as HTML
  Rendered admin/dashboard/index.html.haml within layouts/admin (417.4ms)
Completed 500 Internal Server Error in 742ms

ActionView::Template::Error (undefined method `path' for nil:NilClass):
    35:     %hr
    36:     - @projects.each do |project|
    37:       %p
    38:         = link_to project.name_with_namespace, [:admin, project]
    39:         %span.light.pull-right
    40:           = time_ago_in_words project.created_at
    41:           ago
  app/models/project.rb:170:in `to_param'
  app/views/admin/dashboard/index.html.haml:38:in `block in _app_views_admin_dashboard_index_html_haml___2773604940867557025_42330360'
  app/views/admin/dashboard/index.html.haml:36:in `_app_views_admin_dashboard_index_html_haml___2773604940867557025_42330360'
  app/controllers/application_controller.rb:54:in `set_current_user_for_thread'
Assignee
Assign to
Time tracking