Yesterday I took the plunge and replaced my (very solid and never-had-a-problem-with-it) FreeNAS Corral server with 11.1-U3. I never ran 9.x prior so I had to do a fresh install. Here were my basic steps to convert and get my plex, radarr, sonarr, and sabnzbd working.
* Prior to the fresh install, I recorded the name, UID, and GID for all users that were accessing my plex, sonarr, etc. data.
* Recorded all paths to plex, sonnar, etc. config directories
* Recorded all paths to my media
Upon installation of 11.1-U3, I imported my existing zpools via the new beta GUI. I should point out that upon login to the GUI (and every subsequent login) I get an error from the GUI. How this stuff passes QA is beyond me.
Anyway, once in I did my initial configuration. Setup static IP, default gateway, NTP servers, etc. Then I created users and groups to match the users and groups I recorded from my Corral installation. I also made sure that the UID and GID numbers corresponded exactly.
Everything looked good at this point.
Then I used this guide for setting up the plex, sonarr, radarr, and sabnzbd jails. I started with plex.
I like to be able to recreate things on the fly, so I did everything by script for reproducibility purposes. The standard script provided in this resource was a great start. I pulled out IP, MASK, and GATEWAY and made those parameters in my script. I also had to update all of the paths since mine were different (e.g. /mnt/tank1/video changed to /mnt/tank/media, etc). Lastly, I made sure to update the UID numbers in the script to match my existing UIDs on the server. The sabnzbd server still gives me trouble because some package script creates a _sabnzbd user with id 352 that I then have to override. I'll have to dig into this later.
I almost immediately ran into a problem using the `vnet="on"` and `vnet0` syntax. After some searching here and noting that 11.1-U3 broke some workarounds (i.e. vnet0 to epair0b) I decided to eliminate using vnet altogether. I put my actual interface (e.g. ix0) into the script and set vnet="off". Plex fired up and asked me to add libraries. Oops! Something was screwed up...
Looking at my plex /config directory I saw that under Corral it was using `~plex/config/Plex/Application Support/Plex Media Server`. That needed to change to `~plex/config/Plex Media Server`. Fixed that up, restarted the jail, and it picked up my working configuration, all libraries, metadata, etc. Nice!
I'm going to skip over the play by play for the rest of these. Major takeaways for me on getting sabnzbd, sonarr, and radarr to work:
1. Make sure that all 3 are mounting the same dataset to the same mountpoints inside the jail
I needed to mount `/mnt/tank/not-backed-up/pvr/downloads` to `/downloads` in all 3 jails. Under that path I already had `/downloads/complete` and `/downloads/incomplete` and their subdirs like `tv` and `movies`. By making sure these paths were in sync across all 3 jails, the renaming and moving functionality available in sonarr and radarr worked great. I didn't need to do any 'remote path mapping' to translate the paths.
I have to say that running plex under a jail is much faster than under docker. My 4k movies no longer buffer.
I'd like to thank
@Pentaflake and others in this thread for such a great resource!