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

Closed
Open
Created Aug 27, 2013 by Administrator@rootOwner

Error 500 to use SSH Keys after upgrading 5.4 to 6.0

Created by: lirobot

Followed the 5.4-to-6.0.md, upgraded from 5.4 to 6.0.

The app run ok everthing but when I want click SSH Keys ,I get an error 500.。

The production.log show

Started GET "/profile/keys" for 127.0.0.1 at 2013-08-27 16:03:46 +0800
Processing by Profiles::KeysController#index as HTML
Rendered profiles/keys/_key.html.haml (5.0ms)
Rendered profiles/keys/index.html.haml within layouts/profile (11.6ms)
Completed 500 Internal Server Error in 160ms
ActionView::Template::Error (undefined method `fingerprint' for #<Key:0x007f8eb07b3c70>):
2: = link_to profile_key_path(key) do
3: %strong= key.title
4: %span
5: (#{key.fingerprint})
6: %span.cgray
7: added
8: = time_ago_in_words(key.created_at)
app/views/profiles/keys/_key.html.haml:5:in     `_app_views_profiles_keys__key_html_haml___4024179867885560681_70125369186020'
app/views/profiles/keys/index.html.haml:17:in   `_app_views_profiles_keys_index_html_haml__3826984651455600657_70125368807200'

And when I run: sudo -u git -H bundle exec rake migrate_keys RAILS_ENV=production

I also get

rake aborted!
undefined method `fingerprint=' for #<Key:0x007f1a2231dcb8>

Looking forward to your reply。

Assignee
Assign to
Time tracking