- 162
- 45
- NAS
- DS918+ (8GB RAM, 4x WD RED 4TB SHR) ; EATON Ellipse PRO 1200FR
- Operating system
- Windows
- Mobile operating system
- Android
Hi all,
A few weeks ago I noticed while working on my BitWardenRS installation that something was wrong with the time set on the DSM UI.
Not sure since when it started to be out of sync but even though I have the timezone set to the right location it shows 1h less than it actually is (see below).
I also figured out that the in SSH it was giving the wrong time even though the timezone seemed to be correctly configured in /etc/TZ echo $TZ was returning a blank line:
So based on some readings in other forums I decided to manually set the TZ var which allowed me to now show the right time:
Then I went back into the UI and the time was still out of sync there.
Cheked the logs and the time was also out of sync.
If I try in the UI to manually resync the time with the ntp, the TZ variable goes back to a blank line.
One more thing I noticed is that my my BitWardenRS has the right time since I have set TZ variable manually to "Europe/paris" but the logs show that my NAS and the container are out of sync :
Anyone has already encountered this issue and got it resolved ?
Thanks
A few weeks ago I noticed while working on my BitWardenRS installation that something was wrong with the time set on the DSM UI.
Not sure since when it started to be out of sync but even though I have the timezone set to the right location it shows 1h less than it actually is (see below).
I also figured out that the in SSH it was giving the wrong time even though the timezone seemed to be correctly configured in /etc/TZ echo $TZ was returning a blank line:
Code:
# more TZ
CET-1CEST,M3.5.0,M10.5.0/3
# echo $TZ
# date
Tue Jan 21 19:21:37 UTC 2020
So based on some readings in other forums I decided to manually set the TZ var which allowed me to now show the right time:
Code:
# export TZ="CET-1CEST,M3.5.0,M10.5.0/3"
# date
Tue Jan 21 20:21:45 CET 2020
Then I went back into the UI and the time was still out of sync there.
Cheked the logs and the time was also out of sync.
If I try in the UI to manually resync the time with the ntp, the TZ variable goes back to a blank line.
One more thing I noticed is that my my BitWardenRS has the right time since I have set TZ variable manually to "Europe/paris" but the logs show that my NAS and the container are out of sync :
Anyone has already encountered this issue and got it resolved ?
Thanks