WARNING: do not use Native apps instead of Flatpak

Support for Ubuntu and other Desktop Linux distributions
Post Reply
alittler
Posts: 18
Joined: 14 Jan 2019, 05:04

WARNING: do not use Native apps instead of Flatpak

Post by alittler »

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'


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/...
User avatar
rednoah
The Source
Posts: 24015
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: WARNING: do not use Native apps instead of Flatpak

Post by rednoah »

:idea: You probably mean do use apt packages instead of flatpak packages.

:idea: Yep, sandboxing can be a real PITA especially if you're not aware. Same applies if you are using the SNAP package. If you use a docker container than you will also run into the same kinda issues, but if you are using containers then you're probably more aware of the by-design limitations in the first place.
:idea: Please read the FAQ and How to Request Help.
Post Reply