2023-11-12 18:22:43,583 - octoprint.plugins.softwareupdate - ERROR - Update of octoprint can not be performed, please also check plugin_softwareupdate_console.log for possible causes of this
Traceback (most recent call last):
File "/home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/softwareupdate/init.py", line 987, in _perform_update
update_result = updater.perform_update(target, populated_check, target_version, log_cb=self._log, online=online)
File "/home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/softwareupdate/updaters/pip.py", line 116, in perform_update
raise exceptions.UpdateError("Error while executing pip install", (stdout, stderr))
UpdateError
2023-11-12 18:22:55,054 - octoprint.server.heartbeat - INFO - Server heartbeat <3
I followed what it said in the blog (I had done this previously before coming to forum for help), but I did it again anyhow with the same result on Step 2.
pi@octopi:~ curl -L https://get.octoprint.org/py3/upgrade.py --output upgrade. py
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 154 100 154 0 0 1149 0 --:--:-- --:--:-- --:--:-- 1140
100 27973 100 27973 0 0 80151 0 --:--:-- --:--:-- --:--:-- 80151
pi@octopi:~ python3 upgrade.py
OctoPrint Upgrade to Py 3 (v2.2.2)
This script will move your existing OctoPrint configuration from Python 2 to Pyt hon 3
This script requires an internet connection and it will disrupt any ongoing prin t jobs.
It will install the latest version of OctoPrint and all plugins.
No configuration or other files will be overwritten
Press [enter] to continue or ctrl-c to quit
Checking system info...
Detected OctoPi version 0.17.0
Found version: Python 2.7.16
Checking OctoPrint version...
OctoPrint version: 1.3.12
Please upgrade to an OctoPrint version >= 1.4.0 for Python 3 compatibility
pi@octopi:~ $
/home/pi/oprint/bin/pip install octoprint==1.4.0 should do that bit and then maybe the update script will be happy to get you to python3. Honestly, I would just create a backup, download backup, reflash the SD card with the latest version and restore the backup during the initial setup wizard of OctoPrint.