Upgrade OTRS 4.0.11 -> 5.0.5

Hilfe zu Znuny Problemen aller Art
Locked
dennismayer
Znuny newbie
Posts: 2
Joined: 18 Jan 2016, 10:58
Znuny Version: 5.0.5
Real Name: Dennis

Upgrade OTRS 4.0.11 -> 5.0.5

Post by dennismayer »

Hallo zusammen,

ich bin derzeit beim Update von Version 4.0.11 auf die Version 5.0.5.
Vorgegangen bin ich anhand der Beschreibung auf http://otrs.github.io/doc/manual/admin/ ... ading.html

Bisher funktionierte alles, jedoch bei der Migration der Datenbank erfolgt nun folgende Fehlerbeschreibung:

$ /u01/otrs/scripts/DBUpdate-to-5.pl

Migration started...

Step 1 of 17: Refresh configuration cache...
If you see warnings about 'Subroutine Load redefined', that's fine, no need to worry!
done.

Step 2 of 17: Check framework version...done.

Step 3 of 17: Migrate Database Column Types...done.

Step 4 of 17: Migrate charset to UTF-8 on auto_response table...done.

Step 5 of 17: Migrate charset to UTF-8 on notification_event table...done.

Step 6 of 17: Migrate event based notifications to support multiple languages...done.

Step 7 of 17: Migrate notifications to event based notifications...ERROR: OTRS-DBUpdate-to-5.pl-47 Perl: 5.10.1 OS: linux Time: Mon Jan 18 09:33:08 2016

Message: Can't add notification 'Old Ticket new note notification ( Duplicate Name )', notification already exists!

Traceback (21776):
Module: Kernel::System::NotificationEvent::NotificationAdd Line: 271
Module: main::_MigrateNotifications Line: 1109
Module: /u01/otrs/scripts/DBUpdate-to-5.pl Line: 162

error.

DBUpdate-to-5.pl: Died at /u01/otrs/scripts/DBUpdate-to-5.pl line 167.



Da innerhalb der Updatebeschreibung steht, dass ein weitermachen bei einem Fehler zu Datenverlust führt,
bitte ich hier um Unterstützung.

Gruß
Dennis
darkdead
Znuny newbie
Posts: 81
Joined: 09 Jul 2015, 15:28
Znuny Version: 5.0.7

Re: Upgrade OTRS 4.0.11 -> 5.0.5

Post by darkdead »

Steht doch da:
Message: Can't add notification 'Old Ticket new note notification ( Duplicate Name )', notification already exists!
Evtl. hilft der Post:
viewtopic.php?t=30689
oder
http://stackoverflow.com/questions/3408 ... ling-otrs5
Currently using: OTRS 5.0.7 | PostgresSQL 9.4.5 | Ubuntu 15.10
Extension: FAQ | Survey | System Monitoring | Time Accounting

Test System: OTRS 5.0.7 | PostgresSQL 9.4.5 | Ubuntu 15.10
dennismayer
Znuny newbie
Posts: 2
Joined: 18 Jan 2016, 10:58
Znuny Version: 5.0.5
Real Name: Dennis

Re: Upgrade OTRS 4.0.11 -> 5.0.5

Post by dennismayer »

Hallo darkdead,

danke für die Hilfe.
Habe das Problem aber nun doch selbst gefunden.

Habe in den Release-Notes folgendes gelesen:
If you upgrade from OTRS 5 Beta 5 or earlier, you should manually update all ticket notifications that are set to be shown in agent preferences. In the ticket notification management admin screen for each notification, scroll down to “Notification Methods” and check the “Send by default” checkbox from the “Email” section on each notification.
Hier muss man im Admin-Bereich bei den Ticket-Benachrichtigungen die beiden vorhandenen Einträge löschen.
Danach lief das Script DBUpdate-to-5.pl ohne Fehler durch.

Trotzdem danke für die Unterstützung.

Gruß Dennis
florifreeman
Znuny newbie
Posts: 35
Joined: 19 Mar 2014, 12:44
Znuny Version: 3.3.7

Re: Upgrade OTRS 4.0.11 -> 5.0.5

Post by florifreeman »

Kann da jemand noch mal was zu sagen? Würde gerne das Update auf 5 fahren und habe dasselbe Problem, nur finde die lösung wie o.g. nicht.
Locked