1.19.1.2589 not working on freenas after upgrade

As you can see I have very few things installed manually and all of them to support PMS work:

root@PMS-Plexpass:/ # pkg prime-origins
ports-mgmt/dialog4ports   # do not remember, actually
graphics/drm-fbsd11.2-kmod   #PMS hw transcoding support
textproc/jq   # PMS auto update script support
dns/libidn2   # PMS 1.19.1.2589 to start
multimedia/libva-intel-driver   #PMS hw transcoding support
multimedia/libva-intel-media-driver   #PMS hw transcoding support
ports-mgmt/pkg   # Package management
multimedia/plexmediaserver-plexpass   # The Real Hero here
ports-mgmt/portupgrade   # Ports management
www/py-httpie   # PMS auto update script support
databases/sqlite3   # PMS database repair support
1 Like

FWIW you don’t need the intel drivers for HTW in plex, just the kernel module!

ports-mgmt/dialog4ports most ports need this (when ever they need to show port make options)

ok, can confirm that after installing libidn2 + p5-Locale-libintl I was able to reach a new instance of PMS (pass) by make -C /usr/ports/multimedia/plexmediaserver-plexpass install clean.

Any idea, whether something has changed on Freeenas side (which I’m not aware of) or whether something in the PMS port/pkg could be added next release to have upgrade as smooth as before?

I had the same issue. Thank you to everyone here that helped getting it working again.

I typically update using ā€˜pkg update’ . How do I use (and install) ā€˜pkgng’ instead? As I understand, ā€˜pkgng’ is the next gen form of ā€˜pkg’ correct?

I to needed to run ā€œpkg install p5-Locale-libintlā€ as well as ā€œpkg install libidn2ā€ for my plex to start.

Two(!) restarts of my iocage later and I can now access my server. Thank you! I would not have figured it out without you and @zperetz

What will happen in the future? Can I continue using ā€œpkg upgradeā€ or do I need to do something else?

2 Likes

I still can’t get my fresh install up and running despite following the recommendations in here. The Plex server starts, but I can’t stream or collect metadata. I wonder what pebkac I’ve managed to do to have such problems getting it to run…

It was all installed in a fresh, new jail, but I might have to try again… :confused:

Try to check jail parameter allow_raw_sockets (should be enabled)

Interestingly enough, I had a working plex on the same machine, just an old jail (which has since been completely removed, so can’t compare).

What you suggested did not work straight off, but I’m sure it put me on the right path! I will do some more digging tonight when my family is sleeping. :stuck_out_tongue:

Thank you. :]

@mikec_pt please escalate this internally. This is an issue with the builds that Plex is producing for FreeBSD. There are not supposed to be any external dependencies required for Plex.

root@coloplex:/usr/local/share/plexmediaserver-plexpass # ldd Plex\ Media\ Server | grep "not found"
   libidn2.so.0 => not found (0)
   libintl.so.8 => not found (0)
# pkg info -l plexmediaserver-plexpass | egrep '(libidn2|libintl)'
	/usr/local/share/plexmediaserver-plexpass/lib/libidn2.so

You are shipping libidn2.so but the binaries are expecting libidn2.so.0, and libintl.so.8 is completely missing from the build.

2 Likes

Got it working. Pebkac regarding loopback interface. All is well again. Phew. x]

Correct, I mentioned in a reply above that this is an issue on our side not the port, we are looking into it.

1 Like

Is it going to be necessary to search plex forums for bugs before updating in the future?
The last time Plex said they were looking into something, it was in regard to the Chromecast 7.1 AAC h4 error; it’s been over a year and nothing has been fixed.

Have you heard the phrase ā€œlook before you leapā€? I’d recommend not updating unless you have a specific reason to (like a new feature you want, or bug fix mentioned). Don’t update just to ā€œsee if it fixes my x issue with yā€ – if the release notes don’t explicitly say ā€œfixes x issue on yā€, assume it doesn’t.

Not sure whats the issue you are referring to there but I would also like to ask to keep that in it own thread!

This is actually not a bug in PMS at all, its just something in the build/packaging system that IS being fixed and will be fixed before we push FreeBSD build to the stable channel! I will update this thread as soon as the fix is available!

Well my install is borked and I cannot access Plex, so hopefully that gets fixed as quickly as you say or FreeBSD users will have to use different streaming software. Also, the above fixes didn’t seem to work for me.

The ā€œotherā€ issue was reported on various threads until most were locked due to no responses. Months ago I finally received a reply to an Android app review saying that it was reproduced in-house and being tracked. I was really hoping I could get the attention of a Plex Dev (rare sighting) on the forum because that is the only way things seems to get resolved *hint *hint (can you please take a look?)

Posting the links to all other threads here after I asked to please keep those in their own threads is really not helpful, nor is opening 3 threads of the same it just makes any fixes take longer and longer! If you keep on dong that I will have to close this thread until I post the update on the fix!

We are actively working on it, something that maybe might not be always clear to users is that the plexpass version of the port is not really ā€œplexpassā€ ITS beta and as much as we try to keep those as stable as possible they are still beta!

The solution for this is to either switch to stable for now, or install whatever deps the system needs! It should be just the 2 I refereed too. If that’s not working for you than you might not be running into the same problem!

What’s the output of pkg check -d plexmediaser-plexpass ?

root@plex:~ # pkg check -d plexmediaser-plexpass
pkg: No packages matching: plexmediaser-plexpass
root@plex:~ # pkg check -d plexmediaserver-plexpass
Checking plexmediaserver-plexpass: 100%
root@plex:~ # pkg check -d -v  plexmediaserver-plexpass
[plex] [1/1] Checking plexmediaserver-plexpass-1.19.1.2589: dependencies... done

If anything was missing you would see:

 pkg check -d plexmediaserver
Checking plexmediaserver: 100%
plexmediaserver is missing a required shared library: libidn2.so.0
plexmediaserver is missing a required shared library: libintl.so.8

So if PMS is not starting for you this is another issue!

Does it not start at all? Does it segfault? Do you even see the Log getting written with something?

After yesterday’s update, the server is no longer reachable. I was able to successfully ping an outside IP from inside the jail (in which the media server is located).

I did a clean install today and the server is still ā€œunavailableā€ on the local network.

How should I proceed?

Lets follow up on that in DM; seems like a different issue