My YunoHost server
Hardware: Raspberry Pi at home
YunoHost version: 4.0.7
I have access to my server : Through SSH | through the webadmin | direct access via keyboard
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
Description of my issue
I bought a Raspberry Pi 4 and run the pre-installed image with v4.0.4. Now I found out that every timstamp (Dokuwiki, Piwigo etc) is wrong by one hour.
When I ssh on my Raspberry and call
ls -l /etc/
then I can see that localtime is a symlink to /usr/share/zoneinfo/Europe/London. This is one hour away from my timezone and might explain the problem.
If I overwrite the symlink localtime so that it points to /usr/share/zoneinfo/Europe/Berlin then I get the correct time by calling “date”. But then every app is delivering a “Bad Gateway 502” error.
By switching back to London the error disappears again.
What is the correct way to change timezone of the server?
On my old YunoHost server that was running on a Raspberry Pi 3 I installed YunoHost manually. So I called raspi-config in the beginning.
I can’t remember having a setting to set the timezone on the pre-installed image for the Raspberry 4.