openhab / openhab-docs

This repository contains the documentation for openHAB.
https://www.openhab.org/docs/
Other
270 stars 689 forks source link

Mention timezone configuration in the installation guide #727

Closed jango closed 3 years ago

jango commented 6 years ago

I have recently installed OH2 and got into some getting rules to fire at exact time because OH2 time was off from the system time (Ubuntu 18.04). The logs time was off too.

I fixed both by adding EXTRA_JAVA_OPTS="-Duser.timezone=Toronto/America" to /etc/default/openhab2 file.

Is this something that should be mentioned as part of the installation step? I can add if this makes sense.

Confectrician commented 6 years ago

Can you give some more information on the environment the problem existed?

I have installed openHAB through openHABian several times and never had such problems for example. So it seems to depend on the os and the way you have choosen to install OH2.