I have the same issue… I definitely don’t want to delete / re-add all my stuff
I’m getting this with new movies now, any comments from Devs on this?
There is only one solution I can think of with your database in the state its in.
- Export all your current viewstate information from the database and keep that safe
- Erase the
Library
directory and start fresh - After all matching has completed, reload your viewstate
- If you need to keep the machine ID information (used to share your server with others). You’ll also want to copy the
Preferences.xml
file
If this is an option, with PMS stopped:
- Export the view state information (see the bottom ‘source’ system)
https://support.plex.tv/hc/en-us/articles/201154527-Move-Viewstate-Ratings-from-One-Install-to-Another - Stop PMS
- Copy the
Preferences.xml
file from/var/lib/plexmediaserver/Library/Application Support/Plex Media Server
to some place safe -
sudo rm -rf /var/lib/plexmediaserver/Library
(this will take a while and the HD will be busy) - Start PMS
- Recreate your library sections and preferences as before
- When all libaries recreated and metadata back, Stop PMS
- Import your viewstate information back in. (part 2 of the procedure linked above)
- Copy your saved
Preferences.xml
back and overwrite the transient one it created - Start PMS
- You should be fully back to normal without duplicates. If you do have them now, you have a hardlink / symlink somewhere on your machine
I’m getting this now if I replace a file, so I will delete the old file and bring in the new file before the library updated. Scan Library, optimise DB and empty Trash and nothing works.
The other way to do this is the Plex Dance.
- Delete the old
- Update / Empty Trash / Clean bundles
- Insert new
- Update
You will lose the watched status. but the previous entry will be gone.
I had the same issue with two episodes I just went to directory moved or deleted them refreshed plex server until it read the eps no long in their then transferred them back in and refreshed iit didn’t see it as 2 fils anymore
Has there been a “fix” for this issue in the code? Seems like everyone acknowledged the issue exists but there hasn’t been a code fix.
I have the same issue, just dropping in to see if there is an easier fix now and to share my two cents.
I believe I only get this problem when this order happens:
1)A new episode is available
2)The 720p version drops and Sonarr gets it
3)The 1080p version drops a few minutes later and Sonarr updates it to that.
4)The 720p version is deleted as it should be but Plex freaks out and stays showing both files but using the same filename as the 1080p copy.
Don’t know. Watching to see what is happening.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.