All TV shows suddenly unplayed

I just started Plex and suddenly all of my TV shows show as unplayed. They definitely were all played before, I watched the last two episodes on deck this afternoon (it’s evening now, so a few hours later).

The only thing I did that might (or not) be related is that I moved my Apple TV from the living room to the bedroom and changed it’s name accordingly. Now all TV shows show unplayed for all available episodes in all seasons.

Has anybody experienced anything similar? Do I really need to go through all of them and mark them as played manually now? This would also seriously screw up my statistics.

Server Version 1.16.3.1402
Issue is present on Apple TV, Samsung Tizen app and Web Client.

Check your main server database file for damage:

  1. activate debug logging (not ‘verbose’!)
  2. quit Plex Server
  3. wait 1 minute
  4. start Plex Server
  5. wait 5 minutes
  6. fetch log files and attach them here

Or inspect them yourself. Take a look at the Plex Media Server.log file and seek for messages about database corrupt or malformed.
If you find these, you may have to repair your database.
https://support.plex.tv/articles/201100678-repair-a-corrupt-database/

Thank you for your quick and thorough response.
I took all the steps you described and attached Plex Media Server.log
Plex Media Server.log (3.0 KB)

I only xxxx’ed out some remote user’s ID’s and names to protect their privacy.

No sign of a corrupt database so far.

Searching through all the logs in the downloaded and extracted ZIP didn’t turn up anything with those two searchwords either:

$ egrep -nir 'corrupt|malformed' * | grep -cv "<url>"
0

The seconds grep is only to filter out messages that look like the following:

Plex Media Server.1.log:25:Jul 18, 2019 03:05:52.494 [0x70000a493000] WARN - HTTP error requesting GET /media/providers?X-Plex-Token=xxxxxxxxxxxxxxxxxxxx (0, No error) (<url> malformed)

You should enable debug logging, or your log files are of very limited use.

Well I did as you told me (including the 1 minute and 5 minute delay).
37

Did you actually stop and restart Plex server after that?`Because the log file you posted doesn’t contain a single ‘debug’ line.

Yes, I did. I shall attempt again…

Oh wait. You enabled logs for the web client, but not for the server.
The support document contains wrong screenshots.
Go to
Settings - Server - General

Oh you’re right, got it.

Ok here’s the new one. Still nothing about a broken DB.
Plex Media Server.log (125.4 KB)

You have some really old plugins still installed.
The ‘UnSupportedAppstore’ was deprecated years ago by WebTools.
The Discogs Plugins is also non-functional for years now.
TVRage is also history for years already.
You should remove outdated plugins. The fewer plugins, the better.
But these are just aside notes.

I see you are using the trakt.tv plugin as well. Is it possible that something went wrong with trakt.tv? Because this has the power to set the ‘played’ status.

I have only one idea how to repair the damage: restore a plex database backup from a few days ago:
https://support.plex.tv/articles/202485658-restore-a-database-backed-up-via-scheduled-tasks/

1 Like

Ok, I will get rid of the plugins. I’m not using the unsupported app store anyways. I can’t remember ever having installed Discogs or TVRage though, could this have been a default in older versions?

Trakt could very well be the pundit here, I’ll never know.

Thanks for the pointer to the database restore, I’ll give that a try. And thank you for guiding me through this.

I’ve removed Trakt, Unsupported Appstore, Discogs and TVRage and restored from yesterday’s DB backup. All is well now. Thanks :smile:

1 Like

Fwiw the Trakt api had issues yesterday so it very likely was caused by trakt https://twitter.com/traktapi/status/1152589703259947008?s=19

If you do not need the full plugin functionality you can use webhooks to just scrobble instead https://plaxt.astandke.com

Thanks but as I don’t really need Trakt‘s service I opted for a complete plugin cleanup and just removed it.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.