Server Version#: 1.20.3.3437
Somehow a second server process spawned, which scanned in duplicate file paths for the same items, making Plex behave as though 2 versions existed of every scanned file. Obviously it’s easy to close the 2nd process, but the carnage it created in the library is substantial and that is baffling since it’s extremely basic logic - if a path exists already, don’t add it a second time.
The ‘optimize database’ function does not clear out these duplicates, which would solve issues related to that problem. Can Plex please have logic added to the scanner which prevents duplicate file paths from being added? There is no situation in which an IDENTICAL path should be added twice to the same media item.
To reiterate: a check to the media scanner to prevent a duplicate path being scanned into an item would prevent any issues like this from occurring, and an adjustment to the ‘optimize database’ function to add this (check and remove duplicate paths) would help clean up libraries which are already affected.