Deleting collection is not removed from data #498

Closed
opened 2026-02-06 19:46:35 +03:00 by OVERLORD · 12 comments
Owner

Originally created by @bamnoru on GitHub (Mar 7, 2019).

Describe the bug
When deleting a collection, after a refresh of the library, collection is still in the library.

To Reproduce

  1. Create a new collection.
  2. Delete this collection.
  3. Refresh metadata of the collection library
  4. Browse the collection library, the collection is still here

System (please complete the following information):

  • OS: Windows 10
  • Browser: Chrome
  • Jellyfin Version: 10.2.2

Additional context
After deleting the collection, the directory created for this collection is not deleted in
C:\Users...\AppData\Roaming\jellyfin\data\collections
If I remove this directory manually, the collection is deleted.

Originally created by @bamnoru on GitHub (Mar 7, 2019). **Describe the bug** When deleting a collection, after a refresh of the library, collection is still in the library. **To Reproduce** 1. Create a new collection. 2. Delete this collection. 3. Refresh metadata of the collection library 4. Browse the collection library, the collection is still here **System (please complete the following information):** - OS: Windows 10 - Browser: Chrome - Jellyfin Version: 10.2.2 **Additional context** After deleting the collection, the directory created for this collection is not deleted in C:\Users\...\AppData\Roaming\jellyfin\data\collections If I remove this directory manually, the collection is deleted.
OVERLORD added the bugconfirmed labels 2026-02-06 19:46:35 +03:00
Author
Owner

@olebittner commented on GitHub (Jul 25, 2019):

Same issue for me on:
OS: Debian 10
Browser: Firefox
Jellyfin: 10.3.6

Deleting a collection over the web interface seems to have no effect. The collection disappears at first but reappers after refreshing metadata.
Deleting the collection folder in /var/lib/jellyfin/data/collections removes the collection successfully.

A peek into the logs shows that the first Library Sync removes the collection and the next one adds it again:

[2019-07-25 20:01:48.953 +02:00] [INF] Deleting item, Type: "BoxSet", Name: "Disney Collection", Path: "/var/lib/jellyfin/data/collections/Disney Collection [boxset]", Id: 223fa503-d38d-a3f8-3634-8fd1a1d1b38b
[2019-07-25 20:01:53.955 +02:00] [INF] Starting Library Sync...
[2019-07-25 20:01:53.955 +02:00] [INF] "LIBRARYSYNC" Added 0 items:  ""
[2019-07-25 20:01:53.955 +02:00] [INF] "LIBRARYSYNC" Updated 0 items:  ""
[2019-07-25 20:01:53.977 +02:00] [INF] "LIBRARYSYNC" Removed 1 items:  "223fa503d38da3f836348fd1a1d1b38b"
[2019-07-25 20:01:53.977 +02:00] [INF] Finished Library Sync Taking "00:00:00.0217816"
[2019-07-25 20:02:06.279 +02:00] [INF] Starting Library Sync...
[2019-07-25 20:02:06.299 +02:00] [INF] "LIBRARYSYNC" Added 1 items:  "223fa503d38da3f836348fd1a1d1b38b"
[2019-07-25 20:02:06.299 +02:00] [INF] "LIBRARYSYNC" Updated 0 items:  ""
[2019-07-25 20:02:06.299 +02:00] [INF] "LIBRARYSYNC" Removed 0 items:  ""
[2019-07-25 20:02:06.299 +02:00] [INF] Finished Library Sync Taking "00:00:00.0199519"

@olebittner commented on GitHub (Jul 25, 2019): Same issue for me on: OS: Debian 10 Browser: Firefox Jellyfin: 10.3.6 Deleting a collection over the web interface seems to have no effect. The collection disappears at first but reappers after refreshing metadata. Deleting the collection folder in `/var/lib/jellyfin/data/collections` removes the collection successfully. A peek into the logs shows that the first Library Sync removes the collection and the next one adds it again: ``` [2019-07-25 20:01:48.953 +02:00] [INF] Deleting item, Type: "BoxSet", Name: "Disney Collection", Path: "/var/lib/jellyfin/data/collections/Disney Collection [boxset]", Id: 223fa503-d38d-a3f8-3634-8fd1a1d1b38b [2019-07-25 20:01:53.955 +02:00] [INF] Starting Library Sync... [2019-07-25 20:01:53.955 +02:00] [INF] "LIBRARYSYNC" Added 0 items: "" [2019-07-25 20:01:53.955 +02:00] [INF] "LIBRARYSYNC" Updated 0 items: "" [2019-07-25 20:01:53.977 +02:00] [INF] "LIBRARYSYNC" Removed 1 items: "223fa503d38da3f836348fd1a1d1b38b" [2019-07-25 20:01:53.977 +02:00] [INF] Finished Library Sync Taking "00:00:00.0217816" [2019-07-25 20:02:06.279 +02:00] [INF] Starting Library Sync... [2019-07-25 20:02:06.299 +02:00] [INF] "LIBRARYSYNC" Added 1 items: "223fa503d38da3f836348fd1a1d1b38b" [2019-07-25 20:02:06.299 +02:00] [INF] "LIBRARYSYNC" Updated 0 items: "" [2019-07-25 20:02:06.299 +02:00] [INF] "LIBRARYSYNC" Removed 0 items: "" [2019-07-25 20:02:06.299 +02:00] [INF] Finished Library Sync Taking "00:00:00.0199519" ```
Author
Owner

