ich versuche OTRS von 5.0.18 auf die Version 6.0.30 zu migrieren.
Ich bin dafür der Anleitung https://doc.znuny.org/doc/manual/admin/ ... ating.html gefolgt.
Nun bin ich bei dem Punkt angekommen, an dem das Migrationsskript ausgeführt werden soll.
Dabei bekomme ich bei Step 31 (Post changes on article related tables) einen Fehler:
Code: Select all
[Wed Jun 1 09:11:45 2022] DBUpdate-to-6.pl: DBD::mysql::db do failed: Cannot delete or update a parent row: a foreign key constraint fails at /opt/otrs-6.0.30/Kernel/System/DB.pm line 470.
ERROR: OTRS-otrs.Console.pl-Dev::Code::CPANAudit-10 Perl: 5.16.3 OS: linux Time: Wed Jun 1 07:11:45 2022
Message: Cannot delete or update a parent row: a foreign key constraint fails, SQL: 'DROP TABLE IF EXISTS article_type'
Traceback (11200):
Module: scripts::DBUpdateTo6::Base::ExecuteXMLDBString Line: 394
Module: scripts::DBUpdateTo6::Base::ExecuteXMLDBArray Line: 342
Module: scripts::DBUpdateTo6::PostArticleTableStructureChanges::_DropArticleTypeTable Line: 433
Module: scripts::DBUpdateTo6::PostArticleTableStructureChanges::Run Line: 72
Module: scripts::DBUpdateTo6::_ExecuteComponent Line: 157
Module: scripts::DBUpdateTo6::Run Line: 69
Module: /opt/otrs/scripts/DBUpdate-to-6.pl Line: 87
ERROR: OTRS-otrs.Console.pl-Dev::Code::CPANAudit-10 Perl: 5.16.3 OS: linux Time: Wed Jun 1 07:11:45 2022
Message: Error during execution of 'DROP TABLE IF EXISTS article_type'!
Traceback (11200):
Module: scripts::DBUpdateTo6::Base::ExecuteXMLDBString Line: 397
Module: scripts::DBUpdateTo6::Base::ExecuteXMLDBArray Line: 342
Module: scripts::DBUpdateTo6::PostArticleTableStructureChanges::_DropArticleTypeTable Line: 433
Module: scripts::DBUpdateTo6::PostArticleTableStructureChanges::Run Line: 72
Module: scripts::DBUpdateTo6::_ExecuteComponent Line: 157
Module: scripts::DBUpdateTo6::Run Line: 69
Module: /opt/otrs/scripts/DBUpdate-to-6.pl Line: 87
Danke und Grüße!