500 Internal Server Error after migration from 6.0.10 to 6.0.15

Moderator: crythias

Post Reply
nfplacide
OTRS newbie
Posts: 11
Joined: 05 Aug 2012, 15:27
OTRS Version?: 5.0.10
Real Name: Placide Lysias NJAMI
Company: GEL
Contact:

500 Internal Server Error after migration from 6.0.10 to 6.0.15

Post by nfplacide » 08 Jan 2019, 18:18

Hi,
After a migration from OTRS 6.0.10 to OTRS 6.0.15, I had an
500 Internal Server Error
See error from /var/log/apache2/error.log

Message: Can't load dynamic field object handler module for object type FAQ!

RemoteAddress: 192.168.1.167
RequestURI: /otrs/index.pl

Traceback (6909):
Module: Kernel::System::DynamicField::Backend::new Line: 140
Module: Kernel::System::ObjectManager::_ObjectBuild Line: 306
Module: Kernel::System::ObjectManager::Get Line: 200
Module: Kernel::System::Ticket::TicketSearch::TicketSearch Line: 1402
Module: Kernel::Output::HTML::Dashboard::Calendar::Run Line: 113
Module: Kernel::Modules::AgentDashboardCommon::_Element Line: 983
Module: Kernel::Modules::AgentDashboardCommon::Run Line: 610
Module: Kernel::System::Web::InterfaceAgent::Run Line: 1116
Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler Line: 38
Module: (eval) (v1.99) Line: 207
Module: ModPerl::RegistryCooker::run (v1.99) Line: 207
Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 173
Module: ModPerl::Registry::handler (v1.99) Line: 32

ERROR: OTRS-CGI-43 Perl: 5.26.1 OS: linux Time: Tue Jan 8 16:02:44 2019

Message: The constructor of Kernel::System::DynamicField::Backend returned undef.

RemoteAddress: 192.168.1.167
RequestURI: /otrs/index.pl

Traceback (6909):
Module: Kernel::System::ObjectManager::_DieWithError Line: 631
Module: Kernel::System::ObjectManager::_ObjectBuild Line: 314
Module: Kernel::System::ObjectManager::Get Line: 200
Module: Kernel::System::Ticket::TicketSearch::TicketSearch Line: 1402
Module: Kernel::Output::HTML::Dashboard::Calendar::Run Line: 113
Module: Kernel::Modules::AgentDashboardCommon::_Element Line: 983
Module: Kernel::Modules::AgentDashboardCommon::Run Line: 610
Module: Kernel::System::Web::InterfaceAgent::Run Line: 1116
Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler Line: 38
Module: (eval) (v1.99) Line: 207
Module: ModPerl::RegistryCooker::run (v1.99) Line: 207
Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 173
Module: ModPerl::Registry::handler (v1.99) Line: 32

[Tue Jan 08 16:02:44.845490 2019] [:error] [pid 6909] The constructor of Kernel::System::DynamicField::Backend returned undef. at /opt/otrs/Kernel/System/ObjectManager.pm line 632.\n\tKernel::System::ObjectManager::_DieWithError(Kernel::System::ObjectManager=HASH(0x555f2fd6a908), "Error", "The constructor of Kernel::System::DynamicField::Backend retu"...) called at /opt/otrs/Kernel/System/ObjectManager.pm line 314\n\tKernel::System::ObjectManager::_ObjectBuild(Kernel::System::ObjectManager=HASH(0x555f2fd6a908), "Package", "Kernel::System::DynamicField::Backend") called at /opt/otrs/Kernel/System/ObjectManager.pm line 200\n\tKernel::System::ObjectManager::Get(Kernel::System::ObjectManager=HASH(0x555f2fd6a908), "Kernel::System::DynamicField::Backend") called at /opt/otrs/Kernel/System/Ticket/TicketSearch.pm line 1402\n\tKernel::System::Ticket::TicketSearch::TicketSearch(Kernel::System::Ticket=HASH(0x555f2eb76078), "TicketEscalationTimeNewerMinutes", 15, "OrderBy", "Up", "SortBy", "EscalationTime", "Result", ...) called at /opt/otrs/Kernel/Output/HTML/Dashboard/Calendar.pm line 113\n\tKernel::Output::HTML::Dashboard::Calendar::Run(Kernel::Output::HTML::Dashboard::Calendar=HASH(0x555f2ed0c458), "AJAX", undef, "CustomerID", "", "CustomerUserID", "") called at /opt/otrs/Kernel/Modules/AgentDashboardCommon.pm line 983\n\tKernel::Modules::AgentDashboardCommon::_Element(Kernel::Modules::AgentDashboard=HASH(0x555f2d9273b0), "Name", "0260-TicketCalendar", "Configs", HASH(0x555f2ea648a8), "Backends", HASH(0x555f2ea9ca18)) called at /opt/otrs/Kernel/Modules/AgentDashboardCommon.pm line 610\n\tKernel::Modules::AgentDashboardCommon::Run(Kernel::Modules::AgentDashboard=HASH(0x555f2d9273b0)) called at /opt/otrs/Kernel/System/Web/InterfaceAgent.pm line 1116\n\tKernel::System::Web::InterfaceAgent::Run(Kernel::System::Web::InterfaceAgent=HASH(0x555f2f931f78)) called at /opt/otrs/bin/cgi-bin/index.pl line 38\n\tModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler(Apache2::RequestRec=SCALAR(0x555f2fd8d768)) called at /usr/lib/x86_64-linux-gnu/perl5/5.26/ModPerl/RegistryCooker.pm line 207\n\teval {...} called at /usr/lib/x86_64-linux-gnu/perl5/5.26/ModPerl/RegistryCooker.pm line 207\n\tModPerl::RegistryCooker::run(ModPerl::Registry=HASH(0x555f2eaa1248)) called at /usr/lib/x86_64-linux-gnu/perl5/5.26/ModPerl/RegistryCooker.pm line 173\n\tModPerl::RegistryCooker::default_handler(ModPerl::Registry=HASH(0x555f2eaa1248)) called at /usr/lib/x86_64-linux-gnu/perl5/5.26/ModPerl/Registry.pm line 32\n\tModPerl::Registry::handler("ModPerl::Registry", Apache2::RequestRec=SCALAR(0x555f2fd8d768)) called at -e line 0\n\teval {...} called at -e line 0\n
Regards,

