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

Closed
Open
Created Jul 14, 2014 by Administrator@rootOwner

500 error after deleting a git tag

Created by: tkislan

After deleting a git tag, I can't open listing of tags anymore, but only for that one project Im getting 500 from the server, I have already tried to restart whole gitlab, but didn't help

Started GET "/tkislan/oci-wrapper/tags" for 10.215.190.97 at 2014-07-14 08:43:18 +0200
Processing by Projects::TagsController#index as HTML
  Parameters: {"project_id"=>"tkislan/oci-wrapper"}
Completed 500 Internal Server Error in 104ms

ActionView::Template::Error (undefined method `target' for nil:NilClass):
    1: - commit = @repository.commit(tag.target)
    2: %li
    3:   %h4
    4:     = link_to project_commits_path(@project, tag.name), class: "" do
  app/views/projects/tags/_tag.html.haml:1:in `_app_views_projects_tags__tag_html_haml___2956565841696397775_70160726959720'
  app/views/projects/tags/index.html.haml:16:in `block in _app_views_projects_tags_index_html_haml__3003530402281477617_70160726581380'
  app/views/projects/tags/index.html.haml:15:in `each'
  app/views/projects/tags/index.html.haml:15:in `_app_views_projects_tags_index_html_haml__3003530402281477617_70160726581380'
  app/controllers/application_controller.rb:59:in `set_current_user_for_thread'

Gitlab instance info

[git@gold gitlab]$ bundle exec rake gitlab:env:info RAILS_ENV=production

System information
System:     
Current User:   git
Using RVM:  no
Ruby Version:   2.0.0p247
Gem Version:    2.0.3
Bundler Version:1.3.5
Rake Version:   10.1.1
Sidekiq Version:2.17.0

GitLab information
Version:    6.8.1
Revision:   3197990
Directory:  /home/git/gitlab
DB Adapter: mysql2
URL:        http://gold:7000
HTTP Clone URL: http://gold:7000/some-project.git
SSH Clone URL:  git@gold:some-project.git
Using LDAP: no
Using Omniauth: no

GitLab Shell
Version:    1.9.3
Repositories:   /home/git/repositories/
Hooks:      /home/git/gitlab-shell/hooks/
Git:        /usr/local/bin/git
Assignee
Assign to
Time tracking