Seemingly since the most recent update, I (and my users) keep losing access to my PMS even though the server and the PlexMediaServer.service is running.
So far, a restart or two has brough access back, but I have no idea why its dropping to begin with. I can’t see my server or libraries when I try to reach it via direct IP (x.x.x.x:32400) instead of through the Plex.TV link either.
Yes, I’m able to systemctl stop the service and restart it, but that hasn’t fixed the problem when I tried it.
I should also add, for clarity, that when the server disappears, it completely disappears from my list of libraries and servers. It doesn’t show the yellow triangle/exclamation point icon for when a library or server is unreachable. It completely disappears and only shows me Plex’s (yours) content on the home screen, not any of my own.
One of the other things I noticed was that my Plex Token has also changed.
The scanner crash is known. The credits detection feature (built into the scanner) is what’s broken.
It’s also fixed just this past Monday and already coming through the testing & QA chain to make it out in (probably) the next release (please don’t quote me but it looks high enough priority to be in it)
For now, you should be able to turn off Credit Detection in each library section.
Well, after moving the server over to a new Ubuntu install and getting the NFS share issue solved, I’m still back to random crashing.
My users have also lost their access to my shares, I needed to grant everyone new access. Hoping I can restore that with one of the backup db files.
I had previously turned off all of the credit detection scanning, but I may have missed one library. Any way to tell what caused the crash this morning between 10:30a and 11:30a? Plex Media Server Logs_2023-04-02_11-28-55.zip (4.0 MB)
In your account, I see four servers with the same name. This tells me the server has been recreated (at least Preferences.xml) from scratch four times.
Given you moved to a NEW ubuntu installation, I suspect you have a new SERVER ID again.
Sharing is on a Server ID basis (stored in Preferences.xml) .
Go into Settings - Users & Sharing (upper left). Everyone is still there.
You just assign them again to this new SERVER ID.
There are easy ways to prevent this from happening but takes a little planning upfront.
( Moving PMS is detailed in Linux Tips How-Tos
When installing the OS, make a /home partition
– OS is 64 or 128 GB (I use 128)
– Swap is 16 - 32 GB
– Home is the rest of the volume (unless an SSD you want to carve up further / finer)
Install PMS and get it initialized
Stop PMS and create a new home for it on the /home partition
– mkdir /home/plexmediaserver
– chown plex:plex /home/plexmediaserver
– using ‘tar’, copy all of /var/lib/plexmediaserver to /home/plexmediaserver
sudo bash
cd /var/lib/plexmediaserver
tar cf - . | (cd /home/plexmediaserver ; tar xf -)
Create a systemd override to change the Envirionment="PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR=/home/plexmediaserver/Library/Application Support"
After this is complete, PMS is now kept safe (stored independent of the OS) on the /home partition ; which you’re not forced to erase should a fresh OS install be needed…