Help -- Can't update OctoPrint or Install Plugins

What is the problem?

Can no longer apply update to the Octoprint app. Current version is 1.8.7. Trying to get to 1.9.1
Also, can't seem to install new plug-ins. Not sure if this is related to Octoprint version number.

What did you already try to solve it?

Restarted server multiple times.
Restarted server in safe mode and tried to update.

Have you tried running in safe mode?

Yep

Did running in safe mode solve the problem?

It did not

Systeminfo Bundle

browser.user_agent : Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.67
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 : 5
env.hardware.freq : 1912.3199999999997
env.hardware.ram : 7821819904
env.os.bits : 64
env.os.id : linux
env.os.platform : linux
env.python.pip : 23.1.2
env.python.version : 3.9.5
env.python.virtualenv : false
octoprint.last_safe_mode.date : 2023-07-11T20:16:06Z
octoprint.last_safe_mode.reason : settings
octoprint.safe_mode : true
octoprint.version : 1.8.7
printer.firmware : Marlin 1.1.0-RC8 (Github)
systeminfo.generated : 2023-07-11T21:40:17Z
systeminfo.generator : systemapi

Additional information about your setup

New to this so hopefully the below is sufficient. Running Octoprint on Octo4a (Samsung S10)

This is the last parts of the upgrade processed as shown by the installer window:

Building wheel for psutil (pyproject.toml): started
error: subprocess-exited-with-error
Γ— Building wheel for psutil (pyproject.toml) did not run successfully.
β”‚ exit code: 1
╰─> [52 lines of output]
/tmp/tmp4agq07nv.c:1:10: fatal error: linux/ethtool.h: No such file or directory
1 | #include <linux/ethtool.h>
|          ^~~~~~~~~~~~~~~~~
compilation terminated.
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-aarch64-cpython-39
creating build/lib.linux-aarch64-cpython-39/psutil
copying psutil/_psbsd.py -> build/lib.linux-aarch64-cpython-39/psutil
copying psutil/_pslinux.py -> build/lib.linux-aarch64-cpython-39/psutil
copying psutil/_psaix.py -> build/lib.linux-aarch64-cpython-39/psutil
copying psutil/_common.py -> build/lib.linux-aarch64-cpython-39/psutil
copying psutil/_pssunos.py -> build/lib.linux-aarch64-cpython-39/psutil
copying psutil/_compat.py -> build/lib.linux-aarch64-cpython-39/psutil
copying psutil/_pswindows.py -> build/lib.linux-aarch64-cpython-39/psutil
copying psutil/__init__.py -> build/lib.linux-aarch64-cpython-39/psutil
copying psutil/_psposix.py -> build/lib.linux-aarch64-cpython-39/psutil
copying psutil/_psosx.py -> build/lib.linux-aarch64-cpython-39/psutil
creating build/lib.linux-aarch64-cpython-39/psutil/tests
copying psutil/tests/test_contracts.py -> build/lib.linux-aarch64-cpython-39/psutil/tests
copying psutil/tests/__init__.py -> build/lib.linux-aarch64-cpython-39/psutil/tests
copying psutil/tests/test_osx.py -> build/lib.linux-aarch64-cpython-39/psutil/tests
copying psutil/tests/test_bsd.py -> build/lib.linux-aarch64-cpython-39/psutil/tests
copying psutil/tests/test_system.py -> build/lib.linux-aarch64-cpython-39/psutil/tests
copying psutil/tests/test_posix.py -> build/lib.linux-aarch64-cpython-39/psutil/tests
copying psutil/tests/test_linux.py -> build/lib.linux-aarch64-cpython-39/psutil/tests
copying psutil/tests/runner.py -> build/lib.linux-aarch64-cpython-39/psutil/tests
copying psutil/tests/test_unicode.py -> build/lib.linux-aarch64-cpython-39/psutil/tests
copying psutil/tests/__main__.py -> build/lib.linux-aarch64-cpython-39/psutil/tests
copying psutil/tests/test_misc.py -> build/lib.linux-aarch64-cpython-39/psutil/tests
copying psutil/tests/test_process.py -> build/lib.linux-aarch64-cpython-39/psutil/tests
copying psutil/tests/test_aix.py -> build/lib.linux-aarch64-cpython-39/psutil/tests
copying psutil/tests/test_sunos.py -> build/lib.linux-aarch64-cpython-39/psutil/tests
copying psutil/tests/test_memleaks.py -> build/lib.linux-aarch64-cpython-39/psutil/tests
copying psutil/tests/test_windows.py -> build/lib.linux-aarch64-cpython-39/psutil/tests
copying psutil/tests/test_testutils.py -> build/lib.linux-aarch64-cpython-39/psutil/tests
copying psutil/tests/test_connections.py -> build/lib.linux-aarch64-cpython-39/psutil/tests
running build_ext
building 'psutil._psutil_linux' extension
creating build/temp.linux-aarch64-cpython-39
creating build/temp.linux-aarch64-cpython-39/psutil
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -g -fno-semantic-interposition -g -fno-semantic-interposition -g -fno-semantic-interposition -DTHREAD_STACK_SIZE=0x100000 -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=595 -DPy_LIMITED_API=0x03060000 -DPSUTIL_ETHTOOL_MISSING_TYPES=1 -DPSUTIL_LINUX=1 -I/usr/include/python3.9 -c psutil/_psutil_common.c -o build/temp.linux-aarch64-cpython-39/psutil/_psutil_common.o
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -g -fno-semantic-interposition -g -fno-semantic-interposition -g -fno-semantic-interposition -DTHREAD_STACK_SIZE=0x100000 -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=595 -DPy_LIMITED_API=0x03060000 -DPSUTIL_ETHTOOL_MISSING_TYPES=1 -DPSUTIL_LINUX=1 -I/usr/include/python3.9 -c psutil/_psutil_linux.c -o build/temp.linux-aarch64-cpython-39/psutil/_psutil_linux.o
psutil/_psutil_linux.c:19:10: fatal error: linux/version.h: No such file or directory
19 | #include <linux/version.h>
|          ^~~~~~~~~~~~~~~~~
compilation terminated.
psutil could not be installed from sources. Perhaps Python header files are not installed. Try running:
sudo apk add gcc python3-dev
error: command '/usr/bin/gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for psutil
Building wheel for psutil (pyproject.toml): finished with status 'error'
Building wheel for watchdog (pyproject.toml): started
ERROR: Could not build wheels for psutil, which is required to install pyproject.toml-based projects
Building wheel for watchdog (pyproject.toml): finished with status 'done'
Created wheel for watchdog: filename=watchdog-2.3.1-py3-none-any.whl size=80620 sha256=0745e470b40f5b675dacd3c443c403c0b958747acb8b6f26acec4aa77be490be
Stored in directory: /tmp/pip-ephem-wheel-cache-l3hi0jhg/wheels/ba/a9/20/8a9fb121f3dee54e2ea760d93a1dd49bb26e69b46ceed69c86
Successfully built OctoPrint emoji future watchdog
Failed to build psutil
The update did not finish successfully. Please consult <code>octoprint.log</code> and <code>plugin_softwareupdate_console.log</code> for details.

Hi :slight_smile:

Octo4a is a community project and is no official OctoPrint software.
Of course you're free to ask for help here, but unfortunately most of the time we can't really help Octo4a users here.

I can't tell you how to resolve the issue, but I can tell you what you could do.

  1. you could backup OctoPrint (in the settings under backup and restore), delete the app and install it again so you're on the latest version and restore the backup then

  2. we have a Octo4a channel on the Discord server and you could ask your question there

  3. you could wait a bit longer for help here in the forum :slight_smile:

good luck :tentacle:

Thanks for the feedback. Yeh, I kinda figured that the Octo4a would be an issue for support.

I've contemplated the backup/wipe/rebuild option. Just not ready to drive down that road, yet. Was hoping for something simple (operative word -- hoping).

1 Like

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