[Solved] Apache error when responding to a ticket

Moderator: crythias

Post Reply
TechnoWiz
Znuny newbie
Posts: 3
Joined: 24 Nov 2017, 14:13
Znuny Version: 5.0.20

[Solved] Apache error when responding to a ticket

Post by TechnoWiz »

Hi!

After a botched upgrade attempt to OTRS 6 I was able to restore the former version 5.0.20 from a complete backup. Only problem is, that since then I'm unable to send an email response. My tries always end with a 500 error (Internal Server Error) from the apache. The corresponding entries I found in the error.log are:

[Thu Nov 23 14:22:48 2017] -e: Kernel::System::Ticket::Article does not declare its object dependencies! at /opt/otrs//Kernel/Output/HTML/Layout/Article.pm line 250.
[Thu Nov 23 14:22:48.563267 2017] [:error] [pid 15537] Kernel::System::Ticket::Article does not declare its object dependencies! at /opt/otrs/Kernel/System/ObjectManager.pm line 541.\n\tKernel::System::ObjectManager::_DieWithError('Kern$
[Thu Nov 23 14:56:20 2017] -e: Kernel::System::Ticket::Article does not declare its object dependencies! at /opt/otrs//Kernel/Output/HTML/Layout/Article.pm line 250.
[Thu Nov 23 14:56:20.861839 2017] [:error] [pid 15560] Kernel::System::Ticket::Article does not declare its object dependencies! at /opt/otrs/Kernel/System/ObjectManager.pm line 541.\n\tKernel::System::ObjectManager::_DieWithError('Kern$

A bunch of those entries can be found in the log.

If somebody of you has an idea what the cause of this error might be it would be nice if he could give me some clues because my knowledge on this topic is sparse, thanks.

Update: After updating to 5.0.24 the problem is gone.
Last edited by TechnoWiz on 28 Nov 2017, 16:36, edited 2 times in total.
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Kein Antworten auf Ticket mehr möglich

Post by jojo »

wie hast Du denn die Migration und das Restore gemacht?


Wurde danach der Webserver neu gestartet die Caches gelöscht?
"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
TechnoWiz
Znuny newbie
Posts: 3
Joined: 24 Nov 2017, 14:13
Znuny Version: 5.0.20

Re: Apache error when responding to a ticket

Post by TechnoWiz »

Die Migration erfolgte auf Basis der Upgrade-Anleitung inklusive einiger veralteten Notizen unseres dienstältesten Kollegen, d.h.:

1. Dienste anhalten

2. Backup mit /opt/otrs/scripts/backup.pl -d /opt/otrs_backup/ -c gzip -r 2 -t fullbackup und zusätliches Kopieren des otrs-Verzeichnisses

3. Sichern der Konfigdateien

4. Selektives Löschen einer Reihe von Verzeichnissen und Dateien und Entpacken des Archivs

5. Wiederherstellen der Konfigdateien

6. Setzen der Berechtigungen

7. Überprüfen der Module, Fehler wegen fehlender Perl-Pakete

8. Nachinstallieren einiger Perl-Pakete und Setzten der Zeitzone

9. erneute Überprüfung, Abbruch des Upgrades, da ein Paket nicht nicht notiert war, das für die Version 6 nicht verfügbar ist

10. Droppen der otrs-Datenbank

11. Ausführen von /otrs/scripts/restore.pl -b auf das Backup ins otrs-Verzeichnis.

12. Starten der Dienste und des Daemon
Post Reply