Plex shows duplicates with identical paths and filenames

Avoid more than one library update running at the same time.
E.g. if you use the automatic library update, disable the period update.

If you use radarr, sonarr etc, and you let these trigger the Plex library update, disable both of the above.