I updated FreeNAS from 11.2 train to 11.3 as well as iocage from 11.2 to 11.3.
I was able to manually update PMS fine in FreeNAS 11.2 using WinSCP but its directory changed in 11.3.
Fine, no biggy I find its location and was unable to update manually the same way. However, after the iocage update I would bet that I tried 31 times to no avail. Well, for one reason or antoher the 32nd time worked but now not only have I lost web GUI access to all of my server settings PMS also no longer retrieves any metadata either. Movies on the server from a certain date back are OK but movies added since have no metadata other than file name.
I think that if VNET was disabled the jail would not run at all.
In fact I just opened the jail itself and can see that VNET is ticked. If I untick the box a red prompt pops up stating that it is required.
Sorry for speaking if I am speaking in lay terms, I’m not the brightest when it comes to FreeBSD despite running Freenas for a few years for JBOD and Plex
That’s not true, jails can’t work without vnet, for PMS that is a requirement, but if you created the jail manually it would let you unset it, or not even set it to begin with!
The plugin however does it for you!
If vnet is enabled this could be permissions too!
I was able to manually update PMS fine in FreeNAS 11.2 using WinSCP but its directory changed in 11.3.
Why/How did you update using WinSCP? The standard way to update is via the plugin it self, or using pkg install/upgrade/using the ports system inside a jail shell.
If you mean you copied over files over scp that wouldn’t be a proper way to upgrade and surely lead to problems, and also make it harder to help now
So lets start with the basics, if PMS starts you at least have that data(I mean the pms data not media) still in the same place and the binaries/rc.d script still work!
So its likely just a corrupt installation, to confirm we can try a few cmds:
its the opposite its telling you its “755” and shouldn’t! The problem is if stuff like this has borken perms this jail might be busted in more places! I would honestly start a new one, but lets fix the perms there so I can help with backup/move over to new jail!
To enter a jail shell with iocage you can just use the ui option (in the jail) or from the host shell run: iocage console JAIL_NAME
As for the main issue if you want to stay up to date with pkgng/ports and avoid potentials future issues form the existing setup I would just create a new “CUSTOM JAIL” and update the repo file I mentioned!
However if you’re not to familiar with all this its best to stick with the plugin and the standard update method!
Yes, this was created using the plugin but after the FreeNAS and iocage upgrades my Plex has never been the same. I am unsure I can keep using it like this is no metadata updates, forced or not.
It appears that I either nuke my jail and Plex install or just walk away from Plex Lifetime.
I will look into building a custom jail but yes I am unfamiliar with most of this but willing to try.
Don’t nuke it yet! this is what I would do in you’re position, and if I want to get updates as soon as they are available on ports/freebsd repos (NOTE: It can still take a bit from the type they are published by us; but this is similar with many vendors; and shouldn’t take to much anyway).
Stop the current jail/plugin ; DO NOT NUKE IT!
Create a new jail but manually (make sure VNET/DHCP is enabled)
Create the /usr/local/etc/pkg/repos/FreeBSD.conf has before (don’t edit the /etc/ one since this is lost on jail upgrades; this is why FreeBSD is smart and lets you override on /usr/local
pkg update -f
pkg install plexmediaserver OR -plexpass (there’s actually no difference in plexpass status here and they shouldn’t provide both but if you want the beta builds go for plexmediaserver-plexpass
`sysrc plexmediaserver-plexpass_enabled=“YES” (PMS will now always start with the jail)
DON’T start PMS yet!
Go to the HOST shell!
jls(to get the path to jails, but in the screenshot above looks like /mnt/FreeNAS/iocage/jails/)
Mike, first off, thank you for being so accessible. I really like Plex a lot and I appreciate you and your availability and willingness to help.
I have a few simple questions as I read through your instructions.
When I create a new jail since “plexmediaserver-plexpass” is taken does it matter what I call it? I can change the name later, correct?
When you say " Create the /usr/local/etc/pkg/repos/FreeBSD.conf as before (don’t edit the /etc/ one since this is lost on jail upgrades; this is why FreeBSD is smart and lets you override on /usr/local:"
How exactly I do that? Can I copy the one in the old jail using WinSCP since it does is what I need? I think that I know you will say to use shell but I need my handheld a little more than normal BSD users. Sorry, for not knowing much.
Once I have this manually created jail up and running how do I keep it updated with the newer version of Plex?
I cannot wait to get this all resolved. I use Plex every single day to play my live concert recordings during the daytime and movies at night.
Nope and yes you can rename but I would just call it “plex”
I assumed you’d be familiar with shell commands, my bad. there’s actually instructions for that in the orginal file, but here it goes: mkdir -p /usr/local/etc/pkg/repos echo 'FreeBSD: { url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest" }' > /usr/local/etc/pkg/repos/FreeBSD.conf
When I try and move I am told that /mnt/FreeNAS/iocage/jails/plexmediaserver-plexpass/root/usr/local/plexdata-plexpass
is not a directory that exists.
I do have /mnt/FreeNAS/iocage/jails/plexmediaserver-plexpass/root/usr/local/share/plexmediaserver-plexpass
in my old jail but do not see one that says plexdata-plexpass specifically.