Meta data from deleted files

Server Version#: 1.24.2.4973

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?

How are you observing this?

and

How long has it been since removal?

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:


The function that should remove deleted entries is “Scan Library Files.” That should be happening automatically, unless you’ve turned it off.

Yeah, that’s the first thing I do. I just forgot to mention it. And it does happen automatically.

Bumping. Been trying to find a solution to this.

Now running Version 1.26.2.5797

Can you provide a screenshot of the add folders part of this library?

Within these directories are /shows/seasons/files

Can your perform a file scan, and post the server logs?

1 Like

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.

1 Like

:+1:

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.

How exactly can you delete files from the Plex interface?

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.

For TV libraries, intermediate folders are actually bad.

Plex wants to point to a folder, which contains show folders, then season folders, then episodes.

Additional nesting of intermediate folders confuse the matcher.

1 Like

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