• 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 library still shows up on Home for clients

     
    • 0 Vote(s) - 0 Average

    Deleted library still shows up on Home for clients

    cordial
    Offline

    Junior Member

    Posts: 12
    Threads: 2
    Joined: 2024 Sep
    Reputation: 0
    Country:United States
    #1
    2024-11-11, 03:50 PM (This post was last modified: 2024-11-11, 03:51 PM by cordial. Edited 1 time in total.)
    I've seen a few versions of this question posted, but I haven't found anything with a clear fix and resolution.

    I'm running the Linuxserver.io docker container for Jellyfin 10.10.1.

    I had two libraries configured in my instance, movies and tv shows.

    I added two new libraries, films and series. I removed the movies and tv shows libraries. From the admin dashboard under Libraries, they are no longer present.

    The actual server paths for movies and tv shows were deleted. From the admin dashboard, everything looks great.

    When a user logs into Jellyfin via the web interface however, the old libraries for movies and tv shows still show up in addition to the new ones configured. There is no media content for either of the old labels, just the library itself as an option to select. The new libraries play content just fine.

    Short of blowing away the configuration directory and reestablishing Jellyfin as a new installation, I'm not sure what else to do. I'd rather not do this to avoid end-user reconfiguration.

    Am I missing an obvious fix?

    Thanks!
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-11-11, 04:05 PM
    Try ctrl+f5 to make sure that it isn't browser caching. If that doesn't work, share your full server log via pastebin.
    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]
    cordial
    Offline

    Junior Member

    Posts: 12
    Threads: 2
    Joined: 2024 Sep
    Reputation: 0
    Country:United States
    #3
    2024-11-11, 04:29 PM
    Running into some file size issues with PasteBin.

    I'll get something up here within the hour. Thanks for your help.
    theguymadmax
    Offline

    Community Moderator

    Posts: 1,021
    Threads: 0
    Joined: 2024 Jun
    Reputation: 58
    #4
    2024-11-11, 04:41 PM
    To resolve the issue of ghost libraries, my usual solution is to remove them by editing the database. Here's the process:
    1. Download SQLite Browser.
    2. Shut down the server.
    3. Open library.db (always back up first!). Locations vary:
      • /var/lib/jellyfin/data/library.db
      • X:\ProgramData\Jellyfin\Server\data\library.db
      • X:\Users\Username\AppData\Local\jellyfin\data\library.db
    4. Choose the “Browse Data” tab, right under that is the option to choose table type, select “TypedBaseItems”
    5. Enter “MediaBrowser.Controller.Entities.CollectionFolder” in the Filter in any column field
    6. Find the entry you want to get rid of. Right-click on the number and select delete record.
    7. Click the “Write Changes” button, then close the database and restart the server.
    2
    cordial
    Offline

    Junior Member

    Posts: 12
    Threads: 2
    Joined: 2024 Sep
    Reputation: 0
    Country:United States
    #5
    2024-11-11, 08:11 PM
    (2024-11-11, 04:05 PM)TheDreadPirate Wrote: Try ctrl+f5 to make sure that it isn't browser caching.  If that doesn't work, share your full server log via pastebin.

    Tried on multiple machines. Doesn't look like caching is an issue. Here is the full server log for yesterday when changes were made.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2024-11-12, 01:23 PM
    AFAICT, the server doesn't monitor the old folders. But I do see these messages, which seems to indicate a database problem.

    Code:
    Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 11: 'database disk image is malformed'.

    That message isn't spamming the log, but it could indicate some issue that is cause what you are seeing with phantom libraries.

    One thing you can check are the XML files that Jellyfin creates for each library. Go to /config/root/default and in that folder will be all the folders for your libraries. Do you see folders for the libraries you removed? If so, stop Jellyfin and delete those folders.
    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]
    cordial
    Offline

    Junior Member

    Posts: 12
    Threads: 2
    Joined: 2024 Sep
    Reputation: 0
    Country:United States
    #7
    2024-11-12, 02:54 PM
    (2024-11-11, 04:41 PM)theguymadmax Wrote: To resolve the issue of ghost libraries, my usual solution is to remove them by editing the database. Here's the process:

    Any suggestions on how to do this from the command line?
    cordial
    Offline

    Junior Member

    Posts: 12
    Threads: 2
    Joined: 2024 Sep
    Reputation: 0
    Country:United States
    #8
    2024-11-12, 02:59 PM
    (2024-11-12, 01:23 PM)TheDreadPirate Wrote: AFAICT, the server doesn't monitor the old folders.  But I do see these messages, which seems to indicate a database problem.

    Code:
    Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 11: 'database disk image is malformed'.

    That message isn't spamming the log, but it could indicate some issue that is cause what you are seeing with phantom libraries.

    One thing you can check are the XML files that Jellyfin creates for each library.  Go to /config/root/default and in that folder will be all the folders for your libraries.  Do you see folders for the libraries you removed?  If so, stop Jellyfin and delete those folders.

    Unfortunately, no. My path is slightly different than what you're referencing, but I feel confident that I'm looking where you want me to.

    Looking in /config/data/root/default/* I see two directories, each labeled for the two new libraries that I created. There are no references to the old libraries.
    aricz
    Offline

    Junior Member

    Posts: 1
    Threads: 0
    Joined: 2025 Mar
    Reputation: 0
    Country:China
    #9
    2025-03-29, 02:11 AM
    (2024-11-11, 04:41 PM)theguymadmax Wrote: To resolve the issue of ghost libraries, my usual solution is to remove them by editing the database. Here's the process:
    1. Download SQLite Browser.
    2. Shut down the server.
    3. Open library.db (always back up first!). Locations vary:
      • /var/lib/jellyfin/data/library.db
      • X:\ProgramData\Jellyfin\Server\data\library.db
      • X:\Users\Username\AppData\Local\jellyfin\data\library.db
    4. Choose the “Browse Data” tab, right under that is the option to choose table type, select “TypedBaseItems”
    5. Enter “MediaBrowser.Controller.Entities.CollectionFolder” in the Filter in any column field
    6. Find the entry you want to get rid of. Right-click on the number and select delete record.
    7. Click the “Write Changes” button, then close the database and restart the server.

    Rigth way! but on linux, modified file have some permission error to start server.
    need4swede
    Offline

    Junior Member

    Posts: 4
    Threads: 2
    Joined: 2023 Jun
    Reputation: 0
    #10
    Yesterday, 05:09 AM
    I'm experiencing this issue as well. This is my work-around.

    Created a library called 'garbage'.
    Went to remove 'garbage', but it still appears on the homescreen.
    So I created a new library, also called it 'garbage', but un-checked 'enable library', to prevent it from appearing on the home screen.
    Then I simply deleted the library again. No more 'garbage' on the home screen.

    It's not perfect, but at least gets rid of it.
    « Next Oldest | Next Newest »

    Users browsing this thread: 2 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