Dmitriy Zaporozhets <dmitriy.zaporozhets@...> writes:
>
>
> And try ruby 2.0.0-p353On Thursday, March 6, 2014 11:12:00 AM UTC+2,
Dmitriy Zaporozhets wrote:Can you try downgrade git to version 1.8.x on
GitLab server? On Monday, March 3, 2014 1:48:16 PM UTC+2, s4nathan1 wrote: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.logStarted GET
"/snathan/test1-project" for 127.0.0.1 at 2014-03-03 05:27:08
-0600Processing 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 51msActionView::Template::Error (undefined method
`sha' for nil:NilClass): 39: = link_to
project_compare_index_path( <at> project, from: <at> repository.root_ref,
to: <at> ref || <at> repository.root_ref), class: 'btn btn-block' do
40: Compare code 41: 42: - if <at>
repository.readme 43: - readme = <at> repository.readme
44: = link_to project_blob_path( <at> project, tree_join( <at>
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'
>
>
>
>
>
>
Same problem.
System information
System: CentOS release 6.5 (Final)
Current User: git
Using RVM: no
Ruby Version: 2.0.0p353
Gem Version: 2.0.14
Bundler Version:1.5.3
Rake Version: 10.1.1
GitLab information
Version: 6.6.5
Revision: ad5e5b5
Using LDAP: yes
Using Omniauth: no
git --version
git version 1.8.3.1
Started GET "/assets/icon-search.png" for 127.0.0.1 at 2014-03-06 15:46:46 +0200
Started GET "/ktysyachnyi/bms" for 127.0.0.1 at 2014-03-06 15:46:51 +0200
Processing by ProjectsController#show as HTML
Parameters: {"id"=>"ktysyachnyi/bms"}
Rendered projects/_dropdown.html.haml (2.0ms)
Rendered shared/_clone_panel.html.haml (0.3ms)
Rendered projects/_home_panel.html.haml (4.8ms)
Rendered events/_event_last_push.html.haml (0.0ms)
Rendered shared/_event_filter.html.haml (0.7ms)
Rendered projects/repositories/_download_archive.html.haml (1.2ms)
Rendered projects/show.html.haml within layouts/projects (12.7ms)
Completed 500 Internal Server Error in 44ms
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__1528073288845177093_69964241051000'
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.