Hallo,
ich habe hier auf Ubuntu 14.04.3 LTS die aktuelle Versoin OTRS 4 Patchlevel 11 (MySQL 5.5.44-0 ubuntu 0.14.04.1) im Einsatz. Das produktive System läuft stabil und zuverlässig ohne Probleme.
Um mir mal im Vorfeld die Version 5 von OTRS an zu schauen habe ich versucht das ganze gemäß Installationsleitfaden http://otrs.github.io/doc/manual/admin/ ... ading.html zu installieren. Natürlich habe ich das in einem getrennten Netzwerk auf einem wiederhergestellten Backup versucht.
Das Upgrade läuft so eigentlich ganz Problemlos bis zu Punkt "Step 6.1: Database schema update"
Beim Komando
Code: Select all
perl otrs.Console.pl Maint::Database::Check
Mit der kann ich im ersten Schritt schon nichts anfangen.otrs@BITVM28:~/bin$ perl otrs.Console.pl Maint::Database::Check
Trying to connect to database 'DBI:mysql:database=otrs;host=localhost;' with user 'otrs'...
[Thu Aug 20 15:49:15 2015] otrs.Console.pl: DBD::mysql::st execute failed: Table 'otrs.scheduler_task' doesn't exist at /opt/otrs-5.0.0.beta2/Kernel/System/DB.pm line 666.
ERROR: OTRS-otrs.Console.pl-Maint::Database::Check-10 Perl: 5.18.2 OS: linux Time: Thu Aug 20 15:49:15 2015
Message: Table 'otrs.scheduler_task' doesn't exist, SQL: 'SELECT * FROM scheduler_task LIMIT 1'
Traceback (6672):
Module: Kernel::System::Console::Command::Maint::Database::Check::Run Line: 52
Module: (eval) Line: 441
Module: Kernel::System::Console::BaseCommand::Execute Line: 435
Module: Kernel::System::Console::InterfaceConsole::Run Line: 86
Module: otrs.Console.pl Line: 38
Error: Connection was successful, but table scheduler_task is missing.
Wenn man das nächste Kommando
Code: Select all
cat DBUpdate-to-5.mysql.sql | mysql -p -f -u root otrs
Wenn ich jetzt im Anschluss erneut den Befehlroot@BITVM28:/opt/otrs/scripts# cat DBUpdate-to-5.mysql.sql | mysql -p -f -u root otrs
Enter password:
root@BITVM28:/opt/otrs/scripts#
Code: Select all
perl otrs.Console.pl Maint::Database::Check
Da es jetzt nur ein Testsystem ist und im Moment ja nicht total falsch aussieht habe ich mit dem nächsten Schritt "Step 6.2: Database migration script" weiter gemacht.otrs@BITVM28:~/bin$ perl otrs.Console.pl Maint::Database::Check
Trying to connect to database 'DBI:mysql:database=otrs;host=localhost;' with user 'otrs'...
Connection successful.
otrs@BITVM28:~/bin$
Beim Ausführen vom Befel
Code: Select all
perl DBUpdate-to-5.pl
Nachdem jetzt in der Anleitung folgender Satz steht "Do not continue the upgrading process if this script did not work properly for you." habe ich nicht mehr weiter gemacht. Ist jetzt auch kein Dringender Fall, da kein Produktivsystem betroffen ist, aber ich wüsste gerne ob jemand eine Lösung für das Problem weiß? Ich kann jederzeit auf den Punkt vor dem Upgrade Zurück (vmwar und Snapshot) und würde das ganze im Vorfeld mal testen bevor das offizielle Release kommt und wir uns Live System updaten. Mit Beta 1 ist exakt das gleiche Verhalten festzustellen.otrs@BITVM28:~/scripts$ perl DBUpdate-to-5.pl
Migration started...
Step 1 of 13: Refresh configuration cache...
If you see warnings about 'Subroutine Load redefined', that's fine, no need to worry!
done.
Step 2 of 13: Check framework version...done.
Step 3 of 13: Migrate Database Column Types...done.
Step 4 of 13: Migrate charset to UTF-8 on auto_response table...done.
Step 5 of 13: Migrate charset to UTF-8 on notification_event table...done.
Step 6 of 13: Migrate event based notifications to support multiple languages...done.
Step 7 of 13: Migrate notifications to event based notifications...ERROR: OTRS-DBUpdate-to-5.pl-10 Perl: 5.18.2 OS: linux Time: Thu Aug 20 16:00:41 2015
Message: Need Message argument 'ContentType' for language 'de'!
Traceback (7419):
Module: Kernel::System::NotificationEvent::NotificationAdd Line: 294
Module: main::_MigrateNotifications Line: 1068
Module: DBUpdate-to-5.pl Line: 146
error.
[Thu Aug 20 16:00:41 2015] DBUpdate-to-5.pl: Died at DBUpdate-to-5.pl line 151.
Würde mich freuen, wenn mir jemand einen Tip oder zwei geben kann. Ich kenne mich mit Linux und Perl leider nur sehr begrenzt aus.
Danke für die Mühen und viele Grüße
Pinata