Getting error 500 after 4.1 -> 5.0
Closed
Getting error 500 after 4.1 -> 5.0
Created by: ivlis
I have just upgrated gitlab to version 5.0. For some time it works fine, but now I'm getting error 500 on commit view and just a white screen on file. Here is teh log:
Started GET "/ire/mst/commit/6177d432abfccbac1dd42f11b7ee0ace2394629b" for 127.0.0.1 at 2013-04-12 11:48:35 +0200 Processing by CommitController#show as HTML Parameters: {"project_id"=>"ire/mst", "id"=>"6177d432abfccbac1dd42f11b7ee0ace2394629b"} Rendered commits/_commit_box.html.haml (77.9ms) Rendered commits/_diff_head.html.haml (2.9ms) Rendered commits/_diffs.html.haml (69.2ms) Rendered commit/show.html.haml within layouts/project_resource (314.7ms) Completed 500 Internal Server Error in 1061ms
ActionView::Template::Error (could not find any magic files!):
40: .content
41: -# Skipp all non non-supported blobs
42: - next unless file.respond_to?('text?')
43: - if file.text?
44: = render "commits/text_file", diff: diff, index: i
45: - elsif file.image?
46: - old_file = (@commit.prev_commit.tree / diff.old_path) if !@commit.prev_commit.nil?
app/views/commits/_diffs.html.haml:43:in block in _app_views_commits__diffs_html_haml___182915384335641005_39029980' app/views/commits/_diffs.html.haml:17:in
each'
app/views/commits/_diffs.html.haml:17:in each_with_index' app/views/commits/_diffs.html.haml:17:in
_app_views_commits__diffs_html_haml___182915384335641005_39029980'
app/views/commit/show.html.haml:9:in `_app_views_commit_show_html_haml___2105246094395988631_38778820'
How to fix it? I have regenated gitlab-sattelites, it doesn't help.
Thanks in advance