Completed Download Handling on Freenas

I’m sure I’ll get some flames for dumbness, but I’m at a loss on how to handle Sonarr’s Completed Download Handling on a Freenas 9.3 installation. I understand that I need to use a remote path mapping but have failed to figure out how to configure this method.

Under Freenas storage jails are used to point folders into the internal path of a virtual application like Sonarr, since direct access to a server directory is not allowed. I have two storage jails, one for the download file directory (From SABnzbd v 2.0) and one for Sonarr’s placement into the permanent library.

Using Drone Factory I am able to monitor the storage jail for the downloaded file, and it does the rest without a hitch.

Can I get some asssitance? Thanks in advance!

Sure you can get some assistance, but it would be helpful if you laid out all the jails and paths involved.

Remote Path Mapping:
Host = Host specified in Settings->Download Client->Sabnzbd->host
Remote Path = Path that Sabnzbd sees
Local Path = Path that Sonarr sees

Host= 0.0.0.0, however its IP is really 192.168.1.2:8080
Remote Path = /Media/Downloads/complete/tv
Local Path = /media/ (Drone Factory scans this directory for completed downloads)

Sonarr resides at 192.168.1.3:8989

Regards!

Host need to match the Host field for the download client settings in Sonarr.

I’ve set the Host to 192.168.1.2 and set the remote path to /Media/Downloads/complete/tv but with no success. Sonaar reports that there are no media files in that location. Obviously its a pathing issue, that I just don’t see.

Will figure this out eventually, as I’m hoping another user of FreeNas has already made this work for them.

:slight_smile:

You should still give us a proper overview of how you setup is. Check Sab what path’s involved, copy paste that. Any any other info like how your jails are mounted.

Here is everything the way its set up. Thanks in advance for everyone’s assistance.

SABnzbd:
SABnzbd Host: 0.0.0.0 (192.168.1.2)
SABnzbd Port: 8080
Temporary Download Folder: /Media/Downloads/incomplete
Completed Download Folder: /Media/Downloads/complete
Watched Folder: /Media/Downloads.nzb

Jail: sabnzbd_1 Source /mnt/downloads, Destination /Media/Downloads
Read-Only : No
Create Directory: Yes
Mounted: Yes

Sonarr
Bind Address: 192.168.1.3
Port: 8989

Jails :sonarr_1 Source /mnt/downloads/complete/tv, Destination /media
Read-Only : No
Create Directory: Yes
Mounted: Yes

Jail :sonarr_1 Source /mnt/tank/Media/Files/TV, Destination /Media/Files/TV
Read-Only : No
Create Directory: Yes
Mounted: Yes

Download Client
Name: Sabnzbd
Enabled: Yes
Host: 192.168.1.2
Port: 8080
API Key: bb3a1fccd8b4e**********4982257fd
Category; tv
Recent Priority: High
Use SSL: No

Completed Download Handling
Enable: Yes
Remove: Yes

Failed Download Handling
Redownload: Yes
Remove: Yes

Drone Factory Options
Drone Factory: /media/
Drone Factory Interval 5

Remote Port Mappings
Host: 192.168.1.2
Remote Path: /Media/Downloads/complete/tv/
Local Path: /Media/Files?TV/

Thanks!

Your remote path mapping is wrong:

sabnzbd reports /Media/Downloads/complete/tv/ as directory for the downloads.
Which is /mnt/downloads/complete/tv/ on the host.
Which is mounted in the sonarr jail as /media.
So /Media/Downloads/complete/tv/ (sabnzbd) should be mapped to /media (sonarr).

And on a side note: You should not mix lower and upper case, it’s horribly painful and very error prone.

Im a noob :frowning:

Thanks for helping!

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.