Background (please complete the following information):
Describe the bug
So i noticed after i upgraded ptero to 1.0.0 (coming from 0.7) the timezone in all server is messed, yeah i found some closed issues on github, but is still not clear if is a know issue or you say that is a misconfigured system (as you wills see here is all correct), i feel that i have to open a new one about this, so i check these:
Panel: php -v PHP 7.4.11 (cli) (built: Oct 10 2020 19:44:50) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.11, Copyright (c), by Zend Technologies
Daemon: uname -a and docker info
Linux ns31182259 4.15.0-118-generic #119-Ubuntu SMP Tue Sep 8 12:30:01 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Client:
Debug Mode: false
Server:
Containers: 30
Running: 28
Paused: 0
Stopped: 2
Images: 6
Server Version: 19.03.8
Storage Driver: overlay2
Backing Filesystem:
Supports d_type: true
Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 7ad184331fa3e55e52b890ea95e65ba581ae3429
runc version: dc9208a3303feef5b3839f4323d9beb36df0a9dd
init version: fec3683
Security Options:
apparmor
seccomp
Profile: default
Kernel Version: 4.15.0-118-generic
Operating System: Ubuntu 18.04.4 LTS
OSType: linux
Architecture: x86_64
CPUs: 48
Total Memory: 187.6GiB
Name: ns31182259
ID: GBRA:33TN:D5LH:YEXR:QM5Y:WHON:EUAB:M6IX:WVNA:QQ5D:7S67:3PGZ
Docker Root Dir: /var/lib/docker
Debug Mode: false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
WARNING: No swap limit support
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Wings should use local time instead universal one
Dane, before you refer to #2239 (comment) again, can we verify that the eggs included in the panel actually work with the stuff that's in place for timezones right now?
@xion87 what egg(s) are you using?
In regards to https://github.com/pterodactyl/panel/issues/2239#issuecomment-675213274, setting TZ env var will have no effect unless tzdata package is installed within container (which is normally not).
@schrej
I am using minecraft/paper egg but it affect also all kind of eggs (Teamspeak/Sinusbot/Redbot)
Steamcmd servers (in my case, CS:GO and HLDS) are also affected.
For now i added to minecraft server the startup flag "-Duser.timezone=Europe/Rome" for cover the issue,, and i noticed panel tasks are working fine at right time
panel tasks are parsed separate from the servers.
As mentioned in the commit that closed this, if there are still images behaving incorrectly those will need to be fixed individually to respect the TZ= environment variable.
Most helpful comment
As mentioned in the commit that closed this, if there are still images behaving incorrectly those will need to be fixed individually to respect the
TZ=environment variable.