"Why is there a timezone error in Metrica/Web?"
Certain graphs which require or uses timing information will not be able to generate correct graph output.
Methods which can be use to check and modify the timezone:
1) Change .profile timezone.
The global variable environment is set in .profile. Hence, we would need to change the .profile timezone.
Sample of .profile is shown below :
$ cat .profile
$ env | grep TZ
2) Inside webconfig.sh OR etc/TIMEZONE
In the webconfig.sh file, we can set the environment, example as shown below:
(a) Open a file call TIMEZONE located at /etc/TIMEZONE.
(b) Sample content for TIMEZONE file :
# @(#)init.dfl 1.2 92/11/26
# This file is /etc/default/init. /etc/TIMEZONE is a symlink to this file.
# This file looks like a shell script, but it is not. To maintain
# compatibility with old versions of /etc/TIMEZONE, some shell constructs
# (i.e., export commands) are allowed in this file, but are ignored.
# Lines of this file should be of the form VAR=value, where VAR is one of
# TZ, LANG, or any of the LC_* environment variables.
(c) Modify the TIMEZONE file by setting the TZ. Since the .profile has been set to MEST, using MEST as example, modification done as follows :
Original in /etc/TIMEZONE:
Modified in /etc/TIMEZONE:
(d) Restart the webserver to take effect.