Jellyfin Forum
Scan Library doesn't remove Missing Directories or Deleted Media - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: General Questions (https://forum.jellyfin.org/f-general-questions)
+--- Thread: Scan Library doesn't remove Missing Directories or Deleted Media (/t-scan-library-doesn-t-remove-missing-directories-or-deleted-media)



Scan Library doesn't remove Missing Directories or Deleted Media - NepuddiN - 2024-12-09

Howdy fellow JF Fans,

So around 3 days ago or so I tested moving some of my collected shows from my humble HDD to a very similarly named Library, but located on a newly purchased SSD.
Later on the next night, I changed my mind lol and reverted back my setup to HDD by removing the SSD path from Libraries path and unplugging it.
The problem was, Jellyfin Server reported duplicate number of episodes, like orphaned or ghost files, as what was generated is now missing.

So, of course a rescan of my library would fix this right? Well... that's what I thought but no,

>Refreshing Metadata from Jellycon didn't fix it
>Clicking on Scan All Libraries didn't fix it
> Clicking on Libraries>>Selecting the library name, E.G Anime or TV Shows, then scanning for new/updated files, missing metadata, or replace all metadata... still doesn't fix it Slightly-frowning-face
> Navigating to the Show Title and opting to refresh Metadata, didn't fix it

The only fix that immediately worked after 1 second and refresh is by manually navigating to the Shows Title>Affected Season Number>Refresh Metadata (whichever) and refreshing the page.
Luckily I hadn't moved that many shows, but it's frightening this "Clean Library" action can't be easily triggered without crawling to the affected Season folders, especially for Shows that by default had the metadata "flattened" due to JF seeing only one season.

So yea,,, dunno if the missing reference is a bug from removing a path(s) from Libraries? Cuz normal delete operation doesn't create this kind of problem...

I'm using JF Server version 10.10.1 if that helps? on Windows 10