Update 3.2.10 -> 3.3.7

Hilfe zu Znuny Problemen aller Art
Locked
xbandit
Znuny newbie
Posts: 3
Joined: 03 Jul 2014, 09:49
Znuny Version: 3.2.x
Real Name: Dirk Nichterwitz
Company: GEWATEC Gmbh&CoKG

Update 3.2.10 -> 3.3.7

Post by xbandit »

Hallo,

Wir nutzen hier otrs 3.2.10 mit ITSM und Kix auf einem Debian 7 System
ich stecke momentan beim Update auf 3.3.7 fest.
Ich habe nach Anleitung ein neues otrs Verzeichnis erstellt und die 3.3.7 reinkopiert, danach die erforderlichen Dateien zurückkopiert
- Kernel/Config.pm
- Kernel/Config/GenericAgent.pm
- Kernel/Config/Files/ZZZAuto.pm

Berechtigungen gesetzt.

bin/otrs.CheckDB.pl keine Fehler
Schema Update cat scripts/DBUpdate-to-3.3.mysql.sql | mysql -p -f -u root otrs --> läuft durch

dann
su otrs
scripts/DBUpdate-to-3.3.pl

Dort bekomme ich den Hinweis
INFO: Foreign key constraint FK_standard_response_valid_id_id does not exist, skipping.
INFO: Foreign key constraint FK_standard_response_valid_id_id does not exist, skipping.
INFO: Foreign key constraint FK_standard_response_create_by_id does not exist, skipping.
INFO: Foreign key constraint FK_standard_response_create_by_id does not exist, skipping.
INFO: Foreign key constraint FK_standard_response_change_by_id does not exist, skipping.
INFO: Foreign key constraint FK_standard_response_change_by_id does not exist, skipping.
INFO: Foreign key constraint FK_queue_standard_response_standard_response_id_id does not exist, skipping.
INFO: Foreign key constraint FK_queue_standard_response_standard_response_id_id does not exist, skipping.
INFO: Foreign key constraint FK_queue_standard_response_queue_id_id does not exist, skipping.
INFO: Foreign key constraint FK_queue_standard_response_queue_id_id does not exist, skipping.
INFO: Foreign key constraint FK_queue_standard_response_create_by_id does not exist, skipping.
INFO: Foreign key constraint FK_queue_standard_response_create_by_id does not exist, skipping.
INFO: Foreign key constraint FK_queue_standard_response_change_by_id does not exist, skipping.
INFO: Foreign key constraint FK_queue_standard_response_change_by_id does not exist, skipping.
INFO: Foreign key constraint FK_standard_response_attachment_standard_response_id_id does not exist, skipping.
INFO: Foreign key constraint FK_standard_response_attachment_standard_response_id_id does not exist, skipping.
INFO: Foreign key constraint FK_standard_response_attachment_standard_attachment_id_id does not exist, skipping.
INFO: Foreign key constraint FK_standard_response_attachment_standard_attachment_id_id does not exist, skipping.
INFO: Foreign key constraint FK_standard_response_attachment_create_by_id does not exist, skipping.
INFO: Foreign key constraint FK_standard_response_attachment_create_by_id does not exist, skipping.
INFO: Foreign key constraint FK_standard_response_attachment_change_by_id does not exist, skipping.
INFO: Foreign key constraint FK_standard_response_attachment_change_by_id does not exist, skipping.

Aber er sagt bei Punkt 13 Migration complete.

Was bedeuten die Meldungen? Denn wenn ich nun das System anschaue sieht es erstmal normal aus, aber wenn ich ein Ticket anklicke dann sehe ich keinen Inhalt.

Was kann ich nun tun?
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Update 3.2.10 -> 3.3.7

Post by jojo »

erstmal prüfen ob Du alle Schritte (insbesonder löschen von caches, Restart der Services) durchgeführt hast. Dann die Logfiles prüfen
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
xbandit
Znuny newbie
Posts: 3
Joined: 03 Jul 2014, 09:49
Znuny Version: 3.2.x
Real Name: Dirk Nichterwitz
Company: GEWATEC Gmbh&CoKG

Re: Update 3.2.10 -> 3.3.7

Post by xbandit »

Hallo,

also ich mach das so:

- Zuerst alle Pakete wie ITSM, Kix usw. deinstallieren.
- entpacken der otrs 3.3.7 nach /opt/otrs
- Kernel/Config.pm + Kernel/Config/GenericAgent.pm + Kernel/Config/Files/ZZZAuto.pm + TicketCounter.log zurückkopieren
-/opt/otrs/bin/otrs.SetPermissions.pl --otrs-user=otrs --web-user=www-data --otrs-group=nogroup --web-group=www-data /opt/otrs
- bin/otrs.CheckDB.pl
- cat scripts/DBUpdate-to-3.3.mysql.sql | mysql -p -f -u root otrs
- su otrs
- scripts/DBUpdate-to-3.3.pl
- bin/otrs.RebuildConfig.pl && bin/otrs.DeleteCache.pl
Dann starte ich die Dienste apache2 und cron neu

Ist das soweit korrekt?
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Update 3.2.10 -> 3.3.7

Post by jojo »

eine Deinstallation von Paketen löscht die dazugehörigen Tabellen und Inhalte aus der Datenbank. Bitte folge akribisch der UPGRADING Datei
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
xbandit
Znuny newbie
Posts: 3
Joined: 03 Jul 2014, 09:49
Znuny Version: 3.2.x
Real Name: Dirk Nichterwitz
Company: GEWATEC Gmbh&CoKG

Re: Update 3.2.10 -> 3.3.7

Post by xbandit »

Im Upgrading steht leider nichts zu KIX usw.
Wenn ich jetzt die Pakete nicht lösche und dann ein neues otrs Verzeichnis anlege und die entsprechenden Config Dateien zurückkopiere, habe ich beim ersten Login immer eine Fehlermeldung erhalten.
Die kann ich jetzt nicht mehr genau sagen aber ich werde es dann nochmal versuchen und die Meldungen anschauen.
Wenn ich aber eine neue otrs Struktur anlegen dann hat er doch sowieso die Plugins nicht mehr vorhanden, ich dachte dass das zu Problemen führen kann. Zumindest konnte ich mich nicht mehr einloggen.

Wie soll ich es jetzt versuchen?
neues otrs Verzeichnis, Config kopieren . Migration usw. durchführen und danach die neuen KIX Plugins installieren?

Danke schonmal für die Hilfe.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Update 3.2.10 -> 3.3.7

Post by jojo »

Pakete werden über den Paketmanager upgedatet
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Locked