• 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 General Questions Collections

    Pages (2): 1 2 Next »

     
    • 0 Vote(s) - 0 Average

    Collections

    Where is Collection data stored? Or rather, the contents of collections.
    hanaquacks
    Offline

    Junior Member

    Posts: 24
    Threads: 6
    Joined: 2023 Sep
    Reputation: 0
    Country:United States
    #1
    2024-09-25, 06:25 PM (This post was last modified: 2024-09-26, 05:09 PM by hanaquacks. Edited 1 time in total.)
    I have my entire JF folder backed up nightly and a couple months ago I had a NVME drive die and when I restored from my backups everything seemed fine. Flash forward until now and I'm only just realizing that while everything else got restored, my collections are there, but they're empty. I've made a lot of changes since noticing and don't want to restore wholesale, but was wondering if there was a folder in particular I should be making sure gets restored that will include the content of my collections.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-09-25, 06:54 PM (This post was last modified: 2024-09-25, 06:56 PM by TheDreadPirate. Edited 2 times in total.)
    What I suspect happened is that when you restored and started Jellyfin you did not have your media in place. There is a job that runs when Jellyfin starts that cleans up playlists and collections of media that is no longer present. So if you restored Jellyfin before restoring your media to their original locations, or correcting permissions, Jellyfin would have emptied your collections.

    This job can be turned off. Dashboard > Scheduled Tasks > Clean up collections and playlists. Open that job and remove the trigger.

    If you have backups of the collection XMLs, you could try restoring those.

    For docker
    /config/data/collections

    For Linux
    /var/lib/jellyfin/data/collections

    For Windows
    C:\ProgramData\Jellyfin\Server\data\collections (I think this is right)
    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]
    hanaquacks
    Offline

    Junior Member

    Posts: 24
    Threads: 6
    Joined: 2023 Sep
    Reputation: 0
    Country:United States
    #3
    2024-09-25, 07:10 PM
    Thank you! That should be all I need. And thanks for the info on the restore, I think that did happen because maybe I didn't have the drives remounted, I only updated the fstab.
    hanaquacks
    Offline

    Junior Member

    Posts: 24
    Threads: 6
    Joined: 2023 Sep
    Reputation: 0
    Country:United States
    #4
    2024-09-26, 01:42 PM
    Hey DreadPirate, hopefully a quick followup. I restored the files, they are in there. However, it seems like Jellyfin hasn't gotten the memo. I've tried restarting jellyfin.service, I've tried a library scan, I tried refresh metadata on the collection, replace all metadata, find missing metadata. I simply overwrote the files, maybe I should have deleted the files, done a scan and then added them back in. Can you advise on bringing back this data?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #5
    2024-09-26, 02:57 PM (This post was last modified: 2024-09-26, 02:57 PM by TheDreadPirate.)
    Did you reset the permissions on the collection files and 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]
    hanaquacks
    Offline

    Junior Member

    Posts: 24
    Threads: 6
    Joined: 2023 Sep
    Reputation: 0
    Country:United States
    #6
    2024-09-26, 03:28 PM
    Correct, they are owned by jellyfin, rwxr-x-r-x, I tried changing permissions further, but no change on the server.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #7
    2024-09-26, 04:09 PM
    Do you have ANY collections in the new Jellyfin instance? Or a collection library? I did some testing and Jellyfin would not read in any of my test collections unless there was a collection "library". Which only happened once I manually created one collection. Then I put the collection folders and XMLs in place and "scanned all libraries" and Jellyfin created the collections from those XMLs.
    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]
    hanaquacks
    Offline

    Junior Member

    Posts: 24
    Threads: 6
    Joined: 2023 Sep
    Reputation: 0
    Country:United States
    #8
    2024-09-26, 04:22 PM
    I mean, I've got the "shells" of my old collections in the new instance. And I do have a Collection Library. I restored to a folder outside of jellyfin and then copied the XMLs into each existing Collection folder i.e. copied James Bond XML to the corresponding James Bond folder within collections. Maybe it'd be worth it to delete the Collection Library outright and then re-add it in.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #9
    2024-09-26, 04:25 PM (This post was last modified: 2024-09-26, 04:26 PM by TheDreadPirate.)
    Maybe. Are your file paths exactly the same as what is in the XML files?

    Can you share your full jellyfin logs? Jellyfin logged warning and error messages for the couple of movies that existed in my first test instance that didn't exist in my second test instance.
    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]
    hanaquacks
    Offline

    Junior Member

    Posts: 24
    Threads: 6
    Joined: 2023 Sep
    Reputation: 0
    Country:United States
    #10
    2024-09-26, 05:55 PM
    Hopefully I can post a drive link, the text file was too large for upload.

    https://drive.google.com/file/d/1-pT04jv...sp=sharing
    Pages (2): 1 2 Next »

    « 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