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

Closed
Open
Created 12 years ago by Administrator@rootOwner
  • New issue

  • Report abuse

  • New issue

  • Report abuse

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:ineach' 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

Linked issues
...

    Related merge requests

    • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
    Please register or sign in to reply
    0 Assignees
    Assign to
    Milestone
    No milestone
    None
    None
    Time tracking
    Due date
    None
    None
    0
    Labels
    None
    Assign labels
    • No matching results
    • Manage project labels
    Confidentiality
    Not confidential

    You are going to turn on confidentiality. Only team members with at least Reporter access will be able to see and leave comments on the issue.

    Lock issue
    Unlocked
    participants
    Reference: