How to add local server?

Server Version#: 1.18.9.2578

I installed the server on FreeBSD in a jail using pkg and I enabled it in /etc/rc.conf inside the jail. Then I opened it at http://jail-ip:32400/web and it prompted me to create an account. After signing in, I can see all the free streaming content, but I don’t see any way to add the local server. In the instructions, it sounds like it’s supposed to detect the local server automatically. If I click the “Your Media” sidebar button, it just gives me a link to download Plex Media Server.

# ps auwwx | grep -i plex
plex  2468  0.0  1.9 130624 65260  -  IsJ  21:19   0:04.95 /usr/local/share/plexmediaserver/Plex_Media_Server (Plex Media Server)
plex  2474  0.0  1.7  94744 57348  -  INJ  21:19   0:22.60 Plex Plug-in [com.plexapp.system] /usr/local/share/plexmediaserver/Resources/Plug-ins-513b381af/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.18.9.2578-513b381af /usr/local/share/plexmediaserver/Resources/Plug-ins-513b381af/System.bundle (Plex Script Host)
plex  2479  0.0  0.6  33640 20296  -  IJ   21:19   0:00.29 /usr/local/share/plexmediaserver/Plex Tuner Service /usr/local/share/plexmediaserver/Resources/Tuner/Private /usr/local/share/plexmediaserver/Resources/Tuner/Shared 1.18.9.2578-513b381af 32600 /waitmutex
plex  2480  0.0  1.5  76184 49380  -  IJ   21:19   0:14.18 Plex Plug-in [com.plexapp.agents.imdb] /usr/local/share/plexmediaserver/Resources/Plug-ins-513b381af/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.18.9.2578-513b381af /usr/local/share/plexmediaserver/Resources/Plug-ins-513b381af/PlexMovie.bundle (Plex Script Host)
root  2756  0.0  0.1   6652  2376  0  S+J  21:25   0:00.01 grep -i plex

How are you creating the jail? An which FreeBSD host/jail version?

FreeBSD 11.3. I created the jail with ezjail:
ezjail-admin create seedbox 're0|192.168.4.12'

Does it support vnet? I haven’t used ezjail in years! FYI plex won’t fully work in a jail without vnet support!

That said firstRun should as long as the jail is in the same subnet as the machine opening the URL in the browser.

I’m pretty new to FreeBSD and I thought ezjail was the recommended way. After further reading, it looks like that’s no longer true. I’ll read up on jail.conf and try again.

The easiest and most used this days is probably iocage, but it requires ZFS!

jail.conf should be hard to use and does support vnet via “epair” or “netgrapgh”; Its what I used before iocage and the best source of info for me was github:

You’ll find jal.conf examples and scripts for either epair/netgraph (jib/jng)!

Btw I would suggest you update to 12.x though! vnet support is better, and so is “drm-kmod” which enables you to use Hardware Transcoding with FreeBSD if you’re CPU supports it.

The documentation on making jails is so fragmented and hard to follow, especially regarding vnet, that I just gave up and installed Plex outside the jail. Works great this way.

I missed you’re reply back then! The documentation for jails is not bad but its based on using just the system tools (namely jail.conf) which should work. But I agree they should have a example for vnet there!

However in the git repo I pointed to you have jail.conf examples and scripts for netgraph/epair (for creating the actually virtual interfaces.

That said there are other tools that do the job very easily, my favorite is iocage, it does require ZFS but that’s because it also leverages zfs.

There more tools however like qjail and cbsd, or even ezjail (I wouldn’t recommend that one this days as its not very active and lacks a few things like easy upgrades and such and I think I still doesn’t support vnet).

FreeNAS uses iocage for some time now, plugins are actually “iocage plugins” (pre-setup jails with the needed ports/pkgs installed for you) there documentation is also good IMHO, and its under active developement, check https://github.com/iocage/iocage for more details.

You can also just google for “iocage plex jail” or something like it and you will find easy to follow tutorials…

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.