@dkanada commented on GitHub (Sep 5, 2019):

probably the same issue as #1271

@dkanada commented on GitHub (Sep 5, 2019): probably the same issue as #1271
Author
Owner

@stale[bot] commented on GitHub (Jan 3, 2020):

This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments.
If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or nightlies, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label.
This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on Matrix or Social Media.

@stale[bot] commented on GitHub (Jan 3, 2020): This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments. If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or nightlies, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label. This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on [Matrix or Social Media](https://docs.jellyfin.org/general/getting-help.html).
Author
Owner

@ghost commented on GitHub (Jan 6, 2020):

No this is still a problem.

In docker, libraries are under :
/path/to/config/_data/data/collections/

@ghost commented on GitHub (Jan 6, 2020): No this is still a problem. In docker, libraries are under : `/path/to/config/_data/data/collections/`
Author
Owner

@redSpoutnik commented on GitHub (Apr 14, 2020):

Is it just me or this old bug now seems to be resolved?

@redSpoutnik commented on GitHub (Apr 14, 2020): Is it just me or this old bug now seems to be resolved?
Author
Owner

@ghost commented on GitHub (Apr 16, 2020):

Well collections do not work anymore (see #2611).

@ghost commented on GitHub (Apr 16, 2020): Well collections do not work anymore (see [#2611](https://github.com/jellyfin/jellyfin/issues/2611)).
Author
Owner

@vgambier commented on GitHub (Jan 10, 2022):

Just want to mention that #2611 has since been resolved, so perhaps it's worth re-evaluating this issue. I just tested it, and the collection was removed from my file system, so I think the issue should be closed.

@vgambier commented on GitHub (Jan 10, 2022): Just want to mention that #2611 has since been resolved, so perhaps it's worth re-evaluating this issue. I just tested it, and the collection was removed from my file system, so I think the issue should be closed.
Author
Owner

@cvium commented on GitHub (Oct 19, 2023):

I can't reproduce this in 10.8.11. Closing.

@cvium commented on GitHub (Oct 19, 2023): I can't reproduce this in 10.8.11. Closing.
Author
Owner

@williamthrilliam commented on GitHub (Oct 13, 2024):

I've confirmed that this is still present on server 10.9.11. I've also tried to remove the collection in /var/lib/jellyfin/data/collections but the collection comes back after refresh. Mainly I just want to remove collections created with multiple versions of the same movie, otherwise I do want collections automatically created.

@williamthrilliam commented on GitHub (Oct 13, 2024): I've confirmed that this is still present on server 10.9.11. I've also tried to remove the collection in /var/lib/jellyfin/data/collections but the collection comes back after refresh. Mainly I just want to remove collections created with multiple versions of the same movie, otherwise I do want collections automatically created.
Author
Owner

@Halle914 commented on GitHub (Feb 4, 2025):

Still an issue.

Added my own collections before finding the plug in to do it automatically.

Now I wish to remove the three collections I added before. No matter how I remove them, movie by movie and then collections or removing complete collections it comes back after refresh.

@Halle914 commented on GitHub (Feb 4, 2025): Still an issue. Added my own collections before finding the plug in to do it automatically. Now I wish to remove the three collections I added before. No matter how I remove them, movie by movie and then collections or removing complete collections it comes back after refresh.
Author
Owner

@rightsaidfred99 commented on GitHub (May 4, 2025):

Still an issue for sure

@rightsaidfred99 commented on GitHub (May 4, 2025): Still an issue for sure
Author
Owner

@felix920506 commented on GitHub (May 4, 2025):

Please open a new report.

@felix920506 commented on GitHub (May 4, 2025): Please open a new report.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#498