Update from 1.6.1 to 1.7 fails

Today I've tried to update automatically from 1.6.1 to 1.7 and the update fails. Looked up the interwebs for information and no success, neither Google or the octoprint community has the same error.
I also, restarted the Pi and tried again with no success and as well in safe mode, but it won't update. Here's my sysinfo bundle:
octoprint-systeminfo-20211029070328.zip (74.4 KB)

The main error I'm getting is this one:

2021-10-29 06:26:57,538   /home/pi/oprint/bin/python2 -m pip --disable-pip-version-check install https://github.com/OctoPrint/OctoPrint/archive/1.7.0.zip --no-cache-dir
2021-10-29 06:27:06,718 > Collecting https://github.com/OctoPrint/OctoPrint/archive/1.7.0.zip
2021-10-29 06:27:07,737 > Downloading https://github.com/OctoPrint/OctoPrint/archive/1.7.0.zip (6.6 MB)
2021-10-29 06:27:39,952 > Requirement already satisfied: OctoPrint-FileCheck>=2021.2.23 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.0) (2021.2.23)
2021-10-29 06:27:43,613 > Collecting OctoPrint-FirmwareCheck>=2021.10.11
2021-10-29 06:27:43,622 > Downloading OctoPrint_FirmwareCheck-2021.10.11-py2.py3-none-any.whl (33 kB)
2021-10-29 06:27:43,624 > Requirement already satisfied: OctoPrint-PiSupport>=2021.8.2 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.0) (2021.10.28)
2021-10-29 06:27:43,627 > Requirement already satisfied: markupsafe<2.0,>=1.1 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.0) (1.1.1)
2021-10-29 06:27:43,629 > Requirement already satisfied: markdown<3.2,>=3.1 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.0) (3.1.1)
2021-10-29 06:27:43,632 > Requirement already satisfied: regex!=2018.11.6 in /home/pi/oprint/lib/python2.7/site-packages/regex-2017.06.23-py2.7-linux-armv7l.egg (from OctoPrint==1.7.0) (2017.6.23)
2021-10-29 06:27:43,648 > Requirement already satisfied: wrapt<1.13,>=1.12.1 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.0) (1.12.1)
2021-10-29 06:27:44,660 > Collecting flask<2,>=1.1.4
2021-10-29 06:27:44,665 > Downloading Flask-1.1.4-py2.py3-none-any.whl (94 kB)
2021-10-29 06:27:47,150 > Collecting Jinja2<3,>=2.11.3
2021-10-29 06:27:47,152 > Downloading Jinja2-2.11.3-py2.py3-none-any.whl (125 kB)
2021-10-29 06:27:47,155 > Requirement already satisfied: Flask-Login<0.6,>=0.5 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.0) (0.5.0)
2021-10-29 06:27:47,158 > Requirement already satisfied: Flask-Babel<2,>=1.0 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.0) (1.0.0)
2021-10-29 06:27:47,161 > Requirement already satisfied: Flask-Assets<3,>=2.0 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.0) (2.0)
2021-10-29 06:27:47,163 > Requirement already satisfied: werkzeug<2,>=1.0.1 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.0) (1.0.1)
2021-10-29 06:27:47,165 > Requirement already satisfied: itsdangerous<2,>=1.1.0 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.0) (1.1.0)
2021-10-29 06:27:47,168 > Requirement already satisfied: cachelib<0.2,>=0.1 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint==1.7.0) (0.1)
2021-10-29 06:27:49,696 > Collecting PyYAML<6,>=5.4.1
2021-10-29 06:27:49,700 > Downloading PyYAML-5.4.1.tar.gz (175 kB)
2021-10-29 06:27:53,723 > Installing build dependencies: started
2021-10-29 06:28:57,919 > Installing build dependencies: still running...
2021-10-29 06:28:57,920 > Installing build dependencies: finished with status 'done'
2021-10-29 06:28:57,928 > Getting requirements to build wheel: started
2021-10-29 06:28:57,930 > Getting requirements to build wheel: finished with status 'error'
2021-10-29 06:28:58,442 ! ERROR: Command errored out with exit status 1:
2021-10-29 06:29:01,146 ! command: /home/pi/oprint/bin/python2 /home/pi/oprint/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmpVHLgm6
2021-10-29 06:29:01,147 ! cwd: /tmp/pip-install-VgWz8R/PyYAML
2021-10-29 06:29:01,148 ! Complete output (4 lines):
2021-10-29 06:29:01,150 ! Traceback (most recent call last):
2021-10-29 06:29:01,152 ! File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py", line 15, in <module>
2021-10-29 06:29:01,153 ! from glob import glob
2021-10-29 06:29:01,154 ! ImportError: No module named glob
2021-10-29 06:29:01,156 ! ----------------------------------------
2021-10-29 06:29:01,664 ! ERROR: Command errored out with exit status 1: /home/pi/oprint/bin/python2 /home/pi/oprint/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmpVHLgm6 Check the logs for full command output.

Any idea on what to try before flashing a new SD card?
Thanks!

Hello @German_Torres !

For you are still running OctoPi 0.14.0, I'd recommend to do a new flash. The recent version includes OctoPrint 1.7.0

You can backup all of your settings and get them back during the setup of the new installation.

I was trying to avoid it, but seems easier now. Thanks for the time!

1 Like

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