Hilfe zu OTRS Problemen aller Art
Octane
Znuny newbie
Posts: 57 Joined: 29 Mar 2017, 07:53
Znuny Version: Znuny 6.5.2
Real Name: Octane
Post
by Octane » 25 Apr 2022, 17:01
Hallo zusammen,
beim Upgrade von der 6.0.39
oder 6.0.40 auf die 6.0.41 stoße ich auf eine Fehlermeldung (siehe unten). Ich verwende übrigens die gleichen Update-Schrtitte wie immer, (Ausschnitt):
....
perl /opt/otrs/bin/otrs.CheckModules.pl --all
/opt/otrs/bin/otrs.SetPermissions.pl
su -c "/opt/otrs/scripts/DBUpdate-to-6.pl" -s /bin/bash otrs <=hierbei tritt der oder die Fehler auf.
Irgendwelche Ideen?
Danke!
Octane
Code: Select all
su -c "/opt/otrs/scripts/DBUpdate-to-6.pl" -s /bin/bash otrs
Migration started ...
Checking requirements ...
Requirement check for: Check framework version ...
Requirement check for: Check required Perl version ...
Requirement check for: Check required database version ...
Requirement check for: Check database charset ...
Requirement check for: Check required Perl modules ...
Requirement check for: Check if database has been backed up ...
Did you backup the database? [Y]es/[N]o: Y
Requirement check for: Migrate PostMaster pre-filters that execute system commands ...
Requirement check for: Remove Generic Agent system commands ...
ERROR: OTRS-DBUpdate-to-6.pl-10 Perl: 5.30.0 OS: linux Time: Mon Apr 25 14:31:22 2022
Message: Dynamic field configuration is not valid!
Traceback (4098):
Module: Kernel::System::DynamicField::Backend::new Line: 61
Module: Kernel::System::ObjectManager::_ObjectBuild Line: 307
Module: Kernel::System::ObjectManager::Get Line: 201
Module: Kernel::System::GenericAgent::new Line: 63
Module: Kernel::System::ObjectManager::_ObjectBuild Line: 307
Module: Kernel::System::ObjectManager::Get Line: 201
Module: scripts::DBUpdateTo6::RemoveGenericAgentSystemCommandCalls::_GetJobsToMigrate Line: 89
Module: scripts::DBUpdateTo6::RemoveGenericAgentSystemCommandCalls::CheckPreviousRequirement Line: 63
Module: scripts::DBUpdateTo6::_ExecuteComponent Line: 162
Module: scripts::DBUpdateTo6::Run Line: 68
Module: /opt/otrs/scripts/DBUpdate-to-6.pl Line: 88
ERROR: OTRS-DBUpdate-to-6.pl-10 Perl: 5.30.0 OS: linux Time: Mon Apr 25 14:31:22 2022
Message: The constructor of Kernel::System::DynamicField::Backend returned undef.
Traceback (4098):
Module: Kernel::System::ObjectManager::_DieWithError Line: 628
Module: Kernel::System::ObjectManager::_ObjectBuild Line: 315
Module: Kernel::System::ObjectManager::Get Line: 201
Module: Kernel::System::GenericAgent::new Line: 63
Module: Kernel::System::ObjectManager::_ObjectBuild Line: 307
Module: Kernel::System::ObjectManager::Get Line: 201
Module: scripts::DBUpdateTo6::RemoveGenericAgentSystemCommandCalls::_GetJobsToMigrate Line: 89
Module: scripts::DBUpdateTo6::RemoveGenericAgentSystemCommandCalls::CheckPreviousRequirement Line: 63
Module: scripts::DBUpdateTo6::_ExecuteComponent Line: 162
Module: scripts::DBUpdateTo6::Run Line: 68
Module: /opt/otrs/scripts/DBUpdate-to-6.pl Line: 88
The constructor of Kernel::System::DynamicField::Backend returned undef. at /opt/otrs/Kernel/System/GenericAgent.pm line 63.
Last edited by
Octane on 05 May 2022, 09:30, edited 2 times in total.
Ciao
Octane
schulmann
Znuny wizard
Posts: 470 Joined: 20 Nov 2011, 16:08
Znuny Version: 6.5.4
Real Name: Schulmann
Post
by schulmann » 26 Apr 2022, 08:44
Octane wrote: ↑ 25 Apr 2022, 17:01
beim Upgrade von der 6.0.39
oder 6.0.40 auf die 6.0.41 stoße ich auf eine Fehlermeldung (siehe unten).
Hallo,
die gleiche Fehlermeldung habe ich auch (nur eine andere PID) beim Update von 6.0.40 auf 6.0.41.
Allerdings war ich mir nicht sicher ob es an unseren speziellen Einstellungen liegt.
Ich habe auch die gleichen Schritte wie immer durchgeführt ohne zu prüfen ob die sich in der Zwischenzeit geändert haben.
Mein Start-Kommando war praktisch gleich:
su -c 'scripts/DBUpdate-to-6.pl' - otrs
CD
Znuny6/Debian/ESXi
Octane
Znuny newbie
Posts: 57 Joined: 29 Mar 2017, 07:53
Znuny Version: Znuny 6.5.2
Real Name: Octane
Post
by Octane » 26 Apr 2022, 09:45
Hallo,
Nachtrag: Ich erhalte diese Fehlermeldung immer, wenn ich auf die 6.0.41 aktualisieren will, egal von welcher Vorversion
6.0.39 => 6.0.40 ok
6.0.39 => 6.0.41 Fehler
6.0.40 => 6.0.41 Fehler
An den dynamische Feldern habe ich noch nie etwas geändert, dort stehen nur die beiden Standards drin:
ProcessManagementProcessID
ProcessManagementActivityID
Ciao
Octane
root
Administrator
Posts: 3981 Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:
Post
by root » 27 Apr 2022, 08:13
Hallo,
Sorry für die späte Rückmeldung. Das Problem ist bekannt wird asap gelöst. Als Workaround, nur beim einem Patchlevel-Update (6.0.x => 6.0.y bzw. 6.3.1 => 6.3.2) , kann man auch die Kernel/Config/Files/ZZZAAuto.pm in den neuen Verzeichnisbaum kopieren. Oder ein paar Tage auf den Fix warten.
- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out
https://www.znuny.com/
Do you want to
contribute or want to know
where it goes ?
Octane
Znuny newbie
Posts: 57 Joined: 29 Mar 2017, 07:53
Znuny Version: Znuny 6.5.2
Real Name: Octane
Post
by Octane » 27 Apr 2022, 11:24
Hi root,
ich habe nach manuellem Kopieren der ZZZAAuto.pm beim gleichen Schritt immer noch Fehlermeldungen erhalten. Ist aber nicht weiter tragisch, - warte jetzt erstmal auf den Fix
Danke!
Ciao
Octane
schulmann
Znuny wizard
Posts: 470 Joined: 20 Nov 2011, 16:08
Znuny Version: 6.5.4
Real Name: Schulmann
Post
by schulmann » 01 May 2022, 20:38
Hallo Roy,
der Fehler tritt auch auf von 6.0.40 -> 6.0.42.
Getestet habe ich es mit einem neu installierten System welches keine besonderen Einstellungen hatte.
CD
Znuny6/Debian/ESXi
Octane
Znuny newbie
Posts: 57 Joined: 29 Mar 2017, 07:53
Znuny Version: Znuny 6.5.2
Real Name: Octane
Post
by Octane » 04 May 2022, 10:09
Ja hier auch. Fehler ist unverändert vorhanden.
Ciao
Octane
root
Administrator
Posts: 3981 Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:
Post
by root » 04 May 2022, 11:14
Hallo,
bei der 6.0.42 hat sich ein Fehler eingeschlichen, die Korrektur ist jetzt verfügbar:
https://www.znuny.org/releases/znuny-lts-6-0-43
- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out
https://www.znuny.com/
Do you want to
contribute or want to know
where it goes ?
Octane
Znuny newbie
Posts: 57 Joined: 29 Mar 2017, 07:53
Znuny Version: Znuny 6.5.2
Real Name: Octane
Post
by Octane » 04 May 2022, 11:58
Hallo und danke für die Updates!
Aber leider läuft das Update von 6.0.39 = 6.043 immer noch nicht durch. Zumindest bleibt aber jetzt erst bei Step 42 hängen
Code: Select all
Step 42 of 48: Remove Generic Agent system commands ...
ERROR: OTRS-otrs.Console.pl-Dev::Code::CPANAudit-17 Perl: 5.30.0 OS: linux Time: Wed May 4 11:46:24 2022
Message: Can't locate Kernel/System/DynamicField/ObjectType/FAQ.pm in @INC (you may need to install the Kernel::System::DynamicField::ObjectType::FAQ module) (@INC contains: /opt/otrs/Custom /opt/otrs/Kernel/cpan-lib /opt/otrs /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.30.0 /usr/local/share/perl/5.30.0 /usr/lib/x86_64-linux-gnu/perl5/5.30 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.30 /usr/share/perl/5.30 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /opt/otrs/Kernel/System/Main.pm line 86.
Traceback (4170):
Module: Kernel::System::DynamicField::Backend::new Line: 140
Module: Kernel::System::ObjectManager::_ObjectBuild Line: 307
Module: Kernel::System::ObjectManager::Get Line: 201
Module: Kernel::System::GenericAgent::new Line: 63
Module: Kernel::System::ObjectManager::_ObjectBuild Line: 307
Module: Kernel::System::ObjectManager::Get Line: 201
Module: scripts::DBUpdateTo6::RemoveGenericAgentSystemCommandCalls::Run Line: 30
Module: scripts::DBUpdateTo6::_ExecuteComponent Line: 156
Module: scripts::DBUpdateTo6::Run Line: 68
Module: /opt/otrs/scripts/DBUpdate-to-6.pl Line: 88
ERROR: OTRS-otrs.Console.pl-Dev::Code::CPANAudit-17 Perl: 5.30.0 OS: linux Time: Wed May 4 11:46:24 2022
Message: Can't load dynamic field object handler module for object type FAQ!
Traceback (4170):
Module: Kernel::System::DynamicField::Backend::new Line: 141
Module: Kernel::System::ObjectManager::_ObjectBuild Line: 307
Module: Kernel::System::ObjectManager::Get Line: 201
Module: Kernel::System::GenericAgent::new Line: 63
Module: Kernel::System::ObjectManager::_ObjectBuild Line: 307
Module: Kernel::System::ObjectManager::Get Line: 201
Module: scripts::DBUpdateTo6::RemoveGenericAgentSystemCommandCalls::Run Line: 30
Module: scripts::DBUpdateTo6::_ExecuteComponent Line: 156
Module: scripts::DBUpdateTo6::Run Line: 68
Module: /opt/otrs/scripts/DBUpdate-to-6.pl Line: 88
ERROR: OTRS-otrs.Console.pl-Dev::Code::CPANAudit-17 Perl: 5.30.0 OS: linux Time: Wed May 4 11:46:24 2022
Message: The constructor of Kernel::System::DynamicField::Backend returned undef.
Traceback (4170):
Module: Kernel::System::ObjectManager::_DieWithError Line: 628
Module: Kernel::System::ObjectManager::_ObjectBuild Line: 315
Module: Kernel::System::ObjectManager::Get Line: 201
Module: Kernel::System::GenericAgent::new Line: 63
Module: Kernel::System::ObjectManager::_ObjectBuild Line: 307
Module: Kernel::System::ObjectManager::Get Line: 201
Module: scripts::DBUpdateTo6::RemoveGenericAgentSystemCommandCalls::Run Line: 30
Module: scripts::DBUpdateTo6::_ExecuteComponent Line: 156
Module: scripts::DBUpdateTo6::Run Line: 68
Module: /opt/otrs/scripts/DBUpdate-to-6.pl Line: 88
Ciao
Octane
Johannes
Moderator
Posts: 393 Joined: 30 Jan 2008, 02:26
Znuny Version: All of them ^^
Real Name: Hannes
Company: Znuny|OTTERHUB
Post
by Johannes » 04 May 2022, 15:59
Hi,
das können wir leider bei Source Update nicht verhindern.
Bitte vor dem Skript Lauf /opt/otrs/bin/otrs.Console.pl Admin::Package::ReinstallAll ausführen und das Skript erneut starten.
Wir passen die Doku an.
Gruß
Octane
Znuny newbie
Posts: 57 Joined: 29 Mar 2017, 07:53
Znuny Version: Znuny 6.5.2
Real Name: Octane
Post
by Octane » 05 May 2022, 09:29
Hallo Johannes,
danke - klappt.
Bisher hab' ich diesen Befehl ja immer nach DBUpdate-to-6.pl ausgeführt, was ja auch bis 6.0.39 geklappt hat. Aber egal, ich habe nun meinen Ablaufplan entsprechend geändert
Ciao
Octane
schulmann
Znuny wizard
Posts: 470 Joined: 20 Nov 2011, 16:08
Znuny Version: 6.5.4
Real Name: Schulmann
Post
by schulmann » 09 May 2022, 08:40
Johannes wrote: ↑ 04 May 2022, 15:59
Bitte vor dem Skript Lauf /opt/otrs/bin/otrs.Console.pl Admin::Package::ReinstallAll ausführen und das Skript erneut starten.
Hallo Johannes,
danke, es funktioniert bei uns auch.
CD
Znuny6/Debian/ESXi