(It got so bad I almost checked out alternatives)
I don't know exactly how often this might help (if someone searches Flatpak, they probably know why they are), but here is a shot. Having a GUI helps me debug Linux problems (I am only so smart), but with this working, I can throw it back onto Docker.
This what ChatGPT learned from my log environment, which I added to my script with 'env >> /*/qbittorrent_env.log'
Code: Select all
🧱 Problem: You're Using Flatpak qBittorrent, which is Sandboxed
Your environment shows:
FLATPAK_ID=org.qbittorrent.qBittorrent
container=flatpak
PATH=/app/bin:/usr/bin
You're running qBittorrent installed via Flatpak, which runs in a sandbox. That means:
❌ It cannot access system paths like /mnt/Media
❌ It cannot see your regular /usr/local/bin, /mnt, etc.
❌ It cannot access or run external scripts unless manually allowed
✅ It can see certain parts of your home directory, like .var/app/...