Create shared folder PlexData anywhere you want. It’s only a placeholder for one entry which takes you into the QPKG storage area for PMS.
Restart PMS. Wait 1 minute, Now stop it completely. We’ll leave it stopped until we’re done
Open FileStation → PlexData. You’ll now see Plex Media Server listed. This is the link into that storage area. Click it.
We’re going to copy 2 things out of it.
– Copy “Preferences.xml” to somewhere “Public” share works for what we’re doing.
– Drill down into “Plug-in Support/Databases”
– COPY com.plexapp.plugins.library.db to the Public share as well.
(we’ll use this to recover your watch history from the SSH shell if you want. Skip this step if you don’t care or have PMS saving your history to the cloud)
Navigate back up to the “Plex Media Server” folder where you see “Preferences.xml”
Highlight everything in FileStation,
Delete it. (This will take a bit to complete. )
When it’s complete and empty again –
COPY “Preferences.xml” from the Public share back to this “Plex Media Server” shared folder (so it’s back in proper place when PMS starts
START PMS
Give it some extra time to startup. It is going to do a lot of First-Run initialization (empty DB, new directory structure creation, etc)
Now open PMS.
You should find that you have a completely EMPTY server with the same name and share permissions as you had before
Please let me know how you’ve fared at this point.
View state sync will only be an option for those accounts which have access to a Plex Media Server running 1.27.2 or higher. The setting can be found under Settings > Account > Sync My Watch State and Ratings in the web app (as well as a few other player apps, like Android and iOS).
I’ve done all stuff here :
Deleted all the folders inside the Plex Media Server folder
Replaced the Preferences.xml only to have a new database.
Some of the users disapeared from invites, had to re-invite them.
Still got a lot of busy database giving up that makes the server buffer a lot during watching and it’s annoying.
I’ve waited 24 hours to let the server startup clearly and load all my stuff.