I just updated from stable to the current rc (rc3) from the UI and now octopi won't start. This is the error in the log.
How can I fix or rollback without reimaging octopi?
ImportError: cannot import name 'safe_str_cmp' from 'werkzeug.security' (/home/pi/oprint/lib/python3.7/site-packages/werkzeug/security.py)
2022-03-28 15:32:16,105 - octoprint.plugin.core - INFO - Found 18 plugin(s) providing 16 mixin implementations, 30 hook handlers
2022-03-28 15:32:16,121 - octoprint.cli.server - ERROR - Uncaught exception
Traceback (most recent call last):
File "/home/pi/oprint/bin/octoprint", line 8, in <module>
sys.exit(main())
File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/__init__.py", line 936, in main
octo(args=args, prog_name="octoprint", auto_envvar_prefix="OCTOPRINT")
File "/home/pi/oprint/lib/python3.7/site-packages/click/core.py", line 1130, in __call__
return self.main(*args, **kwargs)
File "/home/pi/oprint/lib/python3.7/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/home/pi/oprint/lib/python3.7/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/pi/oprint/lib/python3.7/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/pi/oprint/lib/python3.7/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/home/pi/oprint/lib/python3.7/site-packages/click/decorators.py", line 26, in new_func
return f(get_current_context(), *args, **kwargs)
File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/cli/server.py", line 330, in serve_command
disable_color=no_color,
File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/cli/server.py", line 145, in run_server
from octoprint.server import CannotStartServerException, Server
File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/server/__init__.py", line 33, in <module>
from flask_login import ( # noqa: F401
File "/home/pi/oprint/lib/python3.7/site-packages/flask_login/__init__.py", line 16, in <module>
from .login_manager import LoginManager
File "/home/pi/oprint/lib/python3.7/site-packages/flask_login/login_manager.py", line 24, in <module>
from .utils import (login_url as make_login_url, _create_identifier,
File "/home/pi/oprint/lib/python3.7/site-packages/flask_login/utils.py", line 13, in <module>
from werkzeug.security import safe_str_cmp
ImportError: cannot import name 'safe_str_cmp' from 'werkzeug.security' (/home/pi/oprint/lib/python3.7/site-packages/werkzeug/security.py)