Project

General

Profile

Upgrade Issue: Can't decypher salted passwords

Added by Joe Schrag over 5 years ago

Hi,

I'm trying to upgrade Redmine 1.3.2 to 1.4.7 and then on to 2.6.10. I am able to move everything over & fire up the 1.4.7 install without issue. Next, I need to uninstall a couple plugins because they are not compatible with 2.X. I've done a dry run of this before without issue. However, this time when I run the following:

rake db:migrate NAME=redmine_scrumbler VERSION=0 RAILS_ENV=production

I get this error:
rake aborted!
An error has occurred, all later migrations canceled:
Can't decypher salted passwords. This migration can not be rollback'ed.

Google has precious little to say about this error. Can anyone shed some light?


Replies (1)

RE: Upgrade Issue: Can't decypher salted passwords - Added by Go MAEDA over 5 years ago

You rollbacked tables of Redmine, not plugins. Maybe some data in your Redmine was lost.

After performing upgrading work again or restoring the database, run the following command. Please note that you must use "redmine:plugins:migrate" instead of "db:migrate".

rake redmine:plugins:migrate NAME=redmine_scrumbler VERSION=0 RAILS_ENV=production
    (1-1/1)