Update from 6.3 to 6.4

Moderator: crythias

Post Reply
paullef
Znuny newbie
Posts: 12
Joined: 17 Jun 2022, 19:03
Znuny Version: 6.3.2
Real Name: paul leferink
Company: teleknowledge

Update from 6.3 to 6.4

Post by paullef »

Hello,

I am getting this error after update from 6.3 to 6.4. resulting in an internal server error:

ERROR: OTRS-CGI-10 Perl: 5.26.1 OS: linux Time: Thu Jul 28 12:04:25 2022

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

RemoteAddress: xx.xx.xx.xx
RequestURI: /otrs/index.pl

Traceback (9833):
Module: Kernel::System::ObjectManager::_DieWithError Line: 628
Module: Kernel::System::ObjectManager::_ObjectBuild Line: 315
Module: Kernel::System::ObjectManager::Get Line: 201
Module: Kernel::System::Ticket::TicketSearch::TicketSearch Line: 1427
Module: Kernel::Output::HTML::Dashboard::TicketStatsGeneric::Run Line: 152
Module: Kernel::Modules::AgentDashboardCommon::_Element Line: 1013
Module: Kernel::Modules::AgentDashboardCommon::Run Line: 640
Module: Kernel::System::Web::InterfaceAgent::Run Line: 1144
Module: /opt/otrs/bin/cgi-bin/index.pl Line: 39

The constructor of Kernel::System::DynamicField::Backend returned undef. at /opt/znuny-6.4.1/bin/cgi-bin/../../Kernel/System/Ticket/TicketSearch.pm line 1427.
[Thu Jul 28 12:04:25.884556 2022] [cgid:error] [pid 8011] [client 192.168.9.35:56507] End of script output before headers: index.pl, referer: https://xxxxx/otrs/index.pl?Action=AgentDashboard

Please help!

thanks,
Paul
paullef
Znuny newbie
Posts: 12
Joined: 17 Jun 2022, 19:03
Znuny Version: 6.3.2
Real Name: paul leferink
Company: teleknowledge

Re: Update from 6.3 to 6.4

Post by paullef »

Ok, I found out that copying the FAQ.pm from the 6.3 version to the /opt/otrs/Kernel/System/DynamicField/ObjectType/ solved it. However I cannot update the faq to version 6.4. When will this be available?

Thanks
Paul
paullef
Znuny newbie
Posts: 12
Joined: 17 Jun 2022, 19:03
Znuny Version: 6.3.2
Real Name: paul leferink
Company: teleknowledge

Re: Update from 6.3 to 6.4

Post by paullef »

And I still get an error using OAuth:

[Thu Jul 28 13:17:07 2022] index.pl: Use of uninitialized value in numeric eq (==) at /usr/local/share/perl/5.26.1/Net/POP3.pm line 367.
ERROR: OTRS-CGI-10 Perl: 5.26.1 OS: linux Time: Thu Jul 28 13:17:07 2022

Message: CommunicationLog(ID:1755138,AccountType:-,AccountID:-,Direction:Incoming,Transport:Email,ObjectLogType:Connection,ObjectLogID:3276936)::Kernel::System::MailAccount::POP3S => POP3S: Auth for user xx@xxxx.xx/outlook.office365.com:995 failed!

RemoteAddress: xx.xx.xx.xx
RequestURI: /otrs/index.pl?Action=AdminMailAccount;Subaction=Run;ID=5;ChallengeToken=xxxxxx;

Traceback (6323):
Module: Kernel::System::CommunicationLog::_LogError Line: 535
Module: Kernel::System::CommunicationLog::ObjectLog Line: 303
Module: Kernel::System::MailAccount::POP3::Fetch Line: 275
Module: Kernel::System::MailAccount::MailAccountFetch Line: 649
Module: Kernel::Modules::AdminMailAccount::Run Line: 84
Module: Kernel::System::Web::InterfaceAgent::Run Line: 1144
Module: /opt/otrs/bin/cgi-bin/index.pl Line: 39

