Describe the bug
The console time (in the logs) is 1 hour behind the system time (of dedicated server/ubuntu). Schedules are correct and the time zone is set up correctly in the env-file:
APP_TIMEZONE=Europe/Berlin
To Reproduce
Steps to reproduce the behavior:
Open console log files, compare with system time
Expected behavior
Have console time the same as system time.
What is the output from timedatectl | grep “Time zone” on your system.
This:

I had the same problem, added tzdata to the Egg installation script and added the variable "TZ=America/Sao_Paulo" to the container and solved...
Thank you @gabrielvinhais
@bloggy Let us know if that solution didn't work and we'll take another look
I had the same problem, added tzdata to the Egg installation script and added the variable "TZ=America/Sao_Paulo" to the container and solved...
Egg installation script? I have pterodactyl already running and I am not able to reinstall all the stuff again. How can I fix this on a running ptero?
I tried this (but did not work, it still gives the wrong time):
docker run -e TZ=Europe/Berlin ubuntu date
It looks like just adding a variable to the server is all that is needed.
And how would I do it? I tried several things, but nothing worked.
You add an environment variable to the docker-compose.yml.
Can you tell me the line that I need to add? And where can I find the docker-compose.yml ? Thanks for your help!
Or add it as a variable to your server
I don't know what's better, but how can I do it? Can you give me some instructions?
Actually it's 2 hours difference to the real time now due to switching to summer time in europe. A fix or step-by-step instruction on how to fix this issue would be appreciated.
Still no reply on how to fix this in detail :-( Any suggestions or step-by-step instruction?
This has already been fixed in the Wings 1.0 beta, as a temporary work around you can add a variable to the egg your server using the following settings.
This has already been fixed in the
Wings 1.0beta, as a temporary work around you can add a variable to the egg your server is using the following settings.
Thank you @matthewpi I will test this. In your screenshot you have set "UTC" as timezone. Is this correct for me, too? because another user replied here and mentioned I need to set "Europe/Berlin" as timezone (our server is located in Germany) ?
And what about summer/winter time? Will it automatically add and remove 1 hour as soon as winter / summer time changes?
The list of timezones on wikipedia should be "safe" for setting as a timezone. UTC is GMT so it would be behind you by 1 or 2 hours by daylights savings time
https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
The list of timezones on wikipedia should be "safe" for setting as a timezone. UTC is GMT so it would be behind you by 1 or 2 hours by daylights savings time
https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
so instead of UTC I have to set "Europe/Berlin", right? (our server is located in Germany)
and will it work immediately after changing it or do I need to restart anything?
Tested today and doesn't work. Maybe I need to add something to server's startup parameters?
Most helpful comment
I had the same problem, added tzdata to the Egg installation script and added the variable "TZ=America/Sao_Paulo" to the container and solved...
https://serverfault.com/a/683651