Error when upgrading 6.9.16-1 -> 7.x - "Non-UTF-8 code starting with '\xde' in file /usr/bin/py3clean"

  • Apologies if I've missed a post that deals with this already - I took a look but couldn't spot anything addressing this problem. I'm running OMV 6.9.16-1 Shaitan on an old Raspberry Pi 3 with a couple of external drives attached for storage. While it's been running relatively well, I've had two recent problems.


    First, I'm unable to update package python3-pkg-resources 52.0.0-4+deb11u1 using the OMV6 update interface. When I try I get the following error message:

    Second, I installed an additional external HDD and accidentally chose the wrong shared folder for my Samba connection. I'm unable to figure out what I need to turn off in order to delete the connection (have switched off Portainer, SMB, etc. with no success), which is a bit annoying. However, I saw that OMV7.x has a Reset Permissions Plugin, so figured it would be easier to simply backup my Pi's SD card and upgrade the entire setup to OMV7.


    Unfortunately, when I try to run omv-release-upgrade, I get the same python3 package error as above. I've no idea how to fix the problem - there's a URL in the error message, but being a novice to all this I couldn't figure out what troubleshooting steps I need to do to fix (what I assume to be) the syntax error and successfully install python3/OMV7.x.


    Grateful for any guidance others may have to address this problem!

  • crashtest

    Hat das Thema freigeschaltet.
  • Update:


    I figured out that you can install the Reset Permissions Plugin on OMV6, so have done that and fixed the issue with the external drives. However, still unable to upgrade to OMV7.x, if anyone knows how to fix this problem?

    • Offizieller Beitrag

    It's a Pi 3+ which seems to be 64-bit?

    I already know that, but it doesn't tell me which system is installed. What is the output of:

    uname -m

    • Offizieller Beitrag

    Maybe this will help

  • chente

    Hat das Label gelöst hinzugefügt.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!