I have recreated the oauth token, but no luck.

Thanks
Paul
shawnbeasley
Znuny Employee
Posts: 132
Joined: 13 Sep 2021, 09:38
Znuny Version: Znuny 6.3.x
Real Name: Shawn Beasley
Company: Znuny

Re: Update from 6.3 to 6.4

Post by shawnbeasley »

paullef wrote: 28 Jul 2022, 12:58 Ok, I found out that copying the FAQ.pm from the 6.3 version to the /opt/otrs/Kernel/System/DynamicField/ObjectType/ solved it. However I cannot update the faq to version 6.4. When will this be available?

Thanks
Paul
Hi Paul,

this is not going to really fix the issue. The 6.4 version of the add-on in not ready. It should be out today. I recommend you roll back to 6.3, until all your installed add-ons are ready, and you can update.

Which other add-ons are you using?
shawnbeasley
Znuny Employee
Posts: 132
Joined: 13 Sep 2021, 09:38
Znuny Version: Znuny 6.3.x
Real Name: Shawn Beasley
Company: Znuny

Re: Update from 6.3 to 6.4

Post by shawnbeasley »

paullef wrote: 28 Jul 2022, 13:20 And I still get an error using OAuth:

[Thu Jul 28 13:17:07 2022] index.pl: Use of uninitialized value in numeric eq (==) at /usr/local/share/perl/5.26.1/Net/POP3.pm line 367.
ERROR: OTRS-CGI-10 Perl: 5.26.1 OS: linux Time: Thu Jul 28 13:17:07 2022

Message: CommunicationLog(ID:1755138,AccountType:-,AccountID:-,Direction:Incoming,Transport:Email,ObjectLogType:Connection,ObjectLogID:3276936)::Kernel::System::MailAccount::POP3S => POP3S: Auth for user xx@xxxx.xx/outlook.office365.com:995 failed!

RemoteAddress: xx.xx.xx.xx
RequestURI: /otrs/index.pl?Action=AdminMailAccount;Subaction=Run;ID=5;ChallengeToken=xxxxxx;

Traceback (6323):
Module: Kernel::System::CommunicationLog::_LogError Line: 535
Module: Kernel::System::CommunicationLog::ObjectLog Line: 303
Module: Kernel::System::MailAccount::POP3::Fetch Line: 275
Module: Kernel::System::MailAccount::MailAccountFetch Line: 649
Module: Kernel::Modules::AdminMailAccount::Run Line: 84
Module: Kernel::System::Web::InterfaceAgent::Run Line: 1144
Module: /opt/otrs/bin/cgi-bin/index.pl Line: 39

I have recreated the oauth token, but no luck.

Thanks
Paul
When you're having mailbox issues, it's good to send the output bin/otrs.Console.pl Maint::PostMaster::MailAccountFetch --debug, to give us a larger picture. But here, I would again roll back, until all packages are ready.

Don't forget to always prepare and test the update. :D
root
Administrator
Posts: 3965
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Update from 6.3 to 6.4

Post by root »

shawnbeasley wrote: 28 Jul 2022, 13:34 I recommend you roll back to 6.3, until all your installed add-ons are ready, and you can update.
I recommend following the manual and read the first note in the update manual:

Test your Update
We highly recommend to update on a test instance first.


- 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 ?
paullef
Znuny newbie
Posts: 12
Joined: 17 Jun 2022, 19:03
Znuny Version: 6.3.2
Real Name: paul leferink
Company: teleknowledge

Re: Update from 6.3 to 6.4

Post by paullef »

I did seem to get it working...

I had the 995 port in the servername. It gave me the same error I had before. After removing the port it split the auth and access token correctly and it worked.

The faq is fixed (not very nice, but it worked) by adding the <Framework>6.4.x</Framework> to the opm package. I will update it as soon as the official opm is ready.

Thanks
Paul
Post Reply