Plex Media Server stopped recognizing new items and does not mark as played

Server Version#: 1.25.7.5604
Player Version#: N/A

My PMS has suddenly stopped recognizing new videos that are added to the libraries, even though it does still have access to the files it had previously scanned (I am able to play them without any problem).

Also, the server no longer marks episodes or movies as played (either by watching the episode or clicking on the button). This happens in all clients (iOS, Web and Shield), so I think it’s most likely an issue with the server.

I have tried reinstalling the server and then restoring a backup by moving all of the files in the Android/data/com.plexapp.mediaserver.smb folder, but the problem remained. I have a lot of metadata and watch status that I would like to keep, but I would accept a solution that involves losing any custom plugins or configuration (I don’t really have any of those).

I have attached the logs below. Any help would be greatly appreciated!

Plex Media Server Logs_2022-03-16_19-20-36.zip (815.1 KB)

That server of yours has a problem with a corrupted database. This can happen if the device loses power while writing to the database (or the data directory gets disconnected while doing so).

That leaves you with 3 options (which you can take in sequence):

  1. attempt to repair the database
  2. restore the database from a backup created during server maintenance – depending on how long your database has been showing symptoms of corruption, that backup will be rather older
    Restore a Database Backed Up via 'Scheduled Tasks' | Plex Support
  3. wipe your current server (incl. all its data; not just the app) and start over
    Restart Plex Media Server Setup from Scratch | Plex Support

Repairing didn’t work, but I was able to restore from a backup. Thanks for the help!