[qbittorrent(-native)] ADM 5 QB5.0.4+ NO SEARCH (all clean after update)

Hi,

I have discover a problem with qbittorrent-native APKG and ADM 5.0 when you used 5.0.5 (and perhaps with previous QB 5.0.X .

Problem :
… search engines disappear and it’s not possible to add a new one (URL or file)
… download work as welll if you get torrent or magnet from another site.

Analyse :
… In fact qbittorrent search if python(3) installed (in ADM 5.0 it’s yes (if not qbittorrent propose to install it ???)
… in a second phase when you want to use python(3) it search for the “default” path : /usr/bin/python3 or /usr/bin/python
… in ADM 5.0 this path don’t exist

workaround before next APKG update (or ADM 5)
… stop qbittorrent-native (disable in AppCenter, or use qb_native_mngt as root in a terminal)
… just create link :
ln -sf /usr/local/bin/python3 /usr/bin/python3
… start qbittorrent-native (same options as stop)
… if in log you can’t have ONE TIME ONLY : (I) 2025-04-xxT10:58:22 - Found Python executable. Name: “python3”. Version: “3.11.10”
… use step here after (again stop / link, start)
… in some case you can also do : ln -sf /usr/local/bin/python3 /usr/bin/python … but normally not used
… link can target Asustor Python3 or Entware Python3 or any personnel portage.

… to do it permanent, add the line in start shell script : /usr/local/AppCentral/qbittorrent-native/CONTROL/start-stop.sh
… I will do it in next APKG update.

Philippe.

Greetings,
Did everything described in this post.
Still get message in log:
Failed to find python3 executable in PATH environment variable. PATH: “/sbin:/usr/sbin:/bin:/usr/bin:/usr/builtin/sbin:/usr/builtin/bin:/usr/local/sbin:/usr/local/bin”

Failed to find python executable in PATH environment variable. PATH: “/sbin:/usr/sbin:/bin:/usr/bin:/usr/builtin/sbin:/usr/builtin/bin:/usr/local/sbin:/usr/local/bin”

Tried to update to lates version 5.1.0 qt6 2.0.11 - no effect

My device - Asustor Drivestor2 1102t

Hi,

Qbittorrent-native depends of python3 (require by AppCentral when you install it) ?

Python3 (Asustor create link for exec).
hereafter the code in start-up script of Asustor Python 3 (just v 3.12 in place in ADM 5)

    start)
        echo "Starting $NAME"
                ldconfig
                ln -sf /usr/local/AppCentral/python3/bin/python3 /usr/local/bin/python3
                ln -sf /usr/local/AppCentral/python3/bin/python3.10 /usr/local/bin/python3.10
                ln -sf /usr/local/AppCentral/python3/bin/pip3    /usr/local/bin/pip3
                ln -sf /usr/local/AppCentral/python3/bin/pip3.10  /usr/local/bin/pip3.10

So if APKG Python3 is correctly installed … at each boot the link a created … if missing it’s not linked to qbittorrent but to ADM or AppCentral. because PATH contains /usr/local/bin …

Philippe.