Jellyfin Forum
Collections - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: Collections (/t-collections--8979)



Collections - hanaquacks - 2024-11-11

Basically, my server crashed a few months back and I had to start from scratch. Fortunately I run automated backups of Jellyfin and could restore with ease.

Only trouble is, my collections have been giving me issues. Initially the problem was that reintroducing the collections data did nothing, there'd be no collections in collections, regardless of the data being added back in. You could open the xml files and they'd be full of content, but Jellyfin would ignore them.

I moved on from trying to restore this and just rebuilt all my collections manually. Seemingly, problem solved, for a good week all my collections were back. Except, then one day I just opened Jellyfin up and while all the collections were still there, along with the custom collection posters, the media was missing entirely.

After having spent an entire weekend, I threw up my hands and haven't approached it again. Until a week ago, I spent my weekend first deleting everything in collections in the data folder. My thought was, maybe it was the old xml files that caused my media to go missing from collections. After deletion I ran a full library scan, restart the server, and then and only then, did I add content. But I didn't add all my content, I just added a few to each collection. I figured, if it lost everything again, at least I wouldn't lose everything. And then I did a library scan, content was still there, I did a server reboot, content still there. I waited 2 days, my content was still there. So I thought, okay, seems like everything is good now, and I then added every item back to each collection.

Today has been a full week since I did that and I just looked and my collections are entirely emptied out again. As before, the collections and their custom posters remain, but every item within is missing. So now I have no idea what is going wrong. I thought deleting every subfolder and file within collections would have helped, but I guess not.


RE: Collections - theguymadmax - 2024-11-11

Are the media for your collections on a network drive?


RE: Collections - hanaquacks - 2024-11-11

Yes, the media is on a NAS connected to a linux server (Ubuntu 24) via NFS.


RE: Collections - theguymadmax - 2024-11-11

There's a scheduled task that will remove items from collections and playlists if the media is not found. This task runs at startup, and if the NAS is not detected, it will remove the media from your collection.

You can prevent this by going to Dashboard -> Scheduled Tasks - Clean up collections and playlists and delete the on application startup trigger. You can then manually run it or set your own custom trigger.


RE: Collections - hanaquacks - 2024-11-12

Thanks! That very well could be the case.