premiumizer
premiumizer copied to clipboard
Docker container not working
Hello, docker container crashes on start at least from tag 2fe980f5. V. d9c2e342 is working with at least the following error: uploads nzb from blackhole folder, but it does not download.
attaching log:
date stream content
2023-02-05T04:06:06.236314940Z stdout tzlocal.utils.ZoneInfoNotFoundError: 'tzlocal() does not support non-zoneinfo timezones like %s. \nPlease use a timezone in the form of Continent/City'
2023-02-05T04:06:06.236250356Z stdout raise ZoneInfoNotFoundError(
2023-02-05T04:06:06.236071397Z stdout File "/usr/local/lib/python3.10/site-packages/tzlocal/utils.py", line 125, in _tz_from_env
2023-02-05T04:06:06.235984573Z stdout tzenv = utils._tz_from_env()
2023-02-05T04:06:06.235913062Z stdout File "/usr/local/lib/python3.10/site-packages/tzlocal/unix.py", line 161, in _get_localzone
2023-02-05T04:06:06.235856135Z stdout _cache_tz = _get_localzone()
2023-02-05T04:06:06.235760614Z stdout File "/usr/local/lib/python3.10/site-packages/tzlocal/unix.py", line 203, in get_localzone
2023-02-05T04:06:06.235666446Z stdout self.timezone = astimezone(config.pop('timezone', None)) or get_localzone()
2023-02-05T04:06:06.235589571Z stdout File "/usr/local/lib/python3.10/site-packages/apscheduler/schedulers/base.py", line 701, in _configure
2023-02-05T04:06:06.235524623Z stdout self._configure(config)
2023-02-05T04:06:06.235451080Z stdout File "/usr/local/lib/python3.10/site-packages/apscheduler/schedulers/base.py", line 131, in configure
2023-02-05T04:06:06.235377486Z stdout self.configure(gconfig, **options)
2023-02-05T04:06:06.235295298Z stdout File "/usr/local/lib/python3.10/site-packages/apscheduler/schedulers/base.py", line 87, in init
2023-02-05T04:06:06.235240715Z stdout scheduler = APScheduler(GeventScheduler())
2023-02-05T04:06:06.235170141Z stdout File "/app/premiumizer.py", line 2758, in
I got the same problem
This might be because of a missing docker environment variable named 'TZ' containing your time zone.
I did put TZ variable.