v.19.11Improvement

Use UTC as Default Timezone on a System Without Tzdata (e.g

Use UTC as default timezone on a system without tzdata (e.g. bare Docker container). Before this patch, error message Could not determine local time zone was printed and server or client refused to start. #5827 (alexey-milovidov)
ClickHouse now defaults to using the UTC timezone on systems without the tzdata package installed, such as bare Docker containers.

Why it matters

Previously, on systems without timezone data, ClickHouse failed to start with the error Could not determine local time zone. This feature ensures that the server and client can start reliably by defaulting to UTC, improving usability in minimal or containerized environments.

How to use it

No explicit action is needed. ClickHouse will automatically use the UTC timezone if the system lacks timezone data (tzdata), allowing it to start without errors.