Placide

jff
OTRS newbie
Posts: 48
Joined: 23 Mar 2016, 14:17
OTRS Version?: 6.0.8
Real Name: Jeff
Company: M

Re: 500 Internal Server Error after migration from 6.0.10 to 6.0.15

Post by jff » 09 Jan 2019, 22:32

Hello,

Did you upgrade your packages after the upgrade by running:

Code: Select all

su -c "/opt/otrs/bin/otrs.Console.pl Admin::Package::UpgradeAll" -s /bin/bash otrs
Make sure to set permission on the folder and maybe rebuild the config.

Regards.

Wolfgangf
OTRS guru
Posts: 1025
Joined: 13 Apr 2009, 12:26
OTRS Version?: 6.0.13
Real Name: Wolfgang Fürtbauer
Company: PBS Logitek GmbH
Location: Pinsdorf

Re: 500 Internal Server Error after migration from 6.0.10 to 6.0.15

Post by Wolfgangf » 17 Jan 2019, 23:28

I had a similar issue with more than one reason
- System monitoring package: deinstalling on console solved this
- ITSM bundle: deinstalling on console solved this as well
Produktiv:
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting

reneeb
OTRS guru
Posts: 4795
Joined: 13 Mar 2011, 09:54
OTRS Version?: 3.3.x
Company: Perl-Services.de
Contact:

Re: 500 Internal Server Error after migration from 6.0.10 to 6.0.15

Post by reneeb » 18 Jan 2019, 09:19

But if you uninstall a package you migth loose information (when database tables are dropped)...
Perl / OTRS development: http://perl-services.de
Free OTRS add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de

Wolfgangf
OTRS guru
Posts: 1025
Joined: 13 Apr 2009, 12:26
OTRS Version?: 6.0.13
Real Name: Wolfgang Fürtbauer
Company: PBS Logitek GmbH
Location: Pinsdorf

Re: 500 Internal Server Error after migration from 6.0.10 to 6.0.15

Post by Wolfgangf » 22 Jan 2019, 23:47

correct but unfortunately the only solution ...
Produktiv:
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting

reneeb
OTRS guru
Posts: 4795
Joined: 13 Mar 2011, 09:54
OTRS Version?: 3.3.x
Company: Perl-Services.de
Contact:

Re: 500 Internal Server Error after migration from 6.0.10 to 6.0.15

Post by reneeb » 23 Jan 2019, 10:39

You should find out, which dynamic field type causes this error...
Perl / OTRS development: http://perl-services.de
Free OTRS add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de

reneeb
OTRS guru
Posts: 4795
Joined: 13 Mar 2011, 09:54
OTRS Version?: 3.3.x
Company: Perl-Services.de
Contact:

Re: 500 Internal Server Error after migration from 6.0.10 to 6.0.15

Post by reneeb » 23 Jan 2019, 11:59

In version 6.0.4 of ConsoleTools (https://opar.perl-services.de/dist/ConsoleTools) I've added the command Admin::DynamicField::CheckBackends...
Perl / OTRS development: http://perl-services.de
Free OTRS add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de

Post Reply