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

Closed
Open
Created Nov 26, 2015 by Administrator@rootOwner

500 error when accessing PROJECTS tab in user details view

Created by: simkin

Whenever I access the admin view PROJECT tab in a user details page a 500 error is returned with the following error in the production.log: ("/admin/users/username/projects" )

Started GET "/admin/users/username/projects" for nnn.nnn.nnn.nnn at 2015-11-26 12:03:11 +0100
Processing by Admin::UsersController#projects as HTML
Parameters: {"id"=>"username"}
Completed 500 Internal Server Error in 129ms (ActiveRecord: 8.0ms)
ActionView::Template::Error (Missing partial users/_projects with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :haml]}. Searched in:
* "/home/git/gitlab/app/views"
* "/home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/kaminari-0.16.3/app/views"
* "/home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/doorkeeper-2.1.4/app/views"
* "/home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/devise-3.5.2/app/views"
):
14: .row
15: .col-md-6
16: - if @personal_projects.present?
17: = render 'users/projects', projects: @personal_projects
18: - else
19: .nothing-here-block This user has no personal projects.
20:
app/views/admin/users/projects.html.haml:17:in `_app_views_admin_users_projects_html_haml__1541713703695062323_69965629437540

Steps (as administrator):

  • Select username which has personal projects
  • Select PROJECTS tab = 500 error
Assignee
Assign to
Time tracking