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

Closed
Open
Created Aug 26, 2013 by Administrator@rootOwner

Error 500 to create projects after update

Created by: gfelizola

I'm trying to update from 5.4 to 6.0 and when a run some migrations steps, I get this Ruby error.

The application runs ok, but when I try to create a new project, I get an error 500.

ActionView::Template::Error (undefined method `import_url' for #<Project:0x0000000736c8e0>):
40: = f.label :import_url do
41: %span Import existing repo
42: .controls
43: = f.text_field :import_url, class: 'input-xlarge', placeholder: 'https://github.com/randx/six.git'
44: .light
45: URL must be cloneable
46: .control-group
app/views/projects/new.html.haml:43:in `block in    _app_views_projects_new_html_haml__1327387234309586667_59552960'
app/views/projects/new.html.haml:8:in `_app_views_projects_new_html_haml__1327387234309586667_59552960'

When i run this: sudo -u git -H bundle exec rake migrate_global_projects RAILS_ENV=production I got the same error with the attr import_url.

And when I run: sudo -u git -H bundle exec rake migrate_keys RAILS_ENV=production I get that: undefined method 'fingerprint=' for #<Key:0x000000072c2b60>

Assignee
Assign to
Time tracking