OAuth2Token could not be loaded

Moderator: crythias

Post Reply
altinac
Znuny newbie
Posts: 9
Joined: 22 May 2014, 17:13
Znuny Version: 6.4.4
Real Name: Dave Ballard

OAuth2Token could not be loaded

Post by altinac »

I performed a clean install of Znuny 6.4.4 on a RHEL 8.7 system using the instructions on https://doc.znuny.org/manual/releases/i ... stall.html. When I use the web UI, I get an Internal Server Error. If I refresh a few times, it eventually goes through, but then comes back. Apache error logs show the following:

Code: Select all

ERROR: OTRS-CGI-00 Perl: 5.26.3 OS: linux Time: Mon Dec 12 20:25:26 2022

 Message: Kernel::System::OAuth2Token could not be loaded: Attempt to reload Kernel/System/OAuth2Token.pm aborted.
Compilation failed in require at /opt/otrs/Kernel/System/ObjectManager.pm line 255.


 RemoteAddress: ***.***.***.***
 RequestURI: /otrs/index.pl?Action=AgentDashboard

 Traceback (22285):
   Module: Kernel::System::ObjectManager::_DieWithError Line: 628
   Module: Kernel::System::ObjectManager::_ObjectBuild Line: 262
   Module: Kernel::System::ObjectManager::Get Line: 201
   Module: Kernel::Output::HTML::Notification::OAuth2TokenManagementTokenExpired::Run Line: 43
   Module: Kernel::Output::HTML::Layout::NavigationBar Line: 3332
   Module: Kernel::Modules::AgentDashboardCommon::Run Line: 874
   Module: Kernel::System::Web::InterfaceAgent::Run Line: 1144
   Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler Line: 39
   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
SE Linux is set to permissive mode.

I haven't been able to find anything on the forums in regards to this error. Anyone have any suggestions?
root
Administrator
Posts: 3954
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: OAuth2Token could not be loaded

Post by root »

Hi Dave,

Have you checked that all required modules are installed by executing bin/otrs.CheckModules.pl --all?

- 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 ?
altinac
Znuny newbie
Posts: 9
Joined: 22 May 2014, 17:13
Znuny Version: 6.4.4
Real Name: Dave Ballard

Re: OAuth2Token could not be loaded

Post by altinac »

iCal::Parser is the only required one that is missing. Doesn't look like it wants to install using dnf install "perl(iCal::Parser)". I'll work on getting that installed and then update the post.
Johannes
Moderator
Posts: 391
Joined: 30 Jan 2008, 02:26
Znuny Version: All of them ^^
Real Name: Hannes
Company: Znuny|OTTERHUB

Re: OAuth2Token could not be loaded

Post by Johannes »

Would agree in terms of iCal....
Have you restarted the webserver service? just to be sure.
Post Reply