500 Internal Server Error after patching from 6.0.3 -> 6.0.4

Moderator: crythias

Post Reply
marcelwuestner
Znuny newbie
Posts: 9
Joined: 02 Jun 2016, 10:00
Znuny Version: 5.0.9
Real Name: Marcel Wüstner
Company: Stadtwerke Rosenheim GmbH & Co. KG

500 Internal Server Error after patching from 6.0.3 -> 6.0.4

Post by marcelwuestner »

Hello,

after patching from 6.0.3 to 6.0.4 I get a error message after restarting the services:

Code: Select all

[Wed Jan 17 07:18:32.612260 2018] [:error] [pid 1292] 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(0x56088b4e6d18)', '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(0x56088b4e6d18)', 'Package', 'Kernel::System::DynamicField::Backend') called at /opt/otrs/Kernel/System/ObjectManager.pm line 200\n\tKernel::System::ObjectManager::Get('Kernel::System::ObjectManager=HASH(0x56088b4e6d18)', 'Kernel::System::DynamicField::Backend') called at /opt/otrs/Kernel/System/Ticket/TicketSearch.pm line 1403\n\tKernel::System::Ticket::TicketSearch::TicketSearch('Kernel::System::Ticket=HASH(0x56088e04eb40)', 'CacheTTL', 1800, 'TicketCreateTimeNewerDate', '2018-01-17 00:00:00', 'TicketCreateTimeOlderDate', '2018-01-17 23:59:59', 'CustomerID', undef, ...) called at /opt/otrs/Kernel/Output/HTML/Dashboard/TicketStatsGeneric.pm line 134\n\tKernel::Output::HTML::Dashboard::TicketStatsGeneric::Run('Kernel::Output::HTML::Dashboard::TicketStatsGeneric=HASH(0x56...', 'AJAX', undef, 'CustomerID', '', 'CustomerUserID', '') called at /opt/otrs/Kernel/Modules/AgentDashboardCommon.pm line 980\n\tKernel::Modules::AgentDashboardCommon::_Element('Kernel::Modules::AgentDashboard=HASH(0x56088bcd4ff8)', 'Name', '0250-TicketStats', 'Configs', 'HASH(0x56088cdd2078)', 'Backends', 'HASH(0x56088d207288)') called at /opt/otrs/Kernel/Modules/AgentDashboardCommon.pm line 610\n\tKernel::Modules::AgentDashboardCommon::Run('Kernel::Modules::AgentDashboard=HASH(0x56088bcd4ff8)') called at /opt/otrs/Kernel/System/Web/InterfaceAgent.pm line 1102\n\tKernel::System::Web::InterfaceAgent::Run('Kernel::System::Web::InterfaceAgent=HASH(0x56088c94a788)') called at /opt/otrs/bin/cgi-bin/index.pl line 40\n\tModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler('Apache2::RequestRec=SCALAR(0x56088b4f7900)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 206\n\teval {...} called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 206\n\tModPerl::RegistryCooker::run('ModPerl::Registry=HASH(0x56088b4e6760)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 172\n\tModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0x56088b4e6760)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31\n\tModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec=SCALAR(0x56088b4f7900)') called at -e line 0\n\teval {...} called at -e line 0\n

Code: Select all

Message: Can't locate Kernel/System/Stats/Static/FAQAccess.pm in @INC (you may need to install the Kernel::System::Stats::Static::FAQAccess module) (@INC contains: /usr/Custom /usr/Kernel/cpan-lib /usr /usr/sbin/../../Custom /usr/sbin/../../Kernel/cpan-lib /usr/sbin/../.. /opt/otrs/Custom /opt/otrs/Kernel/cpan-lib /opt/otrs/ /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl . /etc/apache2) at /opt/otrs/Kernel/System/Main.pm line 81.
I installed the patch according to the instructions in the otrs documentation.

What should I do?
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: 500 Internal Server Error after patching from 6.0.3 -> 6.0.4

Post by reneeb »

Install the current version of FAQ...
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
marcelwuestner
Znuny newbie
Posts: 9
Joined: 02 Jun 2016, 10:00
Znuny Version: 5.0.9
Real Name: Marcel Wüstner
Company: Stadtwerke Rosenheim GmbH & Co. KG

Re: 500 Internal Server Error after patching from 6.0.3 -> 6.0.4

Post by marcelwuestner »

reneeb wrote:Install the current version of FAQ...
I did...

Edit: For testing I uninstalled FAQ, after update to 6.0.4 the same problem
You do not have the required permissions to view the files attached to this post.
ArcheNoah77
Znuny newbie
Posts: 9
Joined: 09 Jun 2017, 08:58
Znuny Version: 6.0.2

Re: 500 Internal Server Error after patching from 6.0.3 -> 6.0.4

Post by ArcheNoah77 »

I had the same Problem.

Solution:

Copy /otrs/otrs-old/Kernel/System/DynamicField/ObjectType/FAQ.pm -> /otrs/otrs/Kernel/System/DynamicField/ObjectType/FAQ.pm

Reinstall the FAQ Module
marcelwuestner
Znuny newbie
Posts: 9
Joined: 02 Jun 2016, 10:00
Znuny Version: 5.0.9
Real Name: Marcel Wüstner
Company: Stadtwerke Rosenheim GmbH & Co. KG

Re: 500 Internal Server Error after patching from 6.0.3 -> 6.0.4

Post by marcelwuestner »

ArcheNoah77 wrote:I had the same Problem.

Solution:

Copy /otrs/otrs-old/Kernel/System/DynamicField/ObjectType/FAQ.pm -> /otrs/otrs/Kernel/System/DynamicField/ObjectType/FAQ.pm

Reinstall the FAQ Module
Perfect, this works great for me. Thanks!
Post Reply