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.
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.
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.
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.
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?
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.
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 10.11.102.0/24 uid transmission
$cmd 00102 allow all from 10.11.102.0/24 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