I have a fresh install of GitLab on:
- Ubuntu Precise Pangolin LTR 12.04
- GitLab Version: 6.6.4 42e34ae
- ruby 2.1.1p76 (2014-02-24 revision 45161) [x86_64-linux]
- git version 1.9.0
- mysql Ver 14.14 Distrib 5.5.35, for debian-linux-gnu (x86_64) using
readline 6.2
After creating project I follow the steps outline on the project page to
touch and commit a README file.
Once I compete that activity and go back to the project page, this time
around the project page throws Internal Server Error 500.
*Below is the error log on ./gitlab/log/production.log*
Started GET "/snathan/test1-project" for 127.0.0.1 at 2014-03-03 05:27:08
-0600
Processing by ProjectsController#show as HTML
Parameters: {"id"=>"snathan/test1-project"}
Rendered projects/_dropdown.html.haml (2.7ms)
Rendered shared/_clone_panel.html.haml (0.5ms)
Rendered projects/_home_panel.html.haml (8.0ms)
Rendered events/_event_last_push.html.haml (0.1ms)
Rendered shared/_event_filter.html.haml (1.1ms)
Rendered projects/repositories/_download_archive.html.haml (1.8ms)
Rendered projects/show.html.haml within layouts/projects (17.8ms)
Completed 500 Internal Server Error in 51ms
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__874898003859501082_70169288675940'
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'
--
You received this message because you are subscribed to the Google Groups
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.