Register for the iXsystems Community to get an ad-free experience and exclusive discounts in our eBay Store.
Resource icon

FN11.3 iocage jails - Plex, Tautulli, Sonarr, Radarr, Lidarr, Jackett, Transmission, Organizr

Western Digital Drives - The Preferred Drives of FreeNAS and TrueNAS CORE
Great easy guide .. I just skipped the media folders part and used the mount points via the web gui. I was using the plex plugin for a long time and my OCD got the better part of me when I couldn't update the jail to 12.2 and was stuck on 12.1.

I had one little issue where plex wouldn't start after adding mount points, but running:

iocage exec 3DPlexPass service plexmediaserver_plexpass start

again seem to correct the issue and plex starts on it's own again after stopping the jail.

This easy setup combined with:


sh -v -a allows me to stay up to date with the whole ball of wax!
Super. Working even for 11.3-RELEASE
iocage create -n "lidarr" -p /tmp/pkg.json -r 11.3-RELEASE ip4_addr="vnet0|" defaultrouter="" vnet="on" \
nat_forwards='tcp(8686)' \
nat="on" allow_raw_sockets="1" boot="on" --basejail
For what I used, the code is organized and works, so thumbs up for that. The only thing that is missing is a simple screenshot of the pool/dataset layout that your guide is based on. This would help illustrate the design for the inexperienced FreeNAS users. Perhaps doing so will provide the clarity that others are seeking.
The code is mostly good...
But the documentation and commenting is lacking...

I get what needs to be done/changed, but I fully understand other users' their comments about not getting it.

It's also lacking on the "after installation" instructions side...

I'm working on completely restructering it into a more user friendly format and i'm gratefull for these instructions because they where quite easy to make into actual scripts.

More info about how you can use them differently:
Excellent resource! Thanks so very much. I would love to see a little more clarity on the recommended setup for the datasets, as well as setting permissions. I know that permissions in particular can be very troublesome and the addition of a short step-by-step for this aspect would make this guide even more incredible that it already is.
lost at the iocage fstab -a plex /mnt/tank1/apps/plex /config nullfs rw 0 0, no instruction for dataset.
excellent resource that continues to be updated, bravo!
There are a few issues when I tried this last night, for instance Radarr (not tried sonarr) has a fetch issue pulling the ssl certs:
iocage exec radarr "fetch -o /usr/local/share"
Returns: Certificate verification failed

I got around this by adding: fetch --no-verify-peer

Lastly, can we use media:media credentials on all iocages so they all match and all have the same permissions to write/read to the same folders?
If so would I just have to change:
iocage exec radarr chown -R media:media /usr/local/share/Radarr /config
Because I tried this and just got an error :(

Lastly iocage exec radarr rm /usr/local/share/Radarr.*.linux.tar.gz
Didnt work, I had to go into the jail and do it manually, no biggie just thought I'd mention it.
Great guide, plex works great. I got a little lost with the openvpn and firewall bit. I couldn't get it to work myself but I use torguard vpn so that may be why.
EPIC guide, thank you!

Just curious... have any of you tried following the guide for Organizr? I get to the point where I navigate to http://JailIP and nginx throws an error. I'm guessing it has something to do with nginx.conf. When I change the line "root /usr/local/www/Organizr;" to "root /usr/local/www/nginx;", I do not get an error. Any suggestions?
Great guide
amazing guide
Amazing guide, thank you
great guide for moving from warden to iocage
This is a fantastic resource. Thank you very much.
Fantastic documentation! Thank you! I have been hesitant to upgrade from 9.10 due to the switch to iocage but this resource has been very informative and I now have everything working as before. It would be great to see Nzbget and Nzbhydra2 added.
Thank you very much, looking forward to the sabnzbd update.
Great Guide! This greatly helped and also set good practices on mounted the configs. In a future update could you add a build for NZBget and maybe qbittorrent as an alternative to transmission?
Very comprehensive and helpful. A few issues with transmission settings and ipfw rules though.

Transmission: If you don't set transmission_chown="NO", then transmission resets the mounted dataset ownership to root:wheel on start of service, which you don't want.

IPFW: When the openvpn is up, can't access transmission web from LAN. Transmission web is only accessible when openvpn is down. No solution updated for this yet so far.
I've been using this ipfw script which seems to work as a killswitch for openvpn.

# Flush out the list before we begin
ipfw -q -f flush

# Set rules command prefix
cmd="ipfw -q add"

# allow all local traffic on the loopback interface
$cmd 00001 allow all from any to any via lo0

# allow any connection to/from VPN interface
$cmd 00010 allow all from any to any via $vpn

# allow connection to/from LAN by Transmission
$cmd 00101 allow all from me to uid transmission
$cmd 00102 allow all from to me uid transmission

# deny any Transmission connection outside LAN that does not use VPN
$cmd 00103 deny all from any to any uid transmission
Great guide and thanks for keeping it up to date!