While importing some old images to immich via the cli like immich upload -r some_path. I faced the issue that the thumbnails of the images were broken due to a timezone issue. You could also have seen this in the logs.

I was able to resolve this issue by adding the TZ Variable to the .env file for the docker-compose config.