Changed mind on deleted files. Now Plex scanner won't recognize they have been replaced

Server Version#: 1.29.1.6316
Player Version#: 1.55.0.3278-c6164b3c

I deleted the first 6 seasons of Doctor Who using Plex. I then changed my mind and put them back where they were. Now the scanner does see the files at all. Is there an internal database that still thinks they are deleted which prevents the scanner from seeing them?

Thanks

Verify that the re-added files are conforming to the naming guidelines for tv shows. The scanner got stricter than it was a few years before, so it might now no longer recognize non-conformant file names. https://support.plex.tv/articles/naming-and-organizing-your-tv-show-files/

  1. edit the library, go to the “Add Folders” tab, verify that every folder path in there is still existent, accessible, and not completely empty
  2. remove the files again
  3. Scan library files, wait until completion
  4. Empty library trash
  5. optimize database
  6. clean metadata bundles
  7. add files back
  8. scan library files

If that doesn’t help either, check your database 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/repair-a-corrupted-database/

I just did steps 5 and 6 in the first list above and then ran a scan. The scanner is now working as expected.

Thanks for the detailed information.