• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Deleted Media still in system

     
    • 0 Vote(s) - 0 Average

    Deleted Media still in system

    Deleted Media still in system
    Lukas Lindner
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2023 Dec
    Reputation: 0
    #1
    2024-01-13, 10:48 AM (This post was last modified: 2024-01-13, 10:48 AM by Lukas Lindner. Edited 1 time in total.)
    Hey there Smiling-face 

    I rearranged my folder structure a little bit a few days ago ro make it more consistent and suitable for Jellyfin. Jellyfin rescanned the library and found every film again, so far so good. 
    But when I take a look at the logs, I can see that there are numerous log entries that warn me that the films that I moved could not be found on their old locations.


    It looks for example like this:


    [WRN] [57] MediaBrowser.Controller.Entities.BaseItem: Unable to find linked item at path "/media/.... and so on


    They appear with every new library scan and also if I navigate to - for example - collections etc.


    I guess, with the first library scan after restructuring the folders, the films in question got added again as a new item, but the old items never got removed from the system.
    It is not problematic as the user experience is not diminished by that. Everything works fine and I see every film just once as it should be.
    But I still would like to have system integrity.


    Does anyone have a fix for this?



    Jellyfin Version: 10.8.13 (latest)
    Running on Docker (Container Manager) on my Synology DS 920+ (Operating System: Linux, Architecture: X64)


    Thank you Smiling-face 


    P.S.: Sorry if there already is a thread about this.. I did not found it.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-01-13, 09:19 PM
    If you had a playlist or collection of movies/shows before you move their location, those playlists/collections will still be looking at the previous location.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    2
    Lukas Lindner
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2023 Dec
    Reputation: 0
    #3
    2024-01-14, 01:10 PM
    Ok, the problem was because the deleted items before were linked to collections.
    Items that are no longer present in the file system for some reason are still present in the metadata for the collections. (*)

    Instead of deleting the whole collection and manually re-creating it (what I guess would have worked, too) I edited the config/data/collections/YOUR COLLECTION [boxset]/collection.xml file and removed all <CollectionItem>-Tags that hold a path that does no longer exist. 
    After a library scan (and I threw in a database and cache cleanup, just to be safe) the error logs are gone and I still have the collections as they were.

    * I guess there is a cleanup of the collection xml files missing in the script that removes items while not found on file system during a library scan
    eli_liam
    Offline

    Junior Member

    Posts: 1
    Threads: 0
    Joined: 2024 Oct
    Reputation: 0
    #4
    2024-10-04, 09:04 PM
    (2024-01-14, 01:10 PM)Lukas Lindner Wrote: * I guess there is a cleanup of the collection xml files missing in the script that removes items while not found on file system during a library scan

    Have you, or anyone else, found a way to clean up these files? It appears as though there still is no script in the scheduled tasks that cleans up unlinked data(such as extracted subtitles, generated trickplay images, chapter images, and so on).
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode