OctoPrint Update - Error

The update process end with error.
Can someone please help me find the cause?
I flashed the system to SD 14 days ago and imported a backup. Since then I haven't been able to make any updates.

OctoPrint : 1.9.3
Installiert: Commit 506648c152681bf4b1416cf2b5aaf97d526ee752
Verfügbar: Commit cd0f47635bc9dd3c1a555d2d1b800fd9e8ca36cb

Aktualisiere gerade, bitte warten.

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Aktualisiere OctoPrint auf cd0f47635bc9dd3c1a555d2d1b800fd9e8ca36cb
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
/home/pi/oprint/bin/python -m pip --disable-pip-version-check install https://github.com/OctoPrint/OctoPrint/archive/cd0f47635bc9dd3c1a555d2d1b800fd9e8ca36cb.zip --no-cache-dir
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting https://github.com/OctoPrint/OctoPrint/archive/cd0f47635bc9dd3c1a555d2d1b800fd9e8ca36cb.zip
Downloading https://github.com/OctoPrint/OctoPrint/archive/cd0f47635bc9dd3c1a555d2d1b800fd9e8ca36cb.zip
/ 6.4 MB 6.7 MB/s 0:00:00
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [25 lines of output]
Traceback (most recent call last):
File "/home/pi/oprint/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 351, in <module>
main()
File "/home/pi/oprint/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 333, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/home/pi/oprint/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
File "/tmp/pip-build-env-4oeao9wv/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
File "/tmp/pip-build-env-4oeao9wv/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 295, in _get_build_requires
self.run_setup()
File "/tmp/pip-build-env-4oeao9wv/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 311, in run_setup
exec(code, locals())
File "<string>", line 396, in <module>
File "/tmp/pip-build-env-4oeao9wv/overlay/lib/python3.9/site-packages/setuptools/__init__.py", line 104, in setup
return distutils.core.setup(**attrs)
File "/tmp/pip-build-env-4oeao9wv/overlay/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 147, in setup
_setup_distribution = dist = klass(attrs)
File "/tmp/pip-build-env-4oeao9wv/overlay/lib/python3.9/site-packages/setuptools/dist.py", line 318, in __init__
self.metadata.version = self._normalize_version(self.metadata.version)
File "/tmp/pip-build-env-4oeao9wv/overlay/lib/python3.9/site-packages/setuptools/dist.py", line 354, in _normalize_version
normalized = str(Version(version))
File "/tmp/pip-build-env-4oeao9wv/overlay/lib/python3.9/site-packages/setuptools/_vendor/packaging/version.py", line 198, in __init__
raise InvalidVersion(f"Invalid version: '{version}'")
setuptools.extern.packaging.version.InvalidVersion: Invalid version: 'meta/file_check_vs_e2e'
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
Getting requirements to build wheel: finished with status 'error'

Die Aktualisierung wurde nicht erfolgreich abgeschlossen. Bitte konsultiere <code>octoprint.log</code> und <code>plugin_softwareupdate_console.log</code> für Details.

I'm having the same issue after importing backup.

my log

× Getting requirements to build wheel did not run successfully.
2024-04-08 17:18:36,376 ! │ exit code: 1
2024-04-08 17:18:36,377 ! ╰─> [25 lines of output]
2024-04-08 17:18:36,378 ! Traceback (most recent call last):
2024-04-08 17:18:36,378 ! File "/home/pi/oprint/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in
2024-04-08 17:18:36,379 ! main()
2024-04-08 17:18:36,380 ! File "/home/pi/oprint/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
2024-04-08 17:18:36,381 ! json_out['return_val'] = hook(**hook_input['kwargs'])
2024-04-08 17:18:36,381 ! File "/home/pi/oprint/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
2024-04-08 17:18:36,382 ! return hook(config_settings)
2024-04-08 17:18:36,382 ! File "/tmp/pip-build-env-nhvld8yj/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel
2024-04-08 17:18:36,382 ! return self._get_build_requires(config_settings, requirements=['wheel'])
2024-04-08 17:18:36,382 ! File "/tmp/pip-build-env-nhvld8yj/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 295, in _get_build_requires
2024-04-08 17:18:36,383 ! self.run_setup()
2024-04-08 17:18:36,383 ! File "/tmp/pip-build-env-nhvld8yj/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 311, in run_setup
2024-04-08 17:18:36,383 ! exec(code, locals())
2024-04-08 17:18:36,384 ! File "", line 396, in
2024-04-08 17:18:36,384 ! File "/tmp/pip-build-env-nhvld8yj/overlay/lib/python3.9/site-packages/setuptools/init.py", line 104, in setup
2024-04-08 17:18:36,384 ! return distutils.core.setup(**attrs)
2024-04-08 17:18:36,384 ! File "/tmp/pip-build-env-nhvld8yj/overlay/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 147, in setup
2024-04-08 17:18:36,385 ! _setup_distribution = dist = klass(attrs)
2024-04-08 17:18:36,385 ! File "/tmp/pip-build-env-nhvld8yj/overlay/lib/python3.9/site-packages/setuptools/dist.py", line 318, in init
2024-04-08 17:18:36,385 ! self.metadata.version = self._normalize_version(self.metadata.version)
2024-04-08 17:18:36,385 ! File "/tmp/pip-build-env-nhvld8yj/overlay/lib/python3.9/site-packages/setuptools/dist.py", line 354, in _normalize_version
2024-04-08 17:18:36,386 ! normalized = str(Version(version))
2024-04-08 17:18:36,386 ! File "/tmp/pip-build-env-nhvld8yj/overlay/lib/python3.9/site-packages/setuptools/_vendor/packaging/version.py", line 198, in init
2024-04-08 17:18:36,386 ! raise InvalidVersion(f"Invalid version: '{version}'")
2024-04-08 17:18:36,387 ! setuptools.extern.packaging.version.InvalidVersion: Invalid version: 'meta/file_check_vs_e2e'
2024-04-08 17:18:36,387 ! [end of output]
2024-04-08 17:18:36,387 !
2024-04-08 17:18:36,387 ! note: This error originates from a subprocess, and is likely not a problem with pip.
2024-04-08 17:18:36,388 ! error: subprocess-exited-with-error
2024-04-08 17:18:36,388 !
2024-04-08 17:18:36,388 ! × Getting requirements to build wheel did not run successfully.
2024-04-08 17:18:36,388 ! │ exit code: 1
2024-04-08 17:18:36,389 ! ╰─> See above for output.

You need to click the link on the form you opened to collect the full logs and octoprint info. Attach those zip files to the post

octoprint-logs.zip (56.4 KB)

here are the full log Files

SSH to the pi and run these commands.

source /home/pi/oprint/bin/activate
pip install --upgrade pip
pip install --force-reinstall --no-cache-dir octoprint
deactivate

and then restart OctoPrint and try again. Also your influxdb plugin seems to not be connecting properly.

I have completed all the steps
restart octoprint
same problem
delete influx DB plug in and reboot Pi
same problem :frowning:

last attempt was 20:33

octoprint-logs (1).zip (229.7 KB)

with 10.4 rc4
Commit acf95106d074462a7c0f308ed4c82cd2eb7334e2
the Update works.