Project

General

Profile

Actions

Bug #385

closed

Migration Error while upgrading from 4.3.1 to 4.4

Added by Carsten Stanusch over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
11/22/2021
Due date:
% Done:

0%

Estimated time:

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!

Actions #1

Updated by Carsten Stanusch over 2 years ago

Hi there,
I experimented a bit and finally reset and re-migrated the Dockerfile ... now it's running :)
Issue can be closed.

Actions #2

Updated by amutha a over 2 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF