Ubuntu snap install just doesn't work [as OP expeceted]
Posted: May 1st, 2019, 11:24 am
I've just updated to ubuntu 18.04 and have tried installing sabnzbd via the snap package.
I honestly can't think of any polite way to describe the experience.
In the couple hours I've been banging my head against the wall trying to get it to work, I've come across two really obvious problems, one of which is a showstopper.
1) Because of the sandboxing, the snap package can't see other packages on the system. - In the config tab I get the message asking me to install multicore par2. I did, restart everything and the message is still there.
2) Also because of sandboxing, sabnzbd doesn't have permission to access pretty much any part of the filesystem except it's own little /var/snap/sabnzbd place. The most obvious symptom of this is I get "Cannot create download_dir folder" errors when I try and point to the folders where I have my large HDDs mounted. I can't really setup my system to work in any useful way if I can't actually specify where I want things to download to.
After a LOT of google searching, I discovered you can install a snap with a "--classic" flag to fix problems like this with permissions.
I tried that and get: "Warning: flag --classic ignored for strictly confined snap sabnzbd"
right then.
I realise this filesystem permission issue is more a snap thing and not necessarily a sabnzbd thing, but it makes trying to install via snap a complete waste of time. It would be nice if you could fix the snap package so it actually works, because there seems to be some usefulness in the automatic updating etc etc.
Until that happens, and probably forever now anyway, I'm going back to a standard install and I'd suggest you put a big warning on the website saying DONT USE THE SNAP IF YOU HAVE MORE THAN ONE HARD DRIVE IN YOUR SYSTEM.
I honestly can't think of any polite way to describe the experience.
In the couple hours I've been banging my head against the wall trying to get it to work, I've come across two really obvious problems, one of which is a showstopper.
1) Because of the sandboxing, the snap package can't see other packages on the system. - In the config tab I get the message asking me to install multicore par2. I did, restart everything and the message is still there.
2) Also because of sandboxing, sabnzbd doesn't have permission to access pretty much any part of the filesystem except it's own little /var/snap/sabnzbd place. The most obvious symptom of this is I get "Cannot create download_dir folder" errors when I try and point to the folders where I have my large HDDs mounted. I can't really setup my system to work in any useful way if I can't actually specify where I want things to download to.
After a LOT of google searching, I discovered you can install a snap with a "--classic" flag to fix problems like this with permissions.
I tried that and get: "Warning: flag --classic ignored for strictly confined snap sabnzbd"
right then.
I realise this filesystem permission issue is more a snap thing and not necessarily a sabnzbd thing, but it makes trying to install via snap a complete waste of time. It would be nice if you could fix the snap package so it actually works, because there seems to be some usefulness in the automatic updating etc etc.
Until that happens, and probably forever now anyway, I'm going back to a standard install and I'd suggest you put a big warning on the website saying DONT USE THE SNAP IF YOU HAVE MORE THAN ONE HARD DRIVE IN YOUR SYSTEM.