All attempts to update from 1.6.1 to 1.7.2 Fail

What is the problem?

Attempting to update from 1.6.1 to 1.7.2 fails.

What did you already try to solve it?

Log check, forum search

Have you tried running in safe mode?

No

Did running in safe mode solve the problem?

N/A

Systeminfo Bundle

You can download this in OctoPrint's System Information dialog ... no bundle, no support!)

connectivity.connection_check: 1.1.1.1:53
connectivity.connection_ok: true
connectivity.enabled: true
connectivity.online: true
connectivity.resolution_check: octoprint.org
connectivity.resolution_ok: true
env.hardware.cores: 4
env.hardware.freq: 1400
env.hardware.ram: 918192128
env.os.bits: 32
env.os.id: linux
env.os.platform: linux2
env.plugins.pi_support.model: Raspberry Pi 3 Model B Plus Rev 1.3
env.plugins.pi_support.octopi_version: 0.15.1
env.plugins.pi_support.throttle_state: 0x0
env.python.pip: 19.0.1
env.python.version: 2.7.13
env.python.virtualenv: true
octoprint.safe_mode: false
octoprint.version: 1.6.1
printer.firmware: Marlin 2.0.5.4 (GitHub)
systeminfo.generator: systemapi

Additional information about your setup

OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible

OctoPrint 1.6.1, Ender 3, iMakr STARTT, win10

Here are my softwareupdater.logs

2021-12-18 08:58:13,784   /home/pi/oprint/bin/python2 -m pip --disable-pip-version-check install https://github.com/OctoPrint/OctoPrint/archive/1.7.2.zip --no-cache-dir
2021-12-18 08:58:17,192 > Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
2021-12-18 08:58:17,196 > Collecting https://github.com/OctoPrint/OctoPrint/archive/1.7.2.zip
2021-12-18 08:58:17,197 > Downloading https://github.com/OctoPrint/OctoPrint/archive/1.7.2.zip (6.6MB)
2021-12-18 08:58:23,426 > Requirement already satisfied: OctoPrint-FileCheck>=2021.2.23 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.2) (2021.2.23)
2021-12-18 08:58:23,429 > Collecting OctoPrint-FirmwareCheck>=2021.10.11 (from OctoPrint==1.7.2)
2021-12-18 08:58:26,721 > Downloading https://files.pythonhosted.org/packages/53/1a/6b0aa071e4c36478008041bb5ef071b1d3299c98379d51e0f323da9a374e/OctoPrint_FirmwareCheck-2021.10.11-py2.py3-none-any.whl
2021-12-18 08:58:26,722 > Requirement already satisfied: OctoPrint-PiSupport>=2021.10.28 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.2) (2021.10.28)
2021-12-18 08:58:26,723 > Requirement already satisfied: markupsafe<2.0,>=1.1 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.2) (1.1.1)
2021-12-18 08:58:26,724 > Requirement already satisfied: markdown<3.2,>=3.1 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.2) (3.1.1)
2021-12-18 08:58:26,725 > Requirement already satisfied: regex!=2018.11.6 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.2) (2018.2.21)
2021-12-18 08:58:26,726 > Requirement already satisfied: wrapt<1.13,>=1.12.1 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.2) (1.12.1)
2021-12-18 08:58:26,726 > Collecting flask<2,>=1.1.4 (from OctoPrint==1.7.2)
2021-12-18 08:58:26,727 > Downloading https://files.pythonhosted.org/packages/e8/6d/994208daa354f68fd89a34a8bafbeaab26fda84e7af1e35bdaed02b667e6/Flask-1.1.4-py2.py3-none-any.whl (94kB)
2021-12-18 08:58:26,728 > Collecting Jinja2<3,>=2.11.3 (from OctoPrint==1.7.2)
2021-12-18 08:58:26,729 > Downloading https://files.pythonhosted.org/packages/7e/c2/1eece8c95ddbc9b1aeb64f5783a9e07a286de42191b7204d67b7496ddf35/Jinja2-2.11.3-py2.py3-none-any.whl (125kB)
2021-12-18 08:58:26,733 > Requirement already satisfied: Flask-Login<0.6,>=0.5 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.2) (0.5.0)
2021-12-18 08:58:26,734 > Requirement already satisfied: Flask-Babel<2,>=1.0 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.2) (1.0.0)
2021-12-18 08:58:26,735 > Requirement already satisfied: Flask-Assets<3,>=2.0 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.2) (2.0)
2021-12-18 08:58:26,736 > Requirement already satisfied: werkzeug<2,>=1.0.1 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.2) (1.0.1)
2021-12-18 08:58:26,737 > Requirement already satisfied: itsdangerous<2,>=1.1.0 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.2) (1.1.0)
2021-12-18 08:58:26,738 > Requirement already satisfied: cachelib<0.2,>=0.1 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.2) (0.1)
2021-12-18 08:58:26,738 > Collecting PyYAML<6,>=5.4.1 (from OctoPrint==1.7.2)
2021-12-18 08:58:27,907 > Downloading https://files.pythonhosted.org/packages/a0/a4/d63f2d7597e1a4b55aa3b4d6c5b029991d3b824b5bd331af8d4ab1ed687d/PyYAML-5.4.1.tar.gz (175kB)
2021-12-18 08:58:28,914 > Installing build dependencies: started
2021-12-18 08:58:51,944 > Installing build dependencies: finished with status 'done'
2021-12-18 08:58:51,948 > Getting requirements to build wheel: started
2021-12-18 08:59:15,972 > Getting requirements to build wheel: finished with status 'done'
2021-12-18 08:59:15,973 > Preparing wheel metadata: started
2021-12-18 08:59:17,978 > Preparing wheel metadata: finished with status 'error'
2021-12-18 08:59:17,978 > Complete output from command /home/pi/oprint/bin/python2 /home/pi/oprint/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /tmp/tmphMVwZg:
2021-12-18 08:59:17,981 > running dist_info
2021-12-18 08:59:17,984 > error: 'egg_base' must be a directory name (got `/tmp/pip-install-Hlig7b/PyYAML/pip-wheel-metadata`)
2021-12-18 08:59:17,985 > 
2021-12-18 08:59:17,986 > ----------------------------------------
2021-12-18 08:59:17,990 ! Command "/home/pi/oprint/bin/python2 /home/pi/oprint/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /tmp/tmphMVwZg" failed with error code 1 in /tmp/pip-install-Hlig7b/PyYAML

Hmm, that's a new one I think. Maybe try updating pip to the latest to make sure it is not a pip bug?

You can run ~/oprint/bin/pip install --upgrade pip from SSH, or enable pip update checks in the software update settings and update it from there.

As a side note, unrelated to this issue (hopefully) you should upgrade your install to use Python 3, since Python 2 is end of life and will soon be unsupported by OctoPrint. More details below.

Ahh, crap. Looks like I'm going to have to re-flash anyways. I'm on one of those versions that doesn't have a viable 3.6+ without a manual install, which I'm not doing.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.