I did a password reset last week but didn’t log out my devices. I had no issues using Plex until today. My Plex media server is showing up as inaccessible in clients. In Plex Media Server.log I saw a 403 on http://resources-cdn.plexapp.com/hashes.json so I thought the server might have gotten logged out.
I went directly to the web interface at https://host:32400/web and was prompted to log it into my Plex acount again, and then saw the initial setup screens which I clicked through.
After that the server was kind of accessible again but now none of my previous libraries exist in the settings which seem to have been completely reset. That means 5+ years of watch history for like 15 people are now gone.
Plug-in Support/Databases doesn’t have any backups either, even though I’m pretty sure I had the regular scheduled backup task. My entire Plex Media Server directory went from several gigabytes to 6MB.
The database backups are gone; ~plex/Library/Application Support/Plex Media Server appears to be completely fresh, there are no files from before today. Even the plug-ins I had in the Plug-ins dir were removed. The only actions I’ve taken through the console on that system since I found the server in an inaccessible state are:
Read the log files in Logs
Update from plexmediaserver 1.28.2.6106-44a5bbd28 to plexmediaserver 1.28.2.6151-914ddd2b3
I have a backup from when I migrated from another machine last September that I’m going to try to restore.
I’m going to copy the old Preferences.xml from last year and see if that can give me back the old ID (don’t remember if it kept the previous ID when I migrated last year).
The OS upgrade didn’t break anything else I had on the system, but it’s possible the Plex upgrade did?
Good news though! I restored Preferences.xml and the databases from the 2021 backup on the other machine. It does seem to have recovered the correct identifiers for the server and, importantly, restored the libraries that are being shared with other accounts. Lost about a year of watch history but at least our less tech-savvy friends don’t have to figure out how to locate and re-pin the libraries.
Thanks, yeah I’m pretty sure it wasn’t the OS upgrade that could’ve removed Plex entirely. That and the Plex package upgrade were the only changes that happened between yesterday and today.
Going to look through more of the dpkg logs since this is really weird.
At least the restored, if slightly old, Plex database is working fine now.