Defect #17383

how can i upgrade redmine 1.3.1 to 2.5.1

Added by lee min about 8 years ago. Updated about 8 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:


Target version:-
Resolution:Invalid Affected version:


I tried upgrade my redmine server from 1.3.1 to 2.5.1,but it faild
I dump the data from my redmine 1.3.1 server ,and then insert the data to my redmine 2.5.1 server
I use apache to run redmine 2.5.1,it can be access,but can not login,the error message like bellow

Completed 500 Internal Server Error in 23.2ms
NoMethodError (undefined method `must_change_passwd?' for #<User:0x2545d524>):
app/models/user.rb:291:in `must_change_password?'
app/controllers/application_controller.rb:91:in `start_user_session'
app/controllers/application_controller.rb:168:in `logged_user='
app/controllers/account_controller.rb:253:in `successful_authentication'
app/controllers/account_controller.rb:200:in `password_authentication'
app/controllers/account_controller.rb:186:in `authenticate_user'
app/controllers/account_controller.rb:40:in `login'
before i insert the data,i have migrate the db

I want to know whether remine 1.3.1 can be upgrate to 2.5.1?


#1 Updated by Toshi MARUYAMA about 8 years ago

  • Status changed from New to Closed
  • Resolution set to Invalid

You need to run "rake db:migrate".

Also available in: Atom PDF