I have a timezone problem on two different servers running UCS 4.1 and 4.2.
No mather, if I choose UTC or Europe/Berlin, my local time is always displayed in CEST.
I noticed, that the file /etc/localtime is not a symlink to /usr/share/zoneinfo/xxx but a copy of it.
Also I diffed /usr/share/zoneinfo/UTC and /usr/share/zoneinfo/Europe/Berlin and noticed, that those files were identically, which I think, they shouldn’t.
When I diff those files on an Ubuntu server, they are different.
Were can I get to correct zoneinfos, because the installed ones are nuts.
And why are those files wrong?
Hopefully I receive a note with hints to fix this issues very soon.
Thanks in advanced.
On a third system I was able to find the correct UTC-file and copied it to the other servers.
Now, everything with timezones works correct.
But it would be interesting to know, why Univention copied the timezone-file from /usr/share/zoneinfo/Europe/Berlin to /usr/share/zoneinfo/UTC instead of /etc/localtime.
I have to reopen this thread, because it seems to be a bug which needs to be solved.
Today I sent an appointment from Kopano to my brother and noticed a two hour timediff.
I rechecked the file /usr/share/zoneinfo/UTC and voila, it was a copy of /usr/share/zoneinfo/posix/Europe/Berlin, again.
WHY?
Nothing should change those timezone-files within /usr/share/zoneinfo/ but Iit was overwritten the second time with invalid content.
Please check all your script timezone-changing-scripts, this is anoying.
you need to check if the your configured timezone-file differs from UTC
Unfortunatelly, I need to snapshot the command line, because single high commas are used for formatation in this forum.
If the output says, the files differ, then we need to dig deeper, if they don’t differ, then you need to replace it with the correct UTC file from a different installation.
if you md5sum /usr/share/zoneinfo/UTC you should get this return: c79354b8dbee09e62bbc3fb544853283 /usr/share/zoneinfo/UTC
I have to thank you a 1000 times
all three new installations had the same problem
i was too early yestarday and had to wait for 2h
the file is working!
i am escalating at ucs/kopano at the moment to get a fix to the repository!
Hi, great to hear that it works for you now. We could not reproduce this issue internally. You said that your new installations all have the issue of the wrong timezone file. Could you give us detailed information how you installed the UCS system?
Installation medium (DVD, virtual Appliance, …)
Which packages and apps were installed
Locale / Country / Date settings you chose
Other settings made during setup that were not the default choices
As @onex pointed out, /usr/share/zoneinfo/Europe/Berlin is for some reason copied to /usr/share/zoneinfo/UTC. This happens somewhere during the Docker App installation:
In Ubuntu based containers, /etc/localtime is a link, for example to /usr/share/zoneinfo/Etc/UTC. During the Docker installation, the App Center copies the file from the host into the container which overrides the file on the host. More details here: https://forge.univention.org/bugzilla/show_bug.cgi?id=44814