What is the problem?
After installing a plugin, octoprint fails and exits, cannot even start safe mode
nick@pi4-4-octopi:~ sudo systemctl status octoprint
β octoprint.service - The snappy web interface for your 3D printer
Loaded: loaded (/etc/systemd/system/octoprint.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2024-02-09 12:19:13 EST; 3s ago
Process: 844 ExecStart=/home/nick/oprint/bin/octoprint serve --host={HOST} --port=${PORT} (code=exited, status=1/FAILURE)
Main PID: 844 (code=exited, status=1/FAILURE)
CPU: 2.589s
Feb 09 12:19:13 pi4-4-octopi octoprint[844]: File "/home/nick/oprint/lib/python3.9/site-packages/octoprint/server/init.py", line 32, in
Feb 09 12:19:13 pi4-4-octopi octoprint[844]: from flask_babel import Babel, gettext, ngettext # noqa: F401
Feb 09 12:19:13 pi4-4-octopi octoprint[844]: File "/home/nick/oprint/lib/python3.9/site-packages/flask_babel/init.py", line 21, in
Feb 09 12:19:13 pi4-4-octopi octoprint[844]: from pytz import timezone, UTC
Feb 09 12:19:13 pi4-4-octopi octoprint[844]: File "/home/nick/oprint/lib/python3.9/site-packages/pytz/init.py", line 19, in
Feb 09 12:19:13 pi4-4-octopi octoprint[844]: from pytz.lazy import LazyDict, LazyList, LazySet # noqa
Feb 09 12:19:13 pi4-4-octopi octoprint[844]: ModuleNotFoundError: No module named 'pytz.lazy'
Feb 09 12:19:13 pi4-4-octopi systemd[1]: octoprint.service: Main process exited, code=exited, status=1/FAILURE
Feb 09 12:19:13 pi4-4-octopi systemd[1]: octoprint.service: Failed with result 'exit-code'.
Feb 09 12:19:13 pi4-4-octopi systemd[1]: octoprint.service: Consumed 2.589s CPU time.
What did you already try to solve it?
I tried restarting the pi, the service, and safe mode. I also tried reinstalling pytz
Have you tried running in safe mode?
yes
Did running in safe mode solve the problem?
no
Systeminfo Bundle
how can I download this from the CLI? the octoprint server will not start the gui
Additional information about your setup
OctoPrint version : 1.9.3
OctoPi version : 1.0.0
I can access the pi via ssh and do whatever is needed. Ideally I'd like to trigger a backup and export it via WinSCP. I don't care about reimaging, I just want to keep my sliced files and folder structure.