Hi I'm getting this error in my logs, I got a few Statistics, but I'm not sure what Stats it is complaining about.
and all the stats seems to work great, any ideas whats going on here?
-------
ERROR: OTRS-otrs.Console.pl-Maint::Stats::Dashboard::Generate-10 Perl: 5.16.3 OS: linux Time: Mon Feb 22 10:05:19 2016
Message: This statistic contains configuration errors, skipping.
Traceback (8691):
Module: Kernel::System::Stats::StatsResultCacheCompute Line: 1678
Module: Kernel::System::Console::Command::Maint::Stats::Dashboard::Generate::Run Line: 129
Module: (eval) Line: 435
Module: Kernel::System::Console::BaseCommand::Execute Line: 429
Module: (eval) Line: 175
Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Cron::Run Line: 159
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
Error: Stat calculation was not successful.
Statistics Error
Moderator: crythias
-
- Znuny newbie
- Posts: 26
- Joined: 06 Aug 2008, 21:31
- Znuny Version: 5.0.22
Re: Statistics Error
Hallo zusammen,
habe das gleiche Problem. Gibt es hierzu einen Workarround?!
Kann man die irgendwo beeinflussen?
Gruß Master
habe das gleiche Problem. Gibt es hierzu einen Workarround?!
Was aufällig ist, ist die Zeile "Module: /opt/otrs//bin/otrs.Daemon.pl Line: 138"ERROR: OTRS-otrs.Console.pl-Maint::Stats::Dashboard::Generate-39 Perl: 5.20.2 OS: linux Time: Thu Jul 7 08:05:08 2016
Message: This statistic contains configuration errors, skipping.
Traceback (1702):
Module: Kernel::System::Stats::StatsResultCacheCompute Line: 1679
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
Error: Stat calculation was not successful.
Kann man die irgendwo beeinflussen?
Gruß Master
Re: Statistics Error
OTRS 4.0.12
i outcomment the lines 3649 to 3671 in otrs/Kernel/System/Stats.pm then the Stats Scheduler works for me
Greetings Ingo
i outcomment the lines 3649 to 3671 in otrs/Kernel/System/Stats.pm then the Stats Scheduler works for me
Greetings Ingo
-
- Znuny newbie
- Posts: 2
- Joined: 29 Nov 2016, 19:36
- Znuny Version: 5.0.14
- Real Name: Paul Strinati
- Company: Optimum Credit Ltd
Re: Statistics Error
I'm getting exactly the same issue, having recently upgraded from v3.3.6 to v5.0.14 (free version). Under v3 the stats worked as Dashboard Widgets, but since the upgrade they no longer work. We're running on Ubuntu Server. If I run the stat manually, the bar chart works (i.e. it opens in a new tab).
OTRS Syslog (under Admin tab) contains the following:
There was an error executing Execute() in Kernel::System::Console::Command::Maint::Stats::Dashboard::Generate: ERROR: OTRS-otrs.Console.pl-Maint::Stats::Dashboard::Generate-10 Perl: 5.18.2 OS: linux Time: Tue Nov 29 17:05:20 2016
and also:
Can't cache: StatID 62 has no time period, so you can't cache the stat!
Linux syslog contains:
Nov 29 17:05:20 opthelp1 OTRS-otrs.Console.pl-Maint::Stats::Dashboard::Generate-10[27030]: [Error][Kernel::System::Daemon::DaemonModules::BaseTaskWorker::_HandleError][Line:51]: There was an error executing Execute() in Kernel::System::Console::Command::Maint::Stats::Dashboard::Generate: ERROR: OTRS-otrs.Console.pl-Maint::Stats::Dashboard::Generate-10 Perl: 5.18.2 OS: linux Time: Tue Nov 29 17:05:20 2016#012#012 Message: Can't cache: StatID 62 has no time period, so you can't cache the stat!#012#012 Traceback (27030): #012 Module: Kernel::System::Stats::_GenerateDynamicStats Line: 3332#012 Module: Kernel::System::Stats::StatsRun Line: 1598#012 Module: Kernel::System::Stats::StatsResultCacheCompute Line: 1713#012 Module: Kernel::System::Console::Command::Maint::Stats::Dashboard::Generate::Run Line: 129#012 Module: (eval) Line: 460#012 Module: Kernel::System::Console::BaseCommand::Execute Line: 454#012 Module: (eval) Line: 150#012 Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Cron::Run Line: 129#012 Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Run Line: 250#012 Module: (eval) Line: 316#012 Module: main::Start Line: 316#012 Module: /opt/otrs//bin/otrs.Daemon.pl Line: 138#012
Any pointers greatly appreciated!
OTRS Syslog (under Admin tab) contains the following:
There was an error executing Execute() in Kernel::System::Console::Command::Maint::Stats::Dashboard::Generate: ERROR: OTRS-otrs.Console.pl-Maint::Stats::Dashboard::Generate-10 Perl: 5.18.2 OS: linux Time: Tue Nov 29 17:05:20 2016
and also:
Can't cache: StatID 62 has no time period, so you can't cache the stat!
Linux syslog contains:
Nov 29 17:05:20 opthelp1 OTRS-otrs.Console.pl-Maint::Stats::Dashboard::Generate-10[27030]: [Error][Kernel::System::Daemon::DaemonModules::BaseTaskWorker::_HandleError][Line:51]: There was an error executing Execute() in Kernel::System::Console::Command::Maint::Stats::Dashboard::Generate: ERROR: OTRS-otrs.Console.pl-Maint::Stats::Dashboard::Generate-10 Perl: 5.18.2 OS: linux Time: Tue Nov 29 17:05:20 2016#012#012 Message: Can't cache: StatID 62 has no time period, so you can't cache the stat!#012#012 Traceback (27030): #012 Module: Kernel::System::Stats::_GenerateDynamicStats Line: 3332#012 Module: Kernel::System::Stats::StatsRun Line: 1598#012 Module: Kernel::System::Stats::StatsResultCacheCompute Line: 1713#012 Module: Kernel::System::Console::Command::Maint::Stats::Dashboard::Generate::Run Line: 129#012 Module: (eval) Line: 460#012 Module: Kernel::System::Console::BaseCommand::Execute Line: 454#012 Module: (eval) Line: 150#012 Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Cron::Run Line: 129#012 Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Run Line: 250#012 Module: (eval) Line: 316#012 Module: main::Start Line: 316#012 Module: /opt/otrs//bin/otrs.Daemon.pl Line: 138#012
Any pointers greatly appreciated!
-
- Znuny newbie
- Posts: 2
- Joined: 29 Nov 2016, 19:36
- Znuny Version: 5.0.14
- Real Name: Paul Strinati
- Company: Optimum Credit Ltd
Re: Statistics Error
FIXED: I tried deleting the original statistic and building it from scratch - and it works as a widget on the dashboard, so it would seem that the migration from 3.x to 5.0.14 caused something to go wrong with the report when viewed as a widget.