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

Closed
Open
Created Dec 27, 2012 by Administrator@rootOwner

500 error encountered when browsing files

Created by: tildaslashams

I just upgraded my Gitlab instance from 3.1 to 4-0-stable , when I browse any code file I get 500 error and here is the log :

Completed 500 Internal Server Error in 120ms

ActionView::Template::Error (Failed to get header.):
    9:   .file_content.code
    10:     - unless blob.empty?
    11:       %div{class: user_color_scheme_class}
    12:         = raw blob.colorize(formatter: :gitlab)
    13:     - else
    14:       %p.nothing_here_message Empty file
  app/models/tree.rb:5:in `colorize'
  app/views/tree/blob/_text.html.haml:12:in `_app_views_tree_blob__text_html_haml__857522388875419420_55507340'
  app/views/tree/_blob.html.haml:9:in `_app_views_tree__blob_html_haml___2533693189977314418_55458360'
  app/views/tree/_tree.html.haml:15:in `_app_views_tree__tree_html_haml___1664782134279665212_55472320'
  app/views/tree/show.js.haml:3:in `_app_views_tree_show_js_haml__4569430623983790506_55381760'

}
Assignee
Assign to
Time tracking