# Duplicate Plex entry for one file

**URL:** <https://forums.plex.tv/t/duplicate-plex-entry-for-one-file/892354>\
**Category:** Metadata & Adding Files\
**Tags:** server-linux\
**Created:** [October 15, 2024, 3:48am UTC](https://forums.plex.tv/t/duplicate-plex-entry-for-one-file/892354 "2024-10-15T03:48:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![DrEthan](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/drethan/32/285567_2.png) [@DrEthan](https://forums.plex.tv/u/DrEthan)\
**Post date:** [October 15, 2024, 3:48am UTC](https://forums.plex.tv/t/duplicate-plex-entry-for-one-file/892354/1 "2024-10-15T03:48:15Z")

</div>

Server Version#: 1.41.0.8994  
Player Version#: 4.140.1

 ![Screenshot 2024-10-14 214054](https://global.discourse-cdn.com/plex/original/4X/1/c/a/1cab3091d3164fca3946dc626d4ea2a371e08d20.png)  
This seems to happen randomly to some files and not others, I do have “Scan my library automatically” enabled and this usually happens during huge uploads to my plex library (75gb+, 50 files+).  
Is there a way to fix this without moving the file, deleting one of the entries, and adding the file back? Also is there a way to prevent this?  
As a little context, the underlying filesystem is BTRFS with CoW (Copy on Write) enabled if that has anything to do with it.

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [October 15, 2024, 6:15am UTC](https://forums.plex.tv/t/duplicate-plex-entry-for-one-file/892354/2 "2024-10-15T06:15:31Z")

</div>

The easiest way to resolve this is to [Plex Dance](https://forums.plex.tv/t/the-plex-dance/197064) the movie.

While you do lose the watch history for it, PMS completely removes both entries from the DB and then creates one entry when you re-add the movie back into your library.

It’s a rare race condition. Engineering knows what’s happening but not been able to pinpoint where in the code so it can be fixed permanently.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [January 13, 2025, 6:16am UTC](https://forums.plex.tv/t/duplicate-plex-entry-for-one-file/892354/3 "2025-01-13T06:16:21Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
