I’ve been cleaning up my server and am noticing that a lot of the shows and movies I’m deleting aren’t being removed from my database. I’ve tried deleting the trash, cleaning bundles, and optimizing database. But the zombie metadata still exists. Are there any further steps I can take to clean up my database?
Well I deleted files from my server. Run all the appropriate actions in Plex and the show still shows it’s there until you try playing it. It’s been months since I deleted this:
So something interesting. One of the zombie shows was the only one in a directory. So I removed that directory from the “add folders” list. I didn’t think anything of it until I read your post and went to check on Plex again. Turns out all of the zombie shows are now gone. Not sure if that did the trick or if it was a coincidence.
If Plex can’t read ANY shows in a top-level Library folder, it assumes the folder is temporarily offline, like a disconnected USB device or unreachable network share.
So it doesn’t assume the files have been deleted.
You probably could have deleted the files from within the Plex interface, but I think it’s good you removed the unused Library folder.
If this was triggered by one of those folders having nothing in it, then what I’m about to point out may have avoided the problem altogether.
Every folder in that list that’s visible has a common ancestor of /media/Television. It is completely unnecessary (and not recommended) to have all those individual folders listed like this. I suggest removing all of those entries in this list and adding one for /media/Television.
Yeah but if I do that then Plex won’t read all my files as separate shows. It will categorize every show under the first directory read. Trust me, if I could put /media/Television I would.