Hello,
Can someone please help me to get this working with version 13?
Thanks
Hello,
Can someone please help me to get this working with version 13?
Thanks
You need to edit this line in the plex-jail.sh. You have to change the 12.1 value to whatever version you are using…probably 13.1.
EDIT:
Actually ignore the above. I’ve had some time to relook at the code and what I did previously. I’m working on updating it properly so give me some time and I’ll get you something that’s current.
EDIT2:
OK I forked the original code and made a version that should only work for TrueNAS 12.1 and above. I have yet to test this. So if you’re feeling frisky you can try it out and let me know how it went.
Thank you for doing this. I will test it today and let you know.
Doesn’t seem to work. I think I’m getting the same error.
I wanted to point out I’m using TrueNas-13.0 U5.3
Thanks again
OK, I’ll try to look into it today. Please be patient.
Yep, no rush. I appreciate you doing this.
So I may be confused as to what the “release version” is. Could you do me 2 favors?
Open up a shell and run this command and show me the output echo $(freebsd-version)
Start creating a jail manually and tell me what release versions are listed. Here is mine:
OK, so I updated the code and I have it working for me. I had forgotten a step where I had to establish which freebsd version to use in the plex-config file. Check out the README for guidance and an example. Just pull the changes and follow the README instructions. Let me know if there’s any issues.
That did it!
I used version 13.2
Now to just finish setting up Plex.
One last question, If I wanted to start over can I just delete the jail?
Thanks again, hopefully other new users will find this.
Yup, that’s what’s great about jails. I probably created and deleted a dozen testing out the changes to Dan’s script. ![]()
I figured just wanted to make sure it didn’t leave a mess anywhere else.
Thank you again. Great work.
This script was fantastic and helped me get a a new install without relying on the plugin. All my metadata has appeared, but the new instance has an issue finding the actual media. The info page for one of my movies points to:
/usr/local/plexdata-plexpass/Plex/Movies/foo.mkv
as the location of the file.
On my previous install, the ‘Movies’ mount point was:
/mnt/zstorage/iocage/jails/Plexus/root/usr/local/plexdata-plexpass/Plex/Movies
whereas on the script-based one, there’s just one for all media:
/mnt/zstorage/Media -> /mnt/zstorage/iocage/jails/pms/root/media
The script found that path from the plex-config file:
JAIL_IP="10.0.1.190"
DEFAULT_GW_IP="10.0.1.1"
POOL_PATH="/mnt/zstorage"
PLEX_MEDIA_PATH="/mnt/zstorage/Media"
I’m obviously a rather novice Plex user and I think I got it working in a non-standard way, but I’m not clear on where the Mount Point(s) should be pointing at. Shouldn’t it be in the new dataset /mnt/zstorage/plex_data/Plex and if so, do I need to create separate ones for Movies, Music and TV Shows like I had previously?
Clearly clueless,
MB
The script has an option to mount a single path into the jail for media; you can subsequently add others through the TrueNAS GUI if desired. So if, like me, you have separate datasets for movies, TV, and photos, you’d probably need to add distinct “mount points” (the terminology used in the GUI) to the jail for those.
Where to mount them in the jail is pretty much up to your preference; my script mounts them under /media/, which I think makes sense.
You wouldn’t ordinarily put the media under the metadata path as you had before. It apparently worked, but it isn’t the way the script is designed.
I am thinking about migrating to Truenas Scale, but not sure if this script will interfere with moving over, any thoughts on this?
The script itself won’t interfere with SCALE; neither will the jail it creates. However, the jail doesn’t run on SCALE; you’d need to install Plex separately, either as one of the apps or using Docker Compose. But if you point it to your existing config/metadata and media, and keep the path to the latter the same, you should be able to retain all that data.