Fehler nach Update 5->6

Hilfe zu OTRS Problemen aller Art
Post Reply
steste123
Znuny wizard
Posts: 554
Joined: 25 Sep 2012, 19:04
Znuny Version: OTRS Help Desk
Real Name: Stefan

Fehler nach Update 5->6

Post by steste123 »

Hallo,
habe ein Update von 5 auf 6 (latest) probiert gem. der Update-Beschreibung in den Docs.

DBUpdate....pl lief problemlos durch. Habe mich nun versucht einzuloggen und lande nach dem Login auf "Internal server error".

Apache Log:
[Sat Oct 24 06:21:54.818658 2020] [:error] [pid 794:tid 140243877480192] Kernel::System::Ticket::ArticleSearchIndex::StaticDB could not be loaded: Can't locate Kernel/System/Ticket/ArticleSearchIndex/StaticDB.pm in @INC (you may need to install the Kernel::System::Ticket::ArticleSearchIndex::StaticDB module) (@INC contains: /opt/otrs/Custom /opt/otrs/Kernel/cpan-lib /opt/otrs/ /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.28.1 /usr/local/share/perl/5.28.1/usr/lib/x86_64-linux-gnu/perl5/5.28 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /etc/apache2) at /opt/otrs/Kernel/System/ObjectManager.pm line 254.\n at /opt/otrs/Kernel/System/Ticket/Article.pm line 980.\n
Was habe ich versucht:
1. Habe alle Caches geleert
2. Dienste neugestartet
3. su -c "perl bin/otrs.Console.pl Maint::Config::Rebuild" otrs

#3 bringt folgende Meldung
su -c "perl /opt/otrs/bin/otrs.Console.pl Maint::Config::Rebuild" otrs
Rebuilding the system configuration...
ERROR: OTRS-otrs.Console.pl-Maint::Config::Rebuild-30 Perl: 5.28.1 OS: linux Tim e: Sat Oct 24 18:11:12 2020

Message: Setting SendmailModule Effective value is not correct: Kernel::System: :Email::MultiSMTP doesn't satisfy ValueFilter(Kernel/System/Email/*.pm)!

Traceback (1177):
Module: Kernel::System::SysConfig::ConfigurationDeploy Line: 3485
Module: Kernel::System::Console::Command::Maint::Config::Rebuild::Run Line: 1 37
Module: (eval) Line: 460
Module: Kernel::System::Console::BaseCommand::Execute Line: 454
Module: Kernel::System::Console::InterfaceConsole::Run Line: 80
Module: /opt/otrs/bin/otrs.Console.pl Line: 36

Error: There was a problem writing ZZZAAuto.pm.
Im alten System hatte ich MultiSMTP als Zusatzplugin eingesetzt. Habe es aus der ZZZAAuto.pm manuell rausgenommen - dennoch besteht der Fehler.

Hat jemand eine Idee?
OTRS 5.x - Debian 8 - apache 2.4 - MySQL 5.x
steste123
Znuny wizard
Posts: 554
Joined: 25 Sep 2012, 19:04
Znuny Version: OTRS Help Desk
Real Name: Stefan

Re: Fehler nach Update 5->6

Post by steste123 »

Update:

Habe das Setting nun auf DoNotSendmails aktualisiert bekommen. Jedoch bleibt der andere Fehler weiterhin da.
root@debian:/opt/otrs# su -c "bin/otrs.Console.pl Admin::Config::Read --setting-name SendmailModule" -s /bin/bash otrs
Gathering setting value...

Setting: SendmailModule
Kernel::System::Email::MultiSMTP

Done.
root@debian:/opt/otrs# su -c "bin/otrs.Console.pl Admin::Config::Update --setting-name SendmailModule --value Kernel::System::Email::DoNotSendEmail" -s /bin/bash otrs
Updating setting value...

ERROR: OTRS-otrs.Console.pl-Admin::Config::Update-30 Perl: 5.28.1 OS: linux Time: Sat Oct 24 18:32:43 2020

Message: Setting Ticket::SearchIndexModule Effective value is not correct: Kernel::System::Ticket::ArticleSearchIndex::StaticDB doesn't satisfy ValueFilter(Kernel/System/Ticket/ArticleSearchIndex/*.pm)!

Traceback (1279):
Module: Kernel::System::SysConfig::ConfigurationDeploy Line: 3485
Module: Kernel::System::Console::Command::Admin::Config::Update::Run Line: 233
Module: (eval) Line: 460
Module: Kernel::System::Console::BaseCommand::Execute Line: 454
Module: Kernel::System::Console::InterfaceConsole::Run Line: 80
Module: bin/otrs.Console.pl Line: 36

Error: Deployment failed!
mit su -c "/opt/otrs/bin/otrs.Console.pl Maint::Config::Rebuild --cleanup" -s /bin/bash otrs habe ich es zum laufen bekommen. Aber das kann ja nicht die Lösung sein :(
OTRS 5.x - Debian 8 - apache 2.4 - MySQL 5.x
zzz
Znuny superhero
Posts: 888
Joined: 15 Dec 2016, 15:13
Znuny Version: All
Real Name: Emin
Company: Efflux GmbH
Contact:

Re: Fehler nach Update 5->6

Post by zzz »

Abend,

download die neuste Version von MultiSMTP auf den Server und aktualsieren das Pakete mit:
/opt/otrs/bin/otrs.Console.pl Admin::Package::Upgrade /opt/MultiSMTP-6.0.1.opm

Viele Grüße
Emin
Professional OTRS, Znuny & OTOBO services: efflux.de | efflux.de/en/

Free and premium add-ons: German | English
steste123
Znuny wizard
Posts: 554
Joined: 25 Sep 2012, 19:04
Znuny Version: OTRS Help Desk
Real Name: Stefan

Re: Fehler nach Update 5->6

Post by steste123 »

Hat soweit geklappt - allerdings kann ich im Frontend den "ndex.pl?Action=AdminSupportDataCollector" nicht mehr aufrufen. Es wird nach langem laden eine weiße Seite geladen. Kein Fehler im Apache oder OTRS log
OTRS 5.x - Debian 8 - apache 2.4 - MySQL 5.x
Post Reply