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

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

  • Report abuse

  • New issue

  • Report abuse

HTTP 500 on file edit

Closed

HTTP 500 on file edit

Created by: abrgitlab

I've got this, when I tried to edit any file in my project

Started GET "/project/edit/master/index.php" for  at 2013-07-26 11:50:35 +0400
Processing by EditTreeController#show as HTML
  Parameters: {"project_id"=>"project", "id"=>"master/index.php"}
Completed 500 Internal Server Error in 128ms

NoMethodError (undefined method `sha' for nil:NilClass):
  app/controllers/edit_tree_controller.rb:13:in `show''

Gitlab 5.4

Linked issues
...

    Related merge requests

    • Administrator
      Administrator @root · 11 years ago
      Owner

      Created by: Razer6

      Do the satellites exist?

      By Administrator on 2013-07-26T07:57:01 (imported from GitLab project)

    • Administrator
      Administrator @root · 11 years ago
      Owner

      Created by: abrgitlab

      No, there're no satellites for any project

      By Administrator on 2013-07-26T08:06:03 (imported from GitLab project)

    • Administrator
      Administrator @root · 11 years ago
      Owner

      Created by: Razer6

      That's why editing in the web fails. sudo -u git bundle exec rake gitlab:satellites:create RAILS_ENV=production

      By Administrator on 2013-07-26T08:26:37 (imported from GitLab project)

    • Administrator
      Administrator @root · 11 years ago
      Owner

      Created by: abrgitlab

      # sudo -u git bundle exec rake gitlab:satellites:create RAILS_ENV=production
      (in /home/git/gitlab)
      Creating satellites for ...
      project ... 
      ... created
      Alexandr / testGit ... 
      ... created
      # /etc/init.d/gitlab restart

      Anyway :(

      Started GET "/project/edit/master/index.php" for  at 2013-07-26 12:47:35 +0400
      Processing by EditTreeController#show as HTML
        Parameters: {"project_id"=>"project", "id"=>"master/index.php"}
      Completed 500 Internal Server Error in 503ms
      
      NoMethodError (undefined method `sha' for nil:NilClass):
        app/controllers/edit_tree_controller.rb:13:in `show'

      By Administrator on 2013-07-26T08:50:04 (imported from GitLab project)

    • Administrator
      Administrator @root · 11 years ago
      Owner

      Created by: jacobvosmaer

      Looks like a duplicate of #4474 (closed). Would you agree @abrgitlab?

      By Administrator on 2013-07-26T14:19:28 (imported from GitLab project)

    • Administrator
      Administrator @root · 11 years ago
      Owner

      Created by: abrgitlab

      Really, that's it. Thanks!

      By Administrator on 2013-07-26T14:53:57 (imported from GitLab project)

    • 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: