I have been trying to move my plex server from one freenas box to another and getting to the point to where I need to walk away and have a fresh set of eyes on what I am missing. I am able to get my plex server moved successfully and running until I restart the plex service. Once I restart the service I am able to select my user but then it starts the setup wizard and is unable to find my plex server. The media user has full permissions to the mount points and I am on 11.3-U3.2 and the iocage jail is 11.3. Below are the jail settings that I used from Pentaflake.
Code:
echo '{"pkgs":["git","nano","wget","plexmediaserver-plexpass","ca_root_nss"]}' > /tmp/pkg.json iocage create -n "plex" -p /tmp/pkg.json -r 11.3-RELEASE ip4_addr="vnet0|172.31.1.90/24" defaultrouter="172.31.1.1" vnet="on" allow_raw_sockets="1" boot="on" rm /tmp/pkg.json iocage exec plex "mkdir -p /mnt/media" iocage exec plex "mkdir -p /mnt/config/plex" iocage fstab -a plex "/mnt/cargo/media /mnt/media nullfs rw 0 0" iocage fstab -a plex "/mnt/cargo/apps/plex /mnt/config/plex nullfs rw 0 0" iocage exec plex "mkdir -p /usr/local/etc/pkg/repos" iocage exec plex "nano /usr/local/etc/pkg/repos/FreeBSD.conf" ################################################################################################### FreeBSD: { url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest", mirror_type: "srv", signature_type: "fingerprints", fingerprints: "/usr/share/keys/pkg", enabled: yes } ################################################################################################### iocage exec plex "pkg update && pkg upgrade -y" iocage exec plex "pw useradd -n media -u 816 -d /nonexistent -s /usr/bin/nologin" iocage exec plex sysrc plexmediaserver_plexpass_enable="YES" iocage exec plex sysrc plexmediaserver_plexpass_user="media" iocage exec plex sysrc plexmediaserver_plexpass_support_path="/mnt/config/plex/plexdata-plexpass" iocage exec plex service plexmediaserver_plexpass start