[Solved] Sabnzbd cannot create download_dir folder

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
nicheplayer
Posts: 39
Joined: Sat Jan 12, 2019 11:06 pm

[Solved] Sabnzbd cannot create download_dir folder

Post by nicheplayer »

I have an external drive connected to my pi3 that I’d like to use to store my complete and incomplete downloads from sabnzbd, but when I try to set this up in the sab settings, I get this error:

Cannot create download_dir folder /mnt/store/dietpi_userdata

“store” is the name of my external drive. Any thoughts you may have on resolving this would be appreciated!
User avatar
WarHawk
Posts: 606
Joined: Thu Jul 20, 2017 8:55 am

Re: Sabnzbd cannot create download_dir folder

Post by WarHawk »

what does mount show
You might need to create a directory on the external mount then point the application to write to that directory
nicheplayer
Posts: 39
Joined: Sat Jan 12, 2019 11:06 pm

Re: Sabnzbd cannot create download_dir folder

Post by nicheplayer »

WarHawk wrote: Sun Jan 13, 2019 4:21 am what does mount show
You might need to create a directory on the external mount then point the application to write to that directory
Thanks for your reply. I’ve attached the output from the mount command. I tried creating a downloads folder on store in my dietpi_userdata directory and pointed sab there, but still no love. I can browse store via the sab web interface, so it can at least read from that drive.

I appreciate any additional thoughts you might have!
Attachments
PNG image.png
nicheplayer
Posts: 39
Joined: Sat Jan 12, 2019 11:06 pm

Re: Sabnzbd cannot create download_dir folder

Post by nicheplayer »

I fixed it. You might be shocked to learn it was a permissions issue! :lol: :roll: Thanks again for your reply!

Image
User avatar
MichaIng
Site Admin
Posts: 2259
Joined: Sat Nov 18, 2017 6:21 pm

Re: Sabnzbd cannot create download_dir folder

Post by MichaIng »

Jep, on DietPi, downloaders and media software runs as their own users and dietpi group. If you set up custom download / media directories those should be owned by dietpi:dietpi with 775 permissions, so software can R/W to them. Downloads will then be created with the correct permissions, so that media software can grab them, sort into their on structure and such.
Post Reply