[SOLVED] the time is not right


New Member
Oct 5, 2023
I have created a new lxc container with debian 12.
noticed that the time is offset by 2 hours....
I then wanted to use timedatectl status
change something... but no matter what has to do with timedatectl... is a problem....
get the feedback:
Failed to query server: Connection timed out

what am i doing wrong ?
You cannot set the time in an LX(C) container the way you would, because you only have ONE clock on the host. The offset is due to different timezones (I suppose e.g. UTC vs CEST, which is exactly 2h at the moment). Just run dpkg-reconfigure tzdata to configure the timezone correctly.


The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!