Just installed everything - thanks to the developpers. Everything seems to work properly - except for one (critical) step which I must have overlooked. I mounted /mnt/FreeNAS/Video to /mnt/FreeNAS/jail/software/media, and sabnzbd shows that everything got downloaded properly, I chmodded the folder into which it downloads everything (/software/pbi/sabnzbd-amd64/data/Downloads/complete) to 777 - meaning I now 'see' all downloaded files when I ftp into it for instance. But obviously my server doesn't 'see' the folders as they are in /software/pbi/sabnzbd-amd64/data/Downloads/complete and not in /mnt/FreeNAS/jail/software/media. Is there any way to tell sabnzbs to put the completed files directly into /mnt/FreeNAS/jail/software/media (which, I presume, would then be 'visible' because of the mount point? Or am I missing sthg here?
BTW couldn't the key nuggets from this thread be put into the wiki? Or at least in a sticky here on the forum?
Thanks!
-Stephan
Yes, you can do exactly that. First, mount your main media storage dataset somewhere inside your jail using the plugin mount points configuration in the FreeNAS UI (Sharing, Plugins, View Mount Points, Add Mount Point). In my example, I have a dataset at /mnt/aux/public" that I mount as "/mnt/public" in my jail. From the jail's perspective, that dataset is now available at /mnt/public and that's what we'll use elsewhere.
In SAB's config (open the SAB web page, click "Config" at the top-left), do the following:
- Click "Folders" on the left
- Set the value of "Completed Download Folder" to a folder in your dataset, based on the mount point above. In this example, I'm using "/mnt/public/downloads". chmod that folder to 777 if it's not already.
- Set the value of "Permissions for completed downloads" to 777
- If you want to have easy access to incomplete and temporary files, do the same with "Temporary Download Folder". I usually don't change this.
- If you intend to use the blackhole method of nzb downloading, set "Watched Folder" to a different folder on your mount point. I use "/mnt/public/nzbs". Again, make sure this folder is chmodded to 777.
The key thing to remember is that the jail only sees what's inside the jail. If you don't mount your data sets inside your jail, it can't access them. When you
do mount your datasets inside your jail, you need to refer to them from the jail root ("/mnt/public") and not the host root ("/mnt/aux/jail/nasapps/mnt/public", where "/mnt/aux/jail/nasapps" is the dataset where my jail is rooted).