I updated today to the latest version of calibre-web, using a docker-compose.yaml file that’s very similar to the one on the page (I tweaked paths and the TZ value). It’s been working fine up until this update, but now when it starts, it ends up not fully starting up - the last messages in the log are:
calibre-web | Traceback (most recent call last):
calibre-web | File "/app/calibre-web/cps.py", line 31, in <module>
calibre-web | main()
calibre-web | File "/app/calibre-web/cps/main.py", line 26, in main
calibre-web | app = create_app()
calibre-web | File "/app/calibre-web/cps/__init__.py", line 173, in create_app
calibre-web | register_scheduled_tasks(config.schedule_reconnect)
calibre-web | File "/app/calibre-web/cps/schedule.py", line 55, in register_scheduled_tasks
calibre-web | scheduler = BackgroundScheduler()
calibre-web | File "/app/calibre-web/cps/services/background_scheduler.py", line 43, in __new__
calibre-web | cls.scheduler = BScheduler()
calibre-web | File "/usr/local/lib/python3.8/dist-packages/apscheduler/schedulers/base.py", line 87, in __init__
calibre-web | self.configure(gconfig, **options)
calibre-web | File "/usr/local/lib/python3.8/dist-packages/apscheduler/schedulers/base.py", line 131, in configure
calibre-web | self._configure(config)
calibre-web | File "/usr/local/lib/python3.8/dist-packages/apscheduler/schedulers/background.py", line 29, in _configure
calibre-web | super(BackgroundScheduler, self)._configure(config)
calibre-web | File "/usr/local/lib/python3.8/dist-packages/apscheduler/schedulers/base.py", line 701, in _configure
calibre-web | self.timezone = astimezone(config.pop('timezone', None)) or get_localzone()
calibre-web | File "/usr/local/lib/python3.8/dist-packages/tzlocal/unix.py", line 203, in get_localzone
calibre-web | _cache_tz = _get_localzone()
calibre-web | File "/usr/local/lib/python3.8/dist-packages/tzlocal/unix.py", line 161, in _get_localzone
calibre-web | tzenv = utils._tz_from_env()
calibre-web | File "/usr/local/lib/python3.8/dist-packages/tzlocal/utils.py", line 125, in _tz_from_env
calibre-web | raise ZoneInfoNotFoundError(
calibre-web | tzlocal.utils.ZoneInfoNotFoundError: 'tzlocal() does not support non-zoneinfo timezones like %s. \nPlease use a timezone in the form of Continent/City'
TZ is set in the docker-compose file to: Americas/Los_Angeles (Edited to fix typo)
Any assistance appreciated - if more info is needed, let me know what and I’ll let you know.
ETA: I tried a number of different release tags, and it looks like this was something that broken after the tag 0.6.18-ls167.