mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-21 17:20:36 -05:00
Setting timezone in docker compose has no effect #639
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Ahim13 on GitHub (Sep 2, 2025).
Hi,
I'm having problems with 2FA, found out the issue is the time difference.
Pangolin using UTC. Tried to change the docker compose with no success.
I tried adding the environment variable TZ=Budapest
and also tried adding these to the volumes:
Still after recreating the containers, it says UTC when execing into it and giving the date command.
Any solution to change the timezone for the Pangolin container?
@hussainalhaddad commented on GitHub (Sep 2, 2025):
Hi @Ahim13
TZ must be in format TZ=Europe/Budapest
@Ahim13 commented on GitHub (Sep 2, 2025):
yes, sorry in the example I wrote it incorrectly
I am using TZ=Europe/Budapest also tried TZ: Europe/Budapest in the compose file
@oschwartz10612 commented on GitHub (Sep 2, 2025):
Usually 2fa works fine if the time of the server is UTC and not your
local time zone because its smart enough to know the time difference.
Usually this becomes a problem if the actual time is wrong like a couple
of minutes off - is that the case?
@Ahim13 commented on GitHub (Sep 2, 2025):
The minutes are accurate / correct, only the hours are off as its in UTC and not CEST.
So far that's the only possible cause I found why 2FA wouldnt work.
@oschwartz10612 commented on GitHub (Sep 4, 2025):
Funny question but is the time on your computer off at all? It should be
correct in minutes and seconds.
Have you tried both UTC and CEST and neither work?
@Ahim13 commented on GitHub (Sep 10, 2025):
The minutes and seconds both are correct, only the hours differ, everything else matches.
How do you mean I tried UTC and CEST? Change the region of my phone to UTC to match the the docker region?
I tried changin the docker (Pangolin) region/time to CEST but that did not work, it just wont go to CEST, always shows UTC time.
@github-actions[bot] commented on GitHub (Sep 25, 2025):
This issue has been automatically marked as stale due to 14 days of inactivity. It will be closed in 14 days if no further activity occurs.
@iconoclasthero commented on GitHub (Oct 2, 2025):
#1025
https://github.com/orgs/fosrl/discussions/1025
@github-actions[bot] commented on GitHub (Oct 17, 2025):
This issue has been automatically marked as stale due to 14 days of inactivity. It will be closed in 14 days if no further activity occurs.
@github-actions[bot] commented on GitHub (Oct 31, 2025):
This issue has been automatically closed due to inactivity. If you believe this is still relevant, please open a new issue with up-to-date information.