Unable to save downloads to a network share

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
deejay01
Newbie
Newbie
Posts: 9
Joined: September 17th, 2016, 9:29 pm

Unable to save downloads to a network share

Post by deejay01 »

I have successfully installed SABnzbd on a Raspberry PI running OPENELEC, but I haven't been able to configure SABnzbd to save downloads to a network share - which is a USB hard disk drive plugged into the router / gateway of my home network. It sounds easy (and perhaps it *is* easy) but I haven't found or figured out a solution. There are good reasons for using the network share including performance and the fact that it functions as a DLNA Server without requiring a setup procedure.

Ideally, the SABnzbd user interface (Config -> Folders -> Completed Download Folder) would allow me to browse to the location of my preferred completed download folder on the network share but it doesn't seem to allow it. I have entered the full path (or what I *think* is the correct full path) but SABnzbd displays an error message at the end of a download.

The full path I have entered is: //<ip address>/usbdisk/<USB HDD volume name>/<completed download folder>
The error message is: Post processing was aborted (Cannot create final folder //<ip address>/usbdisk/<USB HDD volume name>/<completed download folder>/<downloaded filename>)

The folder <completed download folder> already exists (because I created it).

I'm guessing (please correct me if I'm wrong) that "usbdisk" is a name created by the router's firmware to "point to" the USB ports (of which there are 2). The Windows Explorer path of my desired completed download folder is \\<ip address>\usbdisk\<USB HDD volume name>\<completed download folder>

Obviously it doesn't solve this problem (although it might provide a clue) I have been able to use the Kodi user interface to create an OPENELEC "Source" which points to my desired completed download folder. I had to configure a Samba share including credentials (the gateway's username / password combination).

I have followed the instructions here http://wiki.openelec.tv/index.php/Mount ... ork_shares without success. The only result (which was unintended) I have achieved by mounting a storage location is to save a download to the local USB (a USB flash drive plugged into the PI) - which of course isn't a solution because I want to save downloads to the network share.

I'm thinking it might be a security / credentials problem (entering the full path) or it might be that I haven't correctly followed the instructions to mount a network share (despite several attempts).

Thanks in advance. My apologies if this has been discussed / resolved elsewhere. If so could someone kindly refer me to the solution.
deejay01
Newbie
Newbie
Posts: 9
Joined: September 17th, 2016, 9:29 pm

Re: Unable to save downloads to a network share

Post by deejay01 »

Solved

1) Create a mount point
mkdir /storage/<subfolder>

2) Add this code to /storage/.config/autostart.sh
(sleep 30;
mount -t cifs -o username=<username>,password=<password>,rw //<ip address>/usbdisk/<USB HDD volume name>/<completed download folder> /storage/<subfolder>;
)&

3) Open a browser and go to the Raspberry PI OPENELEC SABnzbd user interface (eg 192.168.1.10:8081)

4) Navigate to Config -> Folders -> Completed Download Folder

5) Change the location by browsing to /storage/<subfolder>

6) Save Changes
Post Reply