Issue from the generatedashboardstats job

Moderator: crythias

Post Reply
RTPalmer
OTRS newbie
Posts: 8
Joined: 07 Apr 2020, 15:52
OTRS Version?: 6.0.8
Real Name: Russell Palmer
Company: Visit Britain

Issue from the generatedashboardstats job

Post by RTPalmer »

Hi,

I have recently changed the notification email address to one that can be seen by my team on all our OTRS instances as it used to be just going to the default root@localhost. Since doing so one of the notifications I am getting on a regular basis is below. I have looked in the sys admin area and when I looked at the settings for GenerateDashboardStats everything appears to be set as the default values

Function: Execute
MaximumParallelInstances: '1'
Module: Kernel::System::Console::Command::Maint::Stats::Dashboard::Generate
Params:
Schedule: 5 * * * *
TaskName: GenerateDashboardStats

When I look at entry in statistics that has the StatID 16 which seems to be for Ticket Created/closed it produces a graph in the frontend and in the general specification I cannot see anything that allows date ranges to be set. Does this mean that somehow there is a ticket with a future date?


ERROR: OTRS-otrs.Console.pl-Maint::Stats::Dashboard::Generate-60 Perl: 5.18.2 OS: linux Time: Tue Jun 30 11:05:22 2020

Message: Can't cache StatID 16: The selected end time is in the future!

Traceback (23528):
Module: Kernel::System::Stats::_GenerateDynamicStats Line: 3297
Module: Kernel::System::Stats::StatsRun Line: 1597
Module: Kernel::System::Stats::StatsResultCacheCompute Line: 1712
Module: Kernel::System::Console::Command::Maint::Stats::Dashboard::Generate::Run Line: 129
Module: (eval) Line: 444
Module: Kernel::System::Console::BaseCommand::Execute Line: 438
Module: (eval) Line: 147
Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Cron::Run Line: 131
Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Run Line: 259
Module: (eval) Line: 316
Module: main::Start Line: 316
Module: /opt/otrs/bin/otrs.Daemon.pl Line: 138

skullz
OTRS wizard
Posts: 320
Joined: 24 Feb 2012, 03:58
OTRS Version?: OTRS 6
Real Name: Skullz
Contact:

Re: Issue from the generatedashboardstats job

Post by skullz »

Try to set cache result to 'No'

good luck

Post Reply