Error loading ConcurrentUsers during daemon start

Moderator: crythias

Post Reply
tms
Znuny newbie
Posts: 13
Joined: 23 Jan 2020, 13:09
Znuny Version: 7.1
Real Name: Stefanie

Error loading ConcurrentUsers during daemon start

Post by tms »

Dear all,

I upgraded from 6.5.14 via 7.0.19 to 7.1.6. I also switched to the znuny user and path instead of otrs. Everything works fine so far.
But I always get an error message a few minutes after Daemon start regarding the SupportDataCollector and ConcurrentUsers:

Code: Select all

 Message: Kernel::System::SupportDataCollector::PluginAsynchronous::OTRS::ConcurrentUsers could not be loaded: Can't locate Kernel/System/SupportDataCollector/PluginAsynchronous/OTRS/ConcurrentUsers.pm in @INC 
Obviously the daemon still tries to find the module below OTRS, not Znuny (the correct location would be /opt/znuny/Kernel/System/SupportDataCollector/PluginAsynchronous/Znuny/ConcurrentUsers.pm).
I already found ticket 524 regarding this error and the solution: https://github.com/znuny/Znuny/commit/5 ... eea157dcf4
But these files are already correct in 7.1, so this cannot be the reason here.

I have no real problems caused by this error, I can even call the SupportDataCollector and can see the statistics about concurrent users there without any error.
But as the error occurs after daemon start there still might be a place in znuny where a path needs to be corrected? Or any other idea?

Thanks and best regards,
Stefanie



Full error message stack:

Code: Select all

ERROR: Znuny-znuny.Daemon.pl - Daemon Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker-10 Perl: 5.26.1 OS: linux Time: Thu May 8 10:05:02 2025

 Message: Kernel::System::SupportDataCollector::PluginAsynchronous::OTRS::ConcurrentUsers could not be loaded: Can't locate Kernel/System/SupportDataCollector/PluginAsynchronous/OTRS/ConcurrentUsers.pm in @INC (you may need to install the Kernel::System::SupportDataCollector::PluginAsynchronous::OTRS::ConcurrentUsers module) (@INC contains: /opt/znuny/Custom /opt/znuny/Kernel/cpan-lib /opt/znuny ...) at /opt/znuny/Kernel/System/ObjectManager.pm line 255.

 Traceback (26641): 
   Module: Kernel::System::ObjectManager::_DieWithError Line: 628
   Module: Kernel::System::ObjectManager::_ObjectBuild Line: 262
   Module: Kernel::System::ObjectManager::Get Line: 201
   Module: (eval) Line: 88
   Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::AsynchronousExecutor::Run Line: 87
   Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Run Line: 240
   Module: (eval) Line: 320
   Module: main::Start Line: 320
   Module: /opt/znuny/bin/znuny.Daemon.pl Line: 138

ERROR: Znuny-znuny.Daemon.pl - Daemon Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker-10 Perl: 5.26.1 OS: linux Time: Thu May 8 10:05:02 2025

 Message: Could not create a new object Kernel::System::SupportDataCollector::PluginAsynchronous::OTRS::ConcurrentUsers! - Task: PluginAsynchronous::ConcurrentUser

 Traceback (26641): 
   Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::AsynchronousExecutor::Run Line: 91
   Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Run Line: 240
   Module: (eval) Line: 320
   Module: main::Start Line: 320
   Module: /opt/znuny/bin/znuny.Daemon.pl Line: 138
Post Reply