WARNING: do not use Native apps instead of Flatpak
Posted: 18 Jun 2025, 11:46
After an utterly inordinate amount of time debugging, rebugging, reinstalling, obsequious curse words, three full days, and ChatGPT, I realized why everything stopped working. If you're installing your torrent program from your distros app store (in this case, qB), make sure you deselect the flathub (flatpak) selection, and select one like Ubuntu (deb).
(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'
(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/...