Updating from 1.9.3 to >1.10.0 keeps failing

What is the problem?

I have made multiple attempts to update to version 1.10.0 but everytime I do so it all goes smooth until the Building wheel for zeroconf (pyproject.toml) process starts and then my Pi seems to crash and become unavailable, I am forced to take the power off and let it reboot to get it working again.

What did you already try to solve it?

Tried in safe mode, same result.

Have you tried running in safe mode?

Yes same result.

Did running in safe mode solve the problem?

No

Systeminfo Bundle

octoprint-systeminfo-20240518182701.zip (33.1 KB)

Additional information about your setup

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

Device: Orange Pi Zero
Octoprint: 1.9.3
pip: 23.3.2
version: 3.11.2

Full Update log from webinterface:

Updating, please wait.

++++++++++++++++++++++++++++++++
Now updating OctoPrint to 1.10.1
++++++++++++++++++++++++++++++++
/home/octo/OctoPrint/venv/bin/python -m pip --disable-pip-version-check install https://github.com/OctoPrint/OctoPrint/archive/1.10.1.zip --no-cache-dir
Collecting https://github.com/OctoPrint/OctoPrint/archive/1.10.1.zip
Downloading https://github.com/OctoPrint/OctoPrint/archive/1.10.1.zip (6.4 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.4/6.4 MB 3.9 MB/s eta 0:00:00
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Requirement already satisfied: OctoPrint-FileCheck>=2021.2.23 in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from OctoPrint==1.10.1) (2024.3.27)
Requirement already satisfied: OctoPrint-FirmwareCheck>=2021.10.11 in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from OctoPrint==1.10.1) (2021.10.11)
Requirement already satisfied: OctoPrint-PiSupport>=2023.10.10 in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from OctoPrint==1.10.1) (2023.10.10)
Collecting argon2-cffi>=23.1.0 (from OctoPrint==1.10.1)
Downloading argon2_cffi-23.1.0-py3-none-any.whl.metadata (5.2 kB)
Requirement already satisfied: Babel<2.13,>=2.12.1 in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from OctoPrint==1.10.1) (2.12.1)
Requirement already satisfied: cachelib<0.11,>=0.10.2 in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from OctoPrint==1.10.1) (0.10.2)
Requirement already satisfied: Click<9,>=8.1.7 in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from OctoPrint==1.10.1) (8.1.7)
Requirement already satisfied: colorlog<7,>=6.7.0 in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from OctoPrint==1.10.1) (6.8.0)
Collecting emoji<3,>=2.10.1 (from OctoPrint==1.10.1)
Downloading emoji-2.11.1-py2.py3-none-any.whl.metadata (5.3 kB)
Requirement already satisfied: feedparser<7,>=6.0.11 in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from OctoPrint==1.10.1) (6.0.11)
Requirement already satisfied: filetype<2,>=1.2.0 in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from OctoPrint==1.10.1) (1.2.0)
Requirement already satisfied: Flask-Assets<3,>=2.1.0 in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from OctoPrint==1.10.1) (2.1.0)
Requirement already satisfied: Flask-Babel<4,>=3.1.0 in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from OctoPrint==1.10.1) (3.1.0)
Requirement already satisfied: Flask-Login<0.7,>=0.6.3 in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from OctoPrint==1.10.1) (0.6.3)
Requirement already satisfied: Flask-Limiter<4,>=3.5.0 in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from OctoPrint==1.10.1) (3.5.0)
Requirement already satisfied: flask<2.3,>=2.2.3 in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from OctoPrint==1.10.1) (2.2.5)
Collecting frozendict<3,>=2.4.0 (from OctoPrint==1.10.1)
Downloading frozendict-2.4.4-py311-none-any.whl.metadata (23 kB)
Requirement already satisfied: future<1,>=0.18.3 in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from OctoPrint==1.10.1) (0.18.3)
Collecting markdown<3.5,>=3.4.4 (from OctoPrint==1.10.1)
Downloading Markdown-3.4.4-py3-none-any.whl.metadata (6.9 kB)
Requirement already satisfied: netaddr<0.9,>=0.8 in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from OctoPrint==1.10.1) (0.8.0)
Requirement already satisfied: netifaces<0.12,>=0.11.0 in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from OctoPrint==1.10.1) (0.11.0)
Requirement already satisfied: passlib<2,>=1.7.4 in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from OctoPrint==1.10.1) (1.7.4)
Requirement already satisfied: pathvalidate<3,>=2.5.2 in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from OctoPrint==1.10.1) (2.5.2)
Requirement already satisfied: pkginfo<2,>=1.9.6 in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from OctoPrint==1.10.1) (1.9.6)
Collecting psutil<6,>=5.9.8 (from OctoPrint==1.10.1)
Downloading psutil-5.9.8.tar.gz (503 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 503.2/503.2 kB 9.4 MB/s eta 0:00:00
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Requirement already satisfied: pydantic==1.10.12 in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from OctoPrint==1.10.1) (1.10.12)
Requirement already satisfied: pylru<2,>=1.2.1 in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from OctoPrint==1.10.1) (1.2.1)
Requirement already satisfied: pyserial<4,>=3.5 in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from OctoPrint==1.10.1) (3.5)
Requirement already satisfied: pytz in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from OctoPrint==1.10.1) (2023.3.post1)
Requirement already satisfied: PyYAML<7,>=6.0.1 in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from OctoPrint==1.10.1) (6.0.1)
Requirement already satisfied: requests<3,>=2.31.0 in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from OctoPrint==1.10.1) (2.31.0)
Requirement already satisfied: sarge==0.1.7.post1 in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from OctoPrint==1.10.1) (0.1.7.post1)
Requirement already satisfied: semantic-version<3,>=2.10.0 in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from OctoPrint==1.10.1) (2.10.0)
Collecting sentry-sdk<2,>=1.40.0 (from OctoPrint==1.10.1)
Downloading sentry_sdk-1.45.0-py2.py3-none-any.whl.metadata (9.9 kB)
Requirement already satisfied: setuptools in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from OctoPrint==1.10.1) (66.1.1)
Collecting tornado<6.3,>=6.2 (from OctoPrint==1.10.1)
Downloading tornado-6.2.tar.gz (504 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 504.8/504.8 kB 9.7 MB/s eta 0:00:00
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Requirement already satisfied: watchdog<3,>=2.3.1 in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from OctoPrint==1.10.1) (2.3.1)
Collecting websocket-client==1.6.1 (from OctoPrint==1.10.1)
Downloading websocket_client-1.6.1-py3-none-any.whl.metadata (7.6 kB)
Requirement already satisfied: werkzeug<2.3,>=2.2.3 in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from OctoPrint==1.10.1) (2.2.3)
Requirement already satisfied: wrapt<1.16,>=1.15 in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from OctoPrint==1.10.1) (1.15.0)
Collecting zeroconf~=0.127 (from OctoPrint==1.10.1)
Downloading zeroconf-0.132.2.tar.gz (170 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 170.7/170.7 kB 11.0 MB/s eta 0:00:00
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Requirement already satisfied: zipstream-ng<2.0.0,>=1.7.1 in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from OctoPrint==1.10.1) (1.7.1)
Collecting blinker<1.7.0,>=1.6.3 (from OctoPrint==1.10.1)
Downloading blinker-1.6.3-py3-none-any.whl.metadata (1.9 kB)
Requirement already satisfied: class-doc<0.3,>=0.2.6 in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from OctoPrint==1.10.1) (0.2.6)
Requirement already satisfied: regex in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from OctoPrint==1.10.1) (2023.12.25)
Requirement already satisfied: unidecode in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from OctoPrint==1.10.1) (1.3.7)
Requirement already satisfied: wheel in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from OctoPrint==1.10.1) (0.38.4)
Requirement already satisfied: typing-extensions>=4.2.0 in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from pydantic==1.10.12->OctoPrint==1.10.1) (4.9.0)
Requirement already satisfied: argon2-cffi-bindings in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from argon2-cffi>=23.1.0->OctoPrint==1.10.1) (21.2.0)
Requirement already satisfied: more-itertools>=5.0.0 in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from class-doc<0.3,>=0.2.6->OctoPrint==1.10.1) (10.1.0)
Requirement already satisfied: sgmllib3k in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from feedparser<7,>=6.0.11->OctoPrint==1.10.1) (1.0.0)
Requirement already satisfied: Jinja2>=3.0 in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from flask<2.3,>=2.2.3->OctoPrint==1.10.1) (3.1.2)
Requirement already satisfied: itsdangerous>=2.0 in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from flask<2.3,>=2.2.3->OctoPrint==1.10.1) (2.1.2)
Requirement already satisfied: webassets>=2.0 in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from Flask-Assets<3,>=2.1.0->OctoPrint==1.10.1) (2.0)
Requirement already satisfied: limits>=2.8 in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from Flask-Limiter<4,>=3.5.0->OctoPrint==1.10.1) (3.7.0)
Requirement already satisfied: ordered-set<5,>4 in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from Flask-Limiter<4,>=3.5.0->OctoPrint==1.10.1) (4.1.0)
Requirement already satisfied: rich<14,>=12 in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from Flask-Limiter<4,>=3.5.0->OctoPrint==1.10.1) (13.7.0)
Requirement already satisfied: charset-normalizer<4,>=2 in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from requests<3,>=2.31.0->OctoPrint==1.10.1) (3.3.2)
Requirement already satisfied: idna<4,>=2.5 in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from requests<3,>=2.31.0->OctoPrint==1.10.1) (3.6)
Requirement already satisfied: urllib3<3,>=1.21.1 in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from requests<3,>=2.31.0->OctoPrint==1.10.1) (2.1.0)
Requirement already satisfied: certifi>=2017.4.17 in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from requests<3,>=2.31.0->OctoPrint==1.10.1) (2023.11.17)
Requirement already satisfied: MarkupSafe>=2.1.1 in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from werkzeug<2.3,>=2.2.3->OctoPrint==1.10.1) (2.1.3)
Requirement already satisfied: ifaddr>=0.1.7 in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from zeroconf~=0.127->OctoPrint==1.10.1) (0.2.0)
Requirement already satisfied: deprecated>=1.2 in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from limits>=2.8->Flask-Limiter<4,>=3.5.0->OctoPrint==1.10.1) (1.2.14)
Requirement already satisfied: importlib-resources>=1.3 in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from limits>=2.8->Flask-Limiter<4,>=3.5.0->OctoPrint==1.10.1) (6.1.1)
Requirement already satisfied: packaging<24,>=21 in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from limits>=2.8->Flask-Limiter<4,>=3.5.0->OctoPrint==1.10.1) (23.2)
Requirement already satisfied: markdown-it-py>=2.2.0 in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from rich<14,>=12->Flask-Limiter<4,>=3.5.0->OctoPrint==1.10.1) (3.0.0)
Requirement already satisfied: pygments<3.0.0,>=2.13.0 in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from rich<14,>=12->Flask-Limiter<4,>=3.5.0->OctoPrint==1.10.1) (2.17.2)
Requirement already satisfied: cffi>=1.0.1 in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from argon2-cffi-bindings->argon2-cffi>=23.1.0->OctoPrint==1.10.1) (1.16.0)
Requirement already satisfied: pycparser in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from cffi>=1.0.1->argon2-cffi-bindings->argon2-cffi>=23.1.0->OctoPrint==1.10.1) (2.21)
Requirement already satisfied: mdurl~=0.1 in /home/octo/OctoPrint/venv/lib/python3.11/site-packages (from markdown-it-py>=2.2.0->rich<14,>=12->Flask-Limiter<4,>=3.5.0->OctoPrint==1.10.1) (0.1.2)
Downloading websocket_client-1.6.1-py3-none-any.whl (56 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.9/56.9 kB 11.7 MB/s eta 0:00:00
Downloading argon2_cffi-23.1.0-py3-none-any.whl (15 kB)
Downloading blinker-1.6.3-py3-none-any.whl (13 kB)
Downloading emoji-2.11.1-py2.py3-none-any.whl (433 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 433.8/433.8 kB 7.8 MB/s eta 0:00:00
Downloading frozendict-2.4.4-py311-none-any.whl (16 kB)
Downloading Markdown-3.4.4-py3-none-any.whl (94 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 94.2/94.2 kB 11.2 MB/s eta 0:00:00
Downloading sentry_sdk-1.45.0-py2.py3-none-any.whl (267 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 267.1/267.1 kB 8.7 MB/s eta 0:00:00
Building wheels for collected packages: OctoPrint, psutil, tornado, zeroconf
Building wheel for OctoPrint (pyproject.toml): started
Building wheel for OctoPrint (pyproject.toml): finished with status 'done'
Created wheel for OctoPrint: filename=OctoPrint-1.10.1-py2.py3-none-any.whl size=3368473 sha256=8cb88a34ae161e81e69726bf8295af652548bb5cf3633641e867bb84e5524313
Stored in directory: /tmp/pip-ephem-wheel-cache-qlwii6or/wheels/17/42/62/2bbd3f57f3e6a8fe35b3a76f67062f6ce42d787c4e800c13f3
Building wheel for psutil (pyproject.toml): started
Building wheel for psutil (pyproject.toml): finished with status 'done'
Created wheel for psutil: filename=psutil-5.9.8-cp311-abi3-linux_armv7l.whl size=282826 sha256=85e603758effd76a3463c950fe9bb0f99d48f22eaaae45125f6be0b2d04387ab
Stored in directory: /tmp/pip-ephem-wheel-cache-qlwii6or/wheels/a6/1e/65/fb0ad37886dca3f25a0aa8e50f4903c5bdbde4bb8a9b1e27de
Building wheel for tornado (pyproject.toml): started
Building wheel for tornado (pyproject.toml): finished with status 'done'
Created wheel for tornado: filename=tornado-6.2-cp37-abi3-linux_armv7l.whl size=422380 sha256=e4620b1383920b5a0e07792c00b71786ebdb6124868e716cc611872f5bb38522
Stored in directory: /tmp/pip-ephem-wheel-cache-qlwii6or/wheels/c1/02/74/50c8047e691f18c16ab77ba559450a75cd0e04ebd4f212aa2c
Building wheel for zeroconf (pyproject.toml): started
Building wheel for zeroconf (pyproject.toml): still running...
Building wheel for zeroconf (pyproject.toml): still running...

same problem to me on my Pi4 (bullseye) :
Upgrading from 1.9.3 to 1.10.1 fails,...
"Building wheel for zeroconf (pyproject.toml): still running..."

Good thing you mention it, I completely forgot to add what OS version I am running, for me it is Bookworm what I am running, so doesn’t seem to be bound to OS version…

I had the same problem with zeroconf on an RPi 3 running DietPi. Things I've tried:

  1. Updating from 1.9.3 to 1.10.0
  2. Updating from 1.9.3 to 1.10.1
  3. Uninstalling 1.9.3, then installing 1.10.1
  4. Updating from 1.8.7 (using a backup image) to 1.10.1

All of these attempts hung on zeroconf, so I did a fresh install of DietPi. Only then was I able to install OctoPrint 1.10.1.

I was also able to install 1.10.1 on another DietPi system that had never had OctoPrint installed. So, it seems that 1.10 does not like something about upgrading from OctoPrint 1.9.3 (or older).

Alright so I managed to fix it with the following steps:

  1. sudo wget https://www.piwheels.org/simple/zeroconf/zeroconf-0.132.2-cp311-cp311-manylinux_2_36_armv7l.whl
  2. sudo OctoPrint/venv/bin/python -m pip --disable-pip-version-check install zeroconf-0.132.2-cp311-cp311-manylinux_2_36_armv7l.whl --no-cache-dir
  3. Run Octoprint update through web interface.
  4. restart Octoprint and it works now I am back on 1.10.2
2 Likes