Closed charlescng closed 1 year ago
Fix https://github.com/charlescng/docker-containers/issues/25
Even though the system, PHP, database and user timezones are all set correctly, the graphs always uses UTC for its timeseries.
It appears that the graphs are using /etc/localtime, even though $TZ is set correctly in the container.
/etc/localtime
$TZ
The workaround is to link /etc/localtime to the right timezone based on the timezone setup in firstrun.sh.
firstrun.sh
Reference: https://forums.unraid.net/topic/75153-support-uberchuckie-observium/?do=findComment&comment=1073295
Fix https://github.com/charlescng/docker-containers/issues/25
Even though the system, PHP, database and user timezones are all set correctly, the graphs always uses UTC for its timeseries.
It appears that the graphs are using
/etc/localtime
, even though$TZ
is set correctly in the container.The workaround is to link
/etc/localtime
to the right timezone based on the timezone setup infirstrun.sh
.Reference: https://forums.unraid.net/topic/75153-support-uberchuckie-observium/?do=findComment&comment=1073295