Internal Error 500 - Missing 'ir_possition' in 'field list'
Added by Adam Minski about 11 years ago
Hi guys,
I've the same problem as described here: http://www.redmine.org/boards/2/topics/32758
Althought it's already 2 years old - I've used the newest version of AgilDwarf from here https://github.com/iRessources/AgileDwarf
Here's the output of the about script:
Environment:
  Redmine version                2.5.1.stable
  Ruby version                   1.8.7-p352 (2011-06-30) [x86_64-linux]
  Rails version                  3.2.17
  Environment                    production
  Database adapter               Mysql2
SCM:
  Subversion                     1.6.11
  Git                            1.7.1
  Filesystem                     
Redmine plugins:
  AgileDwarf                     0.0.3
Here's the log from redmine/log/production.log
Processing by ProjectsController#create as HTML
  Parameters: {"project"=>{"name"=>"test2", "identifier"=>"test2", "enabled_module_names"=>["scrum", ""], "tracker_ids"=>["4", ""], "homepage"=>"", "inherit_members"=>"0", "description"=>"", "is_public"=>"1", "parent_id"=>""}, "commit"=>"Anlegen", "authenticity_token"=>"Gppb5dLG3fPtYgItw90f52E/ADWZtlC+L+79WpdX7u0=", "utf8"=>"✓"}
  Current user: admin (id=1)
Completed 500 Internal Server Error in 209.7ms
ActiveRecord::StatementInvalid (Mysql2::Error: Unknown column 'ir_position' in 'field list': select max(ir_position) from issues where project_id =  31):
  app/controllers/projects_controller.rb:83:in `create'
Replies (1)
    
    RE: Internal Error 500 - Missing 'ir_possition' in 'field list'
    -
    Added by Elsen Liu about 11 years ago
  
  Hi Adam Minski,
I have met the same problem with you.
Agile Dwraf told us to type the command "rake red mine:plugins:migrate". But it is two year ago and doesn't work now.
Here is the right way to install a plugin "rake redmine:plugins:migrate RAILS_ENV=production"
You could check it in http://www.redmine.org/projects/redmine/wiki/Plugins
Hope this will help you.
BR, Elsen