Hum you’re changing the support path but that shouldn’t break things and permissions look ok, however it might be simpler to let it be default, if this is about being able to keep it separate for easy snapshots/backups/migrations you could simple have zfs mountpoint set to the default path inside the jail (or do nullfs but for the standard dir /usr/local/plexdata)
But anyway back to the main problem, I do have 707 on my machine and can’t repro this, can you please DM me you’re PMS logs output of sockstat -l46 and you’re Preferences.xml and maybe also the full rc.d script?
Yes, it SHOULD, I can’t promise 100% cause other issues might be at play since a custom script is in use, but looking at what it does (wipes the install dir and overwirtes with a new install); if you then just make sure the rc.d is up to date it should work…
Thanks for finding the exact line. This was a problem with my server and it solved many things. Vi is also not evil, just takes a little getting used to.
I’ve tried everything in this thread with no luck.
After modifying the rc.d, I ran this:
service plexmediaserver start
It indicates that it’s starting the server. But unlike others who can access Plex (just not settings), Plex doesn’t even start. I checked logs but I see nothing, not even an indication that Plex is starting. So I tried to manually start Plex Media Server and saw an error:
/lib/libc.so.7: version FBSD_1.5 required by libpython2.7.so.1 not found
Does Plex require FreeBSD 12 now? I still run FreeNAS 9.10 which is based on FreeBSD 10.3. I supposed I should upgrade soon, but I was hoping to get the update working in the meantime.
For now I rolled back to an earlier snapshot. I’ll keep troubleshooting tonight or tomorrow.
I’m running on FreeBSD 12, upgraded to the latest available port version which is 1.15.1.707.
With that version I can’t restart plex server any longer, it just hangs and Plex Script host processes get stuck to 100% CPU load. There is also a memory leak and all of my memory (128 GB) and swap space is fully consumed.
I now removed it and used the pkg version which is 1.14.1.5488 and all is back to normal again.
So I was back and forth onto 1.15.x versions with issues (even after having fixed the rc.d script). Before editing the script, obviously nothing worked. After editing it, settings didn’t work. I updated via the port a bit ago, same thing where it wouldn’t work. So I reverted. Made a clean 11.2 based jail, same issue where settings wasn’t accessible. I updated again to 707 via ports again today, and once again settings were inaccessible. I stopped the service, verified the script, saw the port now included the updated path, and started plex again… still no access to settings. Out of stubborness/stupidness I restarted the service 4 times, then before rolling back to 5488 again I went ahead and tried to go to settings again… and it worked.
So, yay for me it works now. What it makes me think though, is what all files are being automatically migrated by Plex now for any of the internal changes? This would make me think that not all of them got moved in the first startup and in my mashing of restart I gave it enough passes that it eventually got itself straightened out.
However, as the PMS are mostly installed as a plugin in an iocage jail on FreeNAS 11.2 and there is no /etc/version inside the jail. They are still identified as FreeBSD in most cases.
For everyone having issues, I have been blowing my jail out and rebuilding from scratch to test each time.
If you follow the install guide linked above, you will install a clean new jail, and then update the repo and it will pull 791_1.
I can say that 791_1 is working just fine after a pkg upgrade and manually starting the service. I did have to restart it once but after that all has seemed fine.
EDIT: Died after a few minutes and settings not available. Rolling back now.