I have tried to install the Plex plugin many times on many servers running FreeNas on different hardware, but it didn’t work.
I always get the error:
(Error: PlexServer had a failure Exception: RuntimeError Message: Stopped PlexServer due to VNET failure Partial plugin destroyed)
just now, while writing this post got a successful try
the changes that I made:
changed the time-zone
on jail network configuration, I removed all my settings and enabled the DHCP
do anyone understand:
why is time-zone having an issue with the installation of Jail?
why can’t we put our Network setting while installing?
Note: after having my Plex Server Running
I stopped it disabled the DHCP
Added the IPs that I want to use
But again, I got the error: ( Error: [EFAULT] Stopped Plex-Media-Plugin due to VNET failure)
I normally use DHCP but I just tested with a static assignment. If I specify an interface (vnet0:bridge0) the jail fails to start with the VNET error. If I leave it blank/default, the jail starts and functions normally.
Perhaps I wasn’t clear: This will work, with VNET, if you leave the IPv4 Interface field blank. It only fails if you select the “vnet0:bridge0” option from its drop-down list. That screenshot I posted above was from a working Plex jail using VNET networking. So you can use VNET, it will just use the default interface (vnet0). This would be the same as running for example the following from the command line to configure the jail:
iocage set vnet=on Plex
iocage set defaultrouter=192.168.0.1 Plex
iocage set ip4_addr="vnet0|192.168.0.250/24" Plex
Assuming you’re on a 192.168.x.x network and your jail is named “Plex,” the above would configure it to use VNET networking.
And for what it’s worth, this behavior isn’t specific to the Plex plugin-created jail; the VNET error occurs if you create a generic FreeBSD jail as well. Whatever the underlying cause of this behavior is, it has nothing to do with Plex.