Empty collections give "There was a problem deleting this item" error when trying to delete/

Server Version#: 1.22.1.4200
Player Version#: N/A

I decided to clean up my library a bit yesterday after having tinkered with agents awhile back which caused some rematching. Because of this, I now had some duplicate collections, where the old collection was empty and then a newly formed one had the movies in them.

Whenever I try to delete an empty collection, it throws the error in the title here. It used to be you had to have Media Deletion checked on in order to delete [empty] collections, but I believe that was adjusted many months ago. Nonetheless, I’ve done the following and PMS still won’t let me delete a single empty collection:

Checked/unchecked Media Deletion
Cleaned bundles
Optimized database
Emptied trash
Tried from different browser (Firefox instead of Chrome)
Rebooted PMS
Rebooted PC on which PMS is installed
Looked up the log and there’s nothing about an error or anything clear like that

Thanks in advance for any assistance!

Here are the only lines that show up in the 2 logs when I attempt to delete a collection:

MEDIA SERVER LOG:
Mar 19, 2021 18:15:04.980 [9660] DEBUG - Auth: authenticated user 1 as admin username
Mar 19, 2021 18:15:04.980 [6560] DEBUG - Request: [local PMS address (Loopback)] DELETE /library/collections/611710?includeExternalMedia=1 (13 live) GZIP Signed-in Token (admin username)
Mar 19, 2021 18:15:04.981 [10132] DEBUG - Completed: [local PMS address] 405 DELETE /library/metadata/611710?includeExternalMedia=1 (13 live) GZIP 1ms 527 bytes (pipelined: 83)

COM.PLEXAPP.SYSTEM.LOG
2021-03-19 18:05:05,963 (1b00) : DEBUG (runtime:717) - Handling request GET /system/:/prefs
2021-03-19 18:05:05,964 (1b00) : DEBUG (runtime:49) - Received packed state data (80 bytes)
2021-03-19 18:05:05,964 (1b00) : DEBUG (runtime:814) - Found route matching /system/:/prefs
2021-03-19 18:05:05,966 (1b00) : DEBUG (runtime:88) - Sending packed state data (99 bytes)
2021-03-19 18:05:05,966 (1b00) : DEBUG (runtime:924) - Response: [200] MediaContainer, 418 byte

I am also expecting if I attempt to delete a collection I am getting the same error

Does not matter if empty or has a movie in it. I have lots of auto generated collections with 1 movie In it I want to delete.

Running server via docker lasted stable release (Plex Pass)

1 Like

I’ve also tried changing the permissions of my whole Plex data folder (which took about 2 hours to do to all the files in it). Still no dice. Deleting collections worked fine for me months ago on the same PC and install. I feel like this may be an actual Plex issue and not something on the user end.

1 Like

Several others having the same issue as of today:

Would love to see this fixed as my library is pretty stupid looking with tens of blank collections sitting there.

Alright–looks like they’re aware of it. Not sure why this one didn’t come up when I searched earlier, but now we know that they know anyway.

2 Likes

Issue still present and I’m on 1.22.2.4256

I just updated to the latest version today.
I can’t delete the empty collection. Movies in the collection were deleted months ago and i have all the maintenance items ticked in Settings > Scheduled Tasks

You’ll need to update to PMS 1.22.2.4262 to receive the fix:

I also had this same problem.

The update from the Beta stream this morning fixed it! Thx Plex!

When will 122.2.4262 be available as a general release?

I don’t know. Plex usually won’t share their timelines – probably depends on what other features/fixes they have in their pipeline for this release and how stable the fixes are.

Add me to the list. Can’t delete Collections.

I’ve started having this issue since yesterday… same error as others.
Running Plex via docker container, updated to the latest version yet issue still persists.

What version is that for you?
Are you using the beta update channel (or the respective tag)?

Thanks for reaching out tom…
How can I check what Server Version I have?
The app only shows me the player version.

Version 4.54.5

Also, is the beta update channel accessible on an UnRaid setup? If so, please let me know where I can get more information about this.
Can’t seem to find any specifics in a web search on this topic.

Settings > [Server Name] > General > Version

Thanks,
I also found out how to enable beta updates.
Current Server Version: 1.22.1.4228
Available Update: 1.22.1.4271

I’ll try to update to the beta and report back if the issue gets resolved or still persists.

I have the same issues
Even when the collections are empty i can’t erase them

server version : 1.22.1.4275

1.21.1 is the public release which does not yet contain the fix… despite the build number which says it’s „newer“). The fix is currently only in the 1.22.2 beta branch (latest version is 1.22.2.4276).