• 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 Media Scanning & Identification Jellyfin not removing inacessible file paths

     
    • 0 Vote(s) - 0 Average

    Jellyfin not removing inacessible file paths

    After changing the file path to a library Jellyfin does not fully remove the old filepaths, leading to collections created with only one movie
    ponyboy
    Offline

    Junior Member

    Posts: 2
    Threads: 2
    Joined: 2023 Aug
    Reputation: 0
    Country:United States
    #1
    2024-12-06, 06:48 AM (This post was last modified: 2024-12-06, 07:00 AM by ponyboy. Edited 1 time in total.)
    I seem to have found an issue with Jellyfin's handling of changing/removing library locations.

    I have Jellyfin installed via docker, and during an update accidentally changed the internal mount location of my media drive, i.e. "/Movies" to "/drives/Movies"; and for whatever reason (I'm still not sure why) instead of simply changing the mount location back, I changed Jellyfin to point to the new location for my media folder by adding a second Movies library with the new location, and then removed the old library. After realizing my mistake, I changed the docker mount back to the original location and changed my Jellyfin library location back to the original. While everything works as originally now, and my media is now mounted correctly; I now have an issue that every Movie in my library that is part of a collection appears as a collection, even if there is only one movie in that collection, despite my settings requiring 2 movies within a collection to create it. When looking within my library.db file; in the typedbaseitems table, there is still two copies of each movie, one with the currently used path e.g. "/Movies/A Movie (2024)/A Movie (2024).mp4"; and the other with the path that no longer exists, and no longer has a library e.g. "/data/Movies/A Movie (2024)/A Movie (2024).mp4". While replacing collection metadata and deleting the offending single movie collections seemed to work at first, this was not the case. It seems upon the scheduled task for scanning library for new box sets all of the single movie collections are recreated. I would appreciate any help that can be given, and I hope that this may help find if there is potentially an issue with the way that Jellyfin handles the additon + removal of libraries
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-12-06, 01:44 PM
    Uncheck "automatically add to collection" in the library settings and delete the collections library (does not delete media). Then "Scan all libraries".
    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]
    « 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