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>