Server Version#: 1.17.0.1709 (but same behavior with current Public release)
Every morning when I open Plex Web my Series directory is scanning. Yet there are no entries in “Alerts” to show it’s scanning and there is nothing happening in the Plex Media Scanner.log file. If I then manually cancel the scan of that library, it kicks off another scan where I then DO see entries in Alerts and that scan goes as usual where it scans the whole library and then stops. The biggest problem is that since this scan never ends until a manual cancel, none of my libraries actually update with new media until I manually cancel each day.
This also is not just a Plex Web bug showing a scan when it’s not because I see the scanner service running and it’s pegging 1 core of my CPU until I cancel the scan. I assume it’s getting stuck on one item in the library but since I see nothing in the Plex Media Scanner.log file how am I supposed to find which item?
sounds like you have a bad or corrupted file the scanner hangs up on.
if you look at the plex and/or transcoder process (taskmanager or htop or whatever), you should be able to see the path of the file that is stuck.
Thanks. It appears to be stuck on a season folder for a specific show. I just moved those files out of the library folder, did a manual scan, emptied trash, cleaned bundles, optimized DB, and then re-added the files. An automatic scan kicked off and finished. So we’ll see how the automatic scans go in the morning.
If you have new media being downloaded (received), with the temporary working directory IN where PMS monitors, every data block written will trigger another scan.
Ideal configuration is to define a working / temp directory in the client app outside where PMS monitors. Torrent clients and NZB clients both support this. When the task is complete, they move the composite file into position and PMS scans one time.