Project

General

Profile

Error 500 after scrum installation

Added by Gostas Muffin over 8 years ago

I've faced an issue on production redmine after Scrum plugin installation. New issues can not be opened in all project, redmine return 500 error:
@Internal error

An error occurred on the page you were trying to access.
If you continue to experience problems please contact your Redmine administrator for assistance.

If you are the Redmine administrator, check your log files for details about the error.

Back@

@Completed 200 OK in 154ms (Views: 45.1ms | ActiveRecord: 22.4ms)
Started GET "/projects/f-st-1704-rt/issues/new" for xx.xx.xx.xx at 2016-07-31 22:23:36 +0300
Processing by IssuesController#new as HTML
Parameters: {"project_id"=>"f-st-1704-rt"}
Current user: user100 (id=1)
Completed 500 Internal Server Error in 34ms (ActiveRecord: 17.6ms)

ActiveModel::MissingAttributeError (can't write unknown attribute `sprint_id`):
plugins/scrum/lib/scrum/issues_controller_patch.rb:33:in `add_default_sprint'
lib/redmine/sudo_mode.rb:63:in `sudo_mode'
@

Looking forward for comments... Otherwise have to revert database from backup


Replies (3)

RE: Error 500 after scrum installation - Added by Emilio González Montaña over 8 years ago

Did you migrate plugin DB? Did you rename the plugin folder after uncompressing? Check WIKI instructions.

RE: Error 500 after scrum installation - Added by Gostas Muffin over 8 years ago

Well, I've found a cure:

rake redmine:plugins:migrate NAME=scrum VERSION=0 RAILS_ENV=production
rm /plugin/scrum
bundle exec rake RAILS_ENV=production redmine:plugins:migrate
service apache restart

RE: Error 500 after scrum installation - Added by Gostas Muffin over 8 years ago

Emilio, thanks for your input. I'll try to install plugin in on development version :) I was confident that plugin will be installed smoothly.
I used steps from wiki, nevertheless I got an issue

    (1-3/3)