You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2019-02-15 12:30:31

Oriental
Member
Registered: 2019-02-15
Posts: 2

TimeZone Issue

Hi!

I set up GLPI 9.4.0 on CentOS 7.

Got almost everything works well but cannot resolve problem with timezone.
At GLPI enviroment I see GMT time instead of GMT+3 that actually my timezone
I made all changes in php.ini, checked if php.ini loaded and made all actions that i found on forums and on google with no luck at all.
Restarted not only httpd but entire server
Below some CLI's :
#######################################
# php -r "phpinfo();" | grep date
date
date/time support => enabled
date.timezone => Europe/Moscow => Europe/Moscow
#######################################
# php -i | grep 'Configuration File'
Configuration File (php.ini) Path => /home/glpi_admin/php7/usr/etc
Loaded Configuration File => /home/glpi_admin/php7/usr/etc/php.ini
#######################################
# timedatectl
      Local time: Fri 2019-02-15 13:00:29 MSK
      Universal time: Fri 2019-02-15 10:00:29 UTC
      RTC time: Fri 2019-02-15 10:00:29
      Time zone: Europe/Moscow (MSK, +0300)
      NTP enabled: yes
      NTP synchronized: yes
      RTC in local TZ: no
      DST active: n/a
#######################################

May be it happens because of wiered path to php.ini. I do understand that problem somewhere there,
but cannot imagine next step to dig, so asking community for help

Thank you in advance

Last edited by Oriental (2019-02-15 12:31:25)

Offline

#2 2019-02-18 08:03:44

ict
Member
Registered: 2016-11-23
Posts: 32

Re: TimeZone Issue

Hi

I think we have this problem too since the new installation we made. Our GLPI is 1 hour behind.

greetings

Offline

#3 2019-02-21 08:47:08

Oriental
Member
Registered: 2019-02-15
Posts: 2

Re: TimeZone Issue

Hi to all,

The problem still presist but went deeper as i installed "Timezones" plug-in mabe by Olivier Moron
And it somehow point me on MySQL on tables 'timezone...' offered to make actions as it described
in article "Populating the Time Zone Tables" in MySQL tutorial
Ofcourse everything is ok with timezones and current time on the MySQL host which is separate machine in my configuration.

This plug-in fixed timezone issue for my and for any other logins, but agents during connection sessions still "thinks" that UTC is allright.

I wonder if someone can point me on where i can change default timezone in MySQL base in GLPI base...

Offline

Board footer

Powered by FluxBB