TV Shows disappearing, library scans freezing / getting stuck

Server Version#: 1.42.2.10122

I have been running Plex for years without trouble, last week I noticed one of my shows that has been on there for years had disappeared, I was rewatching it which is why I noticed. When I looked into it, I found that loads of my shows were missing.

I have been trying to fix it since but the library scanner keeps freezing. I have tried deleting the library from Plex and adding back, deleting all image files, xml, nfo etc leaving just video files and folder structures. Each time the scanner seems to freeze and I have to reboot to fix. Movie library seems ok.

I am using Plex TV Series scanner and Plex Series agent. It seems to vary which show it gets stuck on so I don’t think this is a corrupt file causing it. Does anyone have any ideas? I am on the Beta releases that come with Plex Pass so potentially a new update has caused it.

Have you checked your database.

https://support.plex.tv/articles/repair-a-corrupted-database/

I have ran PRAGMA integrity_check; and am waiting for the result, it’s a ~40GB DB file so might take a while.

The scan found no corruption.