Since upgrading to version 5, I see the following message about an uninitialized value for $TimeZone, even though I have it set in agent preferences:
root@otrs4# sudo -u otrs /opt/otrs/bin/otrs.Console.pl Maint::Stats::Generate --number 10002 --format PDF --mail-recipient test@example.com --mail-body "Should show all open tickets."
Generating statistic number 10002...
[Wed May 25 15:40:49 2016] otrs.Console.pl: Use of uninitialized value $TimeZone in length at /opt/otrs/Kernel/System/Console/Command/Maint/Stats/Generate.pm line 263.
Do I receive the message because I'm running the stat as user "otrs" on the server, rather than as an agent (and "otrs" is not an agent with a timezone setting)?
How can I set the value for timezone for everyone, and even have it apply when running stats from the otrs.Console.pl script?
"uninitialized value $TimeZone" When Running Stat
Moderator: crythias
-
- Znuny newbie
- Posts: 18
- Joined: 17 Jun 2011, 14:27
- Znuny Version: 4.0.12
- Real Name: Michael R. Haag
- Company: Madison County, NY
- Location: Madison County, NY
"uninitialized value $TimeZone" When Running Stat
OTRS 5.0.14 on CentOS release 6.7 (Final) with mysql Ver 15.1 Distrib 5.5.47-MariaDB database connected to an Active Directory for Agents and Customers.