docker-glpi icon indicating copy to clipboard operation
docker-glpi copied to clipboard

timezone

Open ahmaddxb opened this issue 3 years ago • 2 comments

I am having issues with timezone. Any ideas

image

ahmaddxb avatar Nov 11 '21 10:11 ahmaddxb

I was using MariaDB and this it what I did to get it working.

Command into mariadb container and run

mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -p -u root mysql

mysql -u root -p

GRANT SELECT ON mysql.time_zone_name TO 'glpi'@'localhost'; FLUSH PRIVILEGES;

restart mariadb container

command into glpi container and run

/var/www/html/glpi/bin/console glpi:migration:timestamps

restart gli container

ahmaddxb avatar Nov 11 '21 12:11 ahmaddxb

mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -p -u root mysql

I got command not found :/

uebmaster avatar Feb 27 '23 22:02 uebmaster