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

Closed
Open
Created Mar 24, 2014 by Administrator@rootOwner

I'm getting 500 error on gitlab 6.6.5

Created by: ByungChoi

Hello,

Here are my component versions (manually installed 6-6-stable on Ubuntu 12.04); which is a fresh new version.

GitLab 6.6.5
GitLab Shell 1.8.0
GitLab API v3
Ruby 2.0.0p353
Rails 4.0.3 

and my log file

Started GET "/Byung/vue" for 111.222.333.444 at 2014-03-24 07:14:29 -0400
Processing by ProjectsController#show as HTML
  Parameters: {"id"=>"Byung/vue"}
  Rendered projects/_dropdown.html.haml (1.9ms)
  Rendered shared/_clone_panel.html.haml (0.3ms)
  Rendered projects/_home_panel.html.haml (4.9ms)
  Rendered events/_event_last_push.html.haml (8.0ms)
  Rendered shared/_event_filter.html.haml (0.7ms)
  Rendered projects/repositories/_download_archive.html.haml (1.8ms)
  Rendered projects/show.html.haml within layouts/projects (20.2ms)
Completed 500 Internal Server Error in 36ms

ActionView::Template::Error (undefined method `sha' for nil:NilClass):
    39:         = link_to project_compare_index_path(@project, from: @repository.root_ref, to: @ref || @repository.root_ref), class: 'btn btn-block' do
    40:           Compare code
    41: 
    42:         - if @repository.readme
    43:           - readme = @repository.readme
    44:           = link_to project_blob_path(@project, tree_join(@repository.root_ref, readme.name)), class: 'btn btn-block' do
    45:             = readme.name
  app/models/repository.rb:176:in `tree'
  app/models/repository.rb:166:in `block in readme'
  app/models/repository.rb:165:in `readme'
  app/views/projects/show.html.haml:42:in `_app_views_projects_show_html_haml__479534659__574694928'
  app/controllers/projects_controller.rb:73:in `block (2 levels) in show'
  app/controllers/projects_controller.rb:65:in `show'
  app/controllers/application_controller.rb:57:in `set_current_user_for_thread'

Any idea why it isnt working? please help

Assignee
Assign to
Time tracking