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

Closed
Open
Created Feb 22, 2014 by Administrator@rootOwner

[6.6.0] 500 when adding a new tag

Created by: fengkaijia

I got 500 errors when adding a new tag:

Started GET "/***/***/tags/new" for ***.***.***.*** at 2014-02-22 17:02:06 +0800
Processing by Projects::TagsController#new as HTML
  Parameters: {"project_id"=>"***/***"}
  Rendered projects/tags/new.html.haml within layouts/projects (7.2ms)
  Rendered layouts/_head.html.haml (3.3ms)
  Rendered layouts/_broadcast.html.haml (30.7ms)
  Rendered layouts/_search.html.haml (9.8ms)
  Rendered layouts/_head_panel.html.haml (30.0ms)
  Rendered layouts/_init_auto_complete.html.haml (1.0ms)
  Rendered layouts/_flash.html.haml (0.3ms)
  Rendered shared/_no_ssh.html.haml (2.6ms)
  Rendered layouts/nav/_project.html.haml (32.3ms)
Completed 200 OK in 285ms (Views: 89.3ms | ActiveRecord: 73.8ms)
Started POST "/***/***/tags" for ***.***.***.*** at 2014-02-22 17:05:29 +0800
Processing by Projects::TagsController#create as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"******", "tag_name"=>"v1.6.4", "ref"=>"master", "project_id"=>"***/***"}
Completed 500 Internal Server Error in 2106ms

NoMethodError (undefined method `commit' for #<Gitlab::Git::Tag:0x00000008c1b120>):
  app/models/event.rb:61:in `create_ref_event'
  app/controllers/projects/tags_controller.rb:18:in `create'
  app/controllers/application_controller.rb:57:in `set_current_user_for_thread'
Assignee
Assign to
Time tracking