Getting error after upgrade. Dashboard::Generate:

Moderator: crythias

Locked
beingbaban
Znuny newbie
Posts: 68
Joined: 20 Sep 2022, 13:59
Znuny Version: Znuny 6.5 LTS
Real Name: BP Singh

Getting error after upgrade. Dashboard::Generate:

Post by beingbaban »

Hello everyone, we upgraded otrs from 5.0.18 to 6.0.40 and now getting following error.

Can someone suggest some solution.


There was an error executing Execute() in Kernel::System::Console::Command::Maint::Stats::Dashboard::Generate: ERROR: OTRS-otrs.Console.pl-Maint::Stats::Dashboard::Generate-xx Perl: 5.34.0 OS: linux Time: Mon Jun 3 05:30:03 2024

Code: Select all

OTRS Scheduler Daemon Cron: GenerateDashboardStats

ERROR: OTRS-otrs.Console.pl-Maint::Stats::Dashboard::Generate-xx Perl: 5.34.0 OS: linux Time: Mon Jun 3 05:30:03 2024

 Message: Can't write '/opt/otrs/var/tmp/CacheFileStorable/Stats/4/3/xxxxxxxxxxxxxxxxxxxxx':

 Traceback (1113):
   Module: Kernel::System::Main::FileWrite Line: 501
   Module: Kernel::System::Cache::FileStorable::Set Line: 98
   Module: Kernel::System::Cache::Set Line: 246
   Module: Kernel::System::Stats::StatsGet Line: 290
   Module: Kernel::System::Stats::StatsListGet Line: 745
   Module: Kernel::System::Console::Command::Maint::Stats::Dashboard::Generate::Run Line: 79
   Module: (eval) Line: 461
   Module: Kernel::System::Console::BaseCommand::Execute Line: 455
   Module: (eval) Line: 145
   Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Cron::Run Line: 124
   Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Run Line: 236
   Module: (eval) Line: 342
   Module: main::Start Line: 342
   Module: /opt/otrs/bin/otrs.Daemon.pl Line: 152
   
root
Administrator
Posts: 4249
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Getting error after upgrade. Dashboard::Generate:

Post by root »

Hi,

You have probably the wrong permission set or not set any permission thatbare required.

- 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 ?
beingbaban
Znuny newbie
Posts: 68
Joined: 20 Sep 2022, 13:59
Znuny Version: Znuny 6.5 LTS
Real Name: BP Singh

Re: Getting error after upgrade. Dashboard::Generate:

Post by beingbaban »

owner should be otrs and group should be www-data?

previously I think this command set it as www-data for both owner and group.

"/opt/otrs/bin/otrs.SetPermissions.pl --otrs-user=www-data --web-group=www-data"

kindly advise.
Locked