You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
First of all, having different timezones inside the same "infrastructure" is a bad practice. If you have many datacenter across the world you can apply different timezone, but in my mind you must locate glpi and it's database in the same area to avoid this situation.
Then, as I read here https://glpi-install.readthedocs.io/en/develop/timezones.html the issue is more related to mysql missing configuration than glpi missing configuration.
Since docker image version 2.4.2, the timezone setting is supported in php.
I suggest you to apply the glpi recomendation on your mysql database.
If mariadb container have another time/timezone then example here /front/crontask.php will be last run time from mariaDB.
https://glpi-install.readthedocs.io/en/develop/timezones.html
short workaround:
ocker exec -it mariadb /bin/sh -c "export TZ='Europe/Warsaw'"
docker exec -it mariadb /bin/sh -c "rm /etc/localtime"
docker exec -it mariadb /bin/sh -c "ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone"
The text was updated successfully, but these errors were encountered: