Invision Community 5: A video walkthrough creating a custom theme and homepage By Matt Thursday at 04:02 PM
Fernando Mercês Posted February 15, 2021 Posted February 15, 2021 (edited) Recently I noticed the following warning shown in ACP->Support->Something isn't working properly: Although times look ok in my Community v4.5.4.2, I started to investigate and found out that in fact there's a configuration directive we can use in php.ini to set our default timezone: But init.php replaces it in Community startup process, setting it to UTC-0: Is this correct? This way I can only get rid of this warning if I set my server to UTC, right? Is it recommended? Thanks, Fernando Edited February 21, 2021 by Fernando Mercês
Solution CoffeeCake Posted February 15, 2021 Solution Posted February 15, 2021 (edited) This means that the actual clock on your server appears to have drifted (in other words, it's 5:01 pm UTC right now, but your server's clock may be set to 5:45 pm or 4:30 pm, etc.). Make sure you are running something like NTP on your server. This message is not regarding your timezone. Edited February 15, 2021 by Paul E. Fernando Mercês 1
Fernando Mercês Posted February 21, 2021 Author Posted February 21, 2021 Nice! Thanks for this, @Paul E.! The following command did the job: sudo ntpdate ntp.cais.rnp.br But of course any NTP server would work here (time.windows.com, etc). Thanks again.
Recommended Posts