Project

General

Profile

error 500 page on 'move' issue from one project to another

Added by Jack Black about 12 years ago

I am quite a noobie, so please bear with me:

On moving an issue from one project to another, I get error page 500. Here is what the log shows:
------------------
Processing IssueMovesController#create (for 96.44.161.204 at 2012-04-17 16:58:06) [POST]
Parameters: {"start_date"=>"", "new_tracker_id"=>"", "commit"=>"Move", "ids"=>["66"], "new_project_id"=>"10", "priority_id"=>"", "notes"=>"attempt to move.", "action"=>"create", "authenticity_token"=>"TebM5zNIRxVx2RvirJVOYQierwbFHsvhTTY+85Fn0uw=", "assigned_to_id"=>"", "due_date"=>"", "controller"=>"issue_moves", "status_id"=>""}

NoMethodError (undefined method `[]' for nil:NilClass):
app/controllers/issue_moves_controller.rb:48:in `create'
config/initializers/mongrel_fix.rb:62:in `dispatch_cgi'

Rendering /opt/bitnami/apps/redmine/public/500.html (500 Internal Server Error)


I tried running the RAILS_ENV=YOUR_ENVIRONMENT script/about command but I am using bitnami and a got a bunch of gunk instead; likely my noobieness didn't help me running the command either.

The move command has always given this error, even before the upgrade to the latest redmine. Even so, it does successfully move the issue to the correct project and all is golden otherwise. It happens on either move or move and follow.

Thanks for any help.


Replies (2)

RE: error 500 page on 'move' issue from one project to another - Added by L X about 12 years ago

I'm also a little out of my element and trying to troubleshoot a 500 error (in a different circumstance).

Here's the command that worked for me to get the environment info for my Bitnami installation:

RAILS_ENV=production /opt/redmine-1.3.2-1/apps/redmine/script/about

You'd change redmine-1.3.2-1 to correspond to the path for whatever version you have installed.

HTH

RE: error 500 page on 'move' issue from one project to another - Added by Jack Black about 12 years ago

suweet...thanks:)

----------------my environment info-------
About your application's environment
Ruby version 1.8.7 (i686-linux)
RubyGems version 1.6.2
Rack version 1.1
Rails version 2.3.14
Active Record version 2.3.14
Active Resource version 2.3.14
Action Mailer version 2.3.14
Active Support version 2.3.14
Edge Rails revision unknown
Application root /opt/bitnami/apps/redmine
Environment production
Database adapter mysql
Database schema version 20110902000000

About your Redmine plugins
Redmine Startpage plugin 0.0.2
Redmine Whining plugin 0.0.4
Redmine Light Box plugin 0.0.1
CRM plugin 2.2.2
Shunyata Workflow 0.0.6
Redmine Contacts Google Sync plugin 0.0.1
Author box 0.0.3
Advanced reminder 0.0.1
Redmine Local Avatars plugin 0.1.1
Redmine Auto Assigned User plugin 0.0.1

    (1-2/2)