Bug #385
closedMigration Error while upgrading from 4.3.1 to 4.4
0%
Description
Error:
2021-11-22 13:56:57 stdout Tasks: TOP => redmine:plugins:migrate
2021-11-22 13:56:57 stdout /home/redmine/data/tmp/bundle/ruby/2.6.0/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'
2021-11-22 13:56:57 stdout /home/redmine/redmine/lib/tasks/redmine.rake:135:in `block (3 levels) in <top (required)>'
2021-11-22 13:56:57 stdout /home/redmine/redmine/lib/redmine/plugin.rb:528:in `migrate'
2021-11-22 13:56:57 stdout /home/redmine/redmine/lib/redmine/plugin.rb:528:in `each'
2021-11-22 13:56:57 stdout /home/redmine/redmine/lib/redmine/plugin.rb:529:in `block in migrate'
2021-11-22 13:56:57 stdout /home/redmine/redmine/lib/redmine/plugin.rb:515:in `migrate'
2021-11-22 13:56:57 stdout /home/redmine/redmine/lib/redmine/plugin.rb:574:in `migrate_plugin'
2021-11-22 13:56:57 stdout /home/redmine/data/tmp/bundle/ruby/2.6.0/gems/activerecord-5.2.6/lib/active_record/migration.rb:1011:in `migrate'
2021-11-22 13:56:57 stdout /home/redmine/redmine/lib/redmine/plugin.rb:542:in `up'
2021-11-22 13:56:57 stdout /home/redmine/redmine/lib/redmine/plugin.rb:542:in `new'
2021-11-22 13:56:57 stdout /home/redmine/data/tmp/bundle/ruby/2.6.0/gems/activerecord-5.2.6/lib/active_record/migration.rb:1185:in `initialize'
2021-11-22 13:56:57 stdout /home/redmine/data/tmp/bundle/ruby/2.6.0/gems/activerecord-5.2.6/lib/active_record/migration.rb:1316:in `validate'
2021-11-22 13:56:57 stdout
2021-11-22 13:56:57 stdout Multiple migrations have the name CreateWkMaterialEntrySn.
2021-11-22 13:56:57 stdout
2021-11-22 13:56:57 stdout ActiveRecord::DuplicateMigrationNameError:
2021-11-22 13:56:57 stdout rake aborted!