Project

General

Profile

500 error after db migration

Added by Ross Laird over 14 years ago

I have migrated a mysql database from one instance of redmine to another. On the destination instance, I can see all the migrated projects and data but I cannot login or change anything. Options such as "New Issue" are not shown. When I try to login or do pretty much anything that would require the database to be modified, I get this:

 Status: 500 Internal Server Error
  undefined method `rewind' for #<UNIXSocket:0x2aaaafe32ea0>
    /home/rosslaird/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/request.rb:142:in `P$
    /home/rosslaird/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/methodoverride.rb:15$
    /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/params_p$
    /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/$
    /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/failsafe$
    /home/rosslaird/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `call'
    /home/rosslaird/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `synch$
    /home/rosslaird/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `call'

I have tried the suggested fix in Defect 4740 without success. Feedback and suggestions are most welcome. It seems this is not a common problem.