After upgrading to 1.8.1.I restarted octoprint and since then cannot connect to it
What did you already try to solve it?
I tried to restart the service
I tried to stop the service and then start it again
I looked into the log file and these are the lines since the upgrades and see this
2022-05-31 18:56:34,065 - octoprint.plugins.softwareupdate - INFO - Saved version cache to disk
2022-05-31 18:57:06,236 - octoprint.plugins.softwareupdate - INFO - Starting update of octoprint to 1.8.1...
2022-05-31 18:57:45,295 - octoprint.plugins.softwareupdate - INFO - Update of octoprint to 1.8.1 successful!
2022-05-31 18:57:45,322 - octoprint.plugins.softwareupdate - INFO - Starting update of pi_support to 2022.3.28...
2022-05-31 18:58:03,176 - octoprint.plugins.softwareupdate - INFO - Update of pi_support to 2022.3.28 successful!
2022-05-31 18:58:03,208 - octoprint.plugins.softwareupdate - INFO - Saved update log to disk
2022-05-31 18:58:03,218 - octoprint.plugins.softwareupdate - INFO - Saved version cache to disk
2022-05-31 19:02:16,369 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2022-05-31 19:04:31,745 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from https://plugins.octoprint.org/plugins.json
"sudo service octoprint status" gives this result
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 Tue 2022-05-31 19:41:32 IDT; 8min ago
Process: 3604 ExecStart=/home/pi/OctoPrint/venv/bin/octoprint (code=exited, status=1/FAILURE)
Main PID: 3604 (code=exited, status=1/FAILURE)
May 31 19:41:32 raspberrypi4 octoprint[3604]: working_set = WorkingSet._build_master()
May 31 19:41:32 raspberrypi4 octoprint[3604]: File "/home/pi/OctoPrint/venv/lib/python3.7/site-packages/pkg_resources/init.py", line 585, in _build_master
May 31 19:41:32 raspberrypi4 octoprint[3604]: return cls._build_from_requirements(requires)
May 31 19:41:32 raspberrypi4 octoprint[3604]: File "/home/pi/OctoPrint/venv/lib/python3.7/site-packages/pkg_resources/init.py", line 598, in _build_from_requirements
May 31 19:41:32 raspberrypi4 octoprint[3604]: dists = ws.resolve(reqs, Environment())
May 31 19:41:32 raspberrypi4 octoprint[3604]: File "/home/pi/OctoPrint/venv/lib/python3.7/site-packages/pkg_resources/init.py", line 786, in resolve
May 31 19:41:32 raspberrypi4 octoprint[3604]: raise DistributionNotFound(req, requirers)
May 31 19:41:32 raspberrypi4 octoprint[3604]: pkg_resources.DistributionNotFound: The 'Jinja2>=3.0' distribution was not found and is required by flask
May 31 19:41:32 raspberrypi4 systemd[1]: octoprint.service: Main process exited, code=exited, status=1/FAILURE
May 31 19:41:32 raspberrypi4 systemd[1]: octoprint.service: Failed with result 'exit-code'.
that looks like a failed upgrade. Try this. SSH to the pi and run the following the command (replace pi with different username if it was changed from default).
/home/pi/oprint/bin/pip install --force-reinstall --no-cache-dir OctoPrint==1.8.1
sudo service octoprint restart
Thanks Charlie for the reply. Im looking for info on serial port error after upgrading to 1.8.1 yesterday. Damn Pi cannot find my printer via Octoprint.