[SOLVED] GenerateDashboardStats.pl - FAQ::Language is empty

Moderator: crythias

Locked
dave2006
Znuny newbie
Posts: 2
Joined: 20 Mar 2014, 18:49
Znuny Version: 3.3.5
Real Name: David Smith
Company: Sopho Services

[SOLVED] GenerateDashboardStats.pl - FAQ::Language is empty

Post by dave2006 »

I have OTRS 3.3.5 and I'm getting a failure in the FAQ portion of the GenerateDashboardStats.pl cron job

I must have something setup wrong, but I don't know how to check what.

This is the email I get every hour :-)

What do I check to get more information on solving this?
Subject: Cron <otrs@slice3> $HOME/bin/otrs.GenerateDashboardStats.pl >> /dev/null
Date: Thu, 03 Apr 2014 23:05:05 +0000

ERROR: OTRS-otrs.GenerateDashboardStats.pl-02 Perl: 5.14.2 OS: linux Time: Thu Apr 3 23:05:04 2014

Message: Base class package "Kernel::System::FAQ::Language" is empty.
(Perhaps you need to 'use' the module which defines that package first,
or make that module available in @INC (@INC contains: /var/www/otrs/Custom /var/www/otrs/Kernel/cpan-lib /var/www/otrs /var/www/otrs/Kernel/System/FAQ /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .).
at /var/www/otrs/Kernel/System/FAQ.pm line 26
BEGIN failed--compilation aborted at /var/www/otrs/Kernel/System/FAQ.pm line 32.
Compilation failed in require at /var/www/otrs/Kernel/System/Stats/Static/FAQAccess.pm line 15.
BEGIN failed--compilation aborted at /var/www/otrs/Kernel/System/Stats/Static/FAQAccess.pm line 15.


Traceback (22520):
Module: Kernel::System::Stats::GetObjectBehaviours (OTRS 3.3.5) Line: 1538
Module: Kernel::System::Stats::StatsGet (OTRS 3.3.5) Line: 275
Module: Kernel::System::Stats::StatsListGet (OTRS 3.3.5) Line: 680
Module: main::Run (unknown version) Line: 79
Module: /var/www/otrs/bin/otrs.GenerateDashboardStats.pl (unknown version) Line: 177
Last edited by dave2006 on 10 Apr 2014, 04:53, edited 1 time in total.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: GenerateDashboardStats.pl - FAQ::Language is empty

Post by crythias »

at first blush guess, packages
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
dave2006
Znuny newbie
Posts: 2
Joined: 20 Mar 2014, 18:49
Znuny Version: 3.3.5
Real Name: David Smith
Company: Sopho Services

[SOLVED] Re: GenerateDashboardStats.pl - FAQ::Language is em

Post by dave2006 »

Okay, found my problem. the otrs user didn't have access to the Kernel/System/FAQ folder - FAQ was installed via website, so had the permissions of the websever, which was not the same as the cron user (in my case). So, I changed the owner of the Kernel/System/FAQ to my cron user "otrs".

This is probably not a problem for most users.
Locked