Project

General

Profile

db:migrate - Can't decypher salted passwords. This migrat... ยป dump_error.log

Anonymous, 2016-01-04 16:07

 
[qes@dev /usr/software/redmine]$ bundle exec rake db:migrate RAILS_ENV=production
/home/qes/.rvm/gems/ruby-2.2.1/gems/htmlentities-4.3.1/lib/htmlentities/mappings/expanded.rb:465: warning: duplicated key at line 466 ignored: "inodot"
== 20110902000000 CreateChangesetParents: reverting ===========================
-- drop_table(:changeset_parents)
-> 0.0027s
== 20110902000000 CreateChangesetParents: reverted (0.0030s) ==================

== 20110511000000 AddRepositoriesExtraInfo: reverting =========================
-- remove_column(:repositories, :extra_info)
-> 0.0134s
== 20110511000000 AddRepositoriesExtraInfo: reverted (0.0136s) ================

== 20110412065600 AddIssuesIsPrivate: reverting ===============================
-- remove_column(:issues, :is_private)
-> 0.2402s
== 20110412065600 AddIssuesIsPrivate: reverted (0.2403s) ======================

== 20110408103312 AddRolesIssuesVisibility: reverting =========================
-- remove_column(:roles, :issues_visibility)
-> 0.0099s
== 20110408103312 AddRolesIssuesVisibility: reverted (0.0101s) ================

== 20110401192910 AddIndexToUsersType: reverting ==============================
-- remove_index(:users, :type)
-> 0.0053s
== 20110401192910 AddIndexToUsersType: reverted (0.0056s) =====================

== 20110228000100 CopyRepositoriesLogEncoding: reverting ======================
== 20110228000100 CopyRepositoriesLogEncoding: reverted (0.0000s) =============

== 20110228000000 AddRepositoriesLogEncoding: reverting =======================
-- remove_column(:repositories, :log_encoding)
-> 0.0125s
== 20110228000000 AddRepositoriesLogEncoding: reverted (0.0126s) ==============

== 20110227125750 ChangeJournalDetailsValuesToText: reverting =================
-- change_column(:journal_details, :old_value, :string)
-> 0.0991s
-- change_column(:journal_details, :value, :string)
-> 0.0989s
== 20110227125750 ChangeJournalDetailsValuesToText: reverted (0.1983s) ========

== 20110226120132 ChangeAuthSourcesAccountPasswordLimit: reverting ============
-- change_column(:auth_sources, :account_password, :string, {:limit=>60, :default=>""})
-> 0.0173s
== 20110226120132 ChangeAuthSourcesAccountPasswordLimit: reverted (0.0175s) ===

== 20110226120112 ChangeRepositoriesPasswordLimit: reverting ==================
-- change_column(:repositories, :password, :string, {:limit=>60, :default=>""})
-> 0.0175s
== 20110226120112 ChangeRepositoriesPasswordLimit: reverted (0.0177s) =========

== 20110224000000 AddRepositoriesPathEncoding: reverting ======================
-- remove_column(:repositories, :path_encoding)
-> 0.0091s
== 20110224000000 AddRepositoriesPathEncoding: reverted (0.0093s) =============

== 20110223180953 SaltUserPasswords: reverting ================================
rake aborted!
StandardError: An error has occurred, all later migrations canceled:



Can't decypher salted passwords. This migration can not be rollback'ed.

/usr/software/redmine-3.2.0/db/migrate/20110223180953_salt_user_passwords.rb:11:in `down'
/home/qes/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.5/lib/active_record/migration.rb:577:in `down'
/home/qes/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.5/lib/active_record/migration.rb:611:in `exec_migration'
/home/qes/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.5/lib/active_record/migration.rb:592:in `block (2 levels) in migrate'
/home/qes/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.5/lib/active_record/migration.rb:591:in `block in migrate'
/home/qes/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:292:in `with_connection'
/home/qes/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.5/lib/active_record/migration.rb:590:in `migrate'
/home/qes/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.5/lib/active_record/migration.rb:768:in `migrate'
/home/qes/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.5/lib/active_record/migration.rb:998:in `block in execute_migration_in_transaction'
/home/qes/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.5/lib/active_record/migration.rb:1046:in `ddl_transaction'
/home/qes/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.5/lib/active_record/migration.rb:997:in `execute_migration_in_transaction'
/home/qes/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.5/lib/active_record/migration.rb:959:in `block in migrate'
/home/qes/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.5/lib/active_record/migration.rb:955:in `each'
/home/qes/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.5/lib/active_record/migration.rb:955:in `migrate'
/home/qes/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.5/lib/active_record/migration.rb:830:in `down'
/home/qes/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.5/lib/active_record/migration.rb:805:in `migrate'
/home/qes/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.5/lib/active_record/tasks/database_tasks.rb:137:in `migrate'
/home/qes/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.5/lib/active_record/railties/databases.rake:44:in `block (2 levels) in <top (required)>'
ActiveRecord::IrreversibleMigration:

Can't decypher salted passwords. This migration can not be rollback'ed.

/usr/software/redmine-3.2.0/db/migrate/20110223180953_salt_user_passwords.rb:11:in `down'
/home/qes/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.5/lib/active_record/migration.rb:577:in `down'
/home/qes/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.5/lib/active_record/migration.rb:611:in `exec_migration'
/home/qes/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.5/lib/active_record/migration.rb:592:in `block (2 levels) in migrate'
/home/qes/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.5/lib/active_record/migration.rb:591:in `block in migrate'
/home/qes/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:292:in `with_connection'
/home/qes/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.5/lib/active_record/migration.rb:590:in `migrate'
/home/qes/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.5/lib/active_record/migration.rb:768:in `migrate'
/home/qes/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.5/lib/active_record/migration.rb:998:in `block in execute_migration_in_transaction'
/home/qes/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.5/lib/active_record/migration.rb:1046:in `ddl_transaction'
/home/qes/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.5/lib/active_record/migration.rb:997:in `execute_migration_in_transaction'
/home/qes/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.5/lib/active_record/migration.rb:959:in `block in migrate'
/home/qes/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.5/lib/active_record/migration.rb:955:in `each'
/home/qes/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.5/lib/active_record/migration.rb:955:in `migrate'
/home/qes/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.5/lib/active_record/migration.rb:830:in `down'
/home/qes/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.5/lib/active_record/migration.rb:805:in `migrate'
/home/qes/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.5/lib/active_record/tasks/database_tasks.rb:137:in `migrate'
/home/qes/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.5/lib/active_record/railties/databases.rake:44:in `block (2 levels) in <top (required)>'
Tasks: TOP => db:migrate
(See full trace by running task with --trace)
    (1-1/1)