Project

General

Profile

Actions

Defect #19174

open

db migrate error from old version to 2.6

Added by Jasen Burkett almost 10 years ago. Updated almost 10 years ago.

Status:
Needs feedback
Priority:
Normal
Category:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

I did the typical mysqldump to get all the data from an existing (VERY OLD) redmine install that is being used.

I sucessfully imported the old data into a new redmine (newest version) clean install on a different server.

However now when I go to the page redmine.ardemgaz.com it no longer works (redmine is broke).

In the production.log file I am getting this error everytime I go to the page.
Started GET "/" for 10.2.2.67 at 2015-02-24 21:55:23 +0000
Processing by WelcomeController#index as HTML
Current user: anonymous
Completed 500 Internal Server Error in 2.7ms

NoMethodError (undefined method `passwd_changed_on' for #<AnonymousUser:0x00000005ed6520>):
app/controllers/application_controller.rb:150:in `force_logout_if_password_changed'

When I imported the new data, I have not been able to do the following:
rake db:migrate RAILS_ENV=production

because I get an error... here is the first part of that error....

rake aborted!
StandardError: An error has occurred, all later migrations canceled:

undefined method `inherit_members_changed?' for #<Project:0x000000032977c0>/var/lib/gems/1.9.1/gems/activemodel-3.2.21/lib/active_model/attribute_methods.rb:407:in `method_missing'
/var/lib/gems/1.9.1/gems/activerecord-3.2.21/lib/active_record/attribute_methods.rb:149:in `method_missing'

I seriously need some help here.

Thank you in advance


Related issues

Related to Redmine - Defect #36766: Database migration from Redmine 0.8.7 or earlier failsClosedGo MAEDA

Actions
Actions

Also available in: Atom PDF