Cleanarr icon indicating copy to clipboard operation
Cleanarr copied to clipboard

Stuck on "deleting items"

Open dube920 opened this issue 3 years ago • 7 comments

Selected just two duplicate movies then clicked "delete selected items", but Cleanarr is just spinning on "deleting items". It's been about 20 minutes so far so doubting it's just being slow.

Plex > Library > media deletion is enabled. URL and token are clearly working since it could pull the data from that library at all, right?

Running as a docker in UNRAID with Privileged enabled.

Screenshot of what I see in the Cleanarr page: https://i.imgur.com/pyvR6tg.png

dube920 avatar Aug 09 '22 01:08 dube920

what are your file/directory permissions in the location you are trying to delete from?

lance-tek avatar Jan 10 '23 19:01 lance-tek

what are your file/directory permissions in the location you are trying to delete from?

directory: drwxrwxrwx+ 1 nobody users 4096 Jul 1 2020 Original\ Quality/ file itself: -rw-rw-rw- 1 nobody users 6526651802 Jul 1 2020 Artemis\ Fowl\ (2020).mp4

dube920 avatar Apr 01 '23 14:04 dube920

I think I see the issue, Cleanarr is trying to delete: /mnt/plex/Kids Movies/Artemis Fowl (2020)/Plex Versions/Original Quality/Artemis Fowl (2020).mp4

But the file is actually located here: /mnt/user/plex/Kids Movies/Artemis Fowl (2020)/Plex Versions/Original Quality/Artemis Fowl (2020).mp4

Is there any way to force Cleanarr to use the correct path?

dube920 avatar Apr 01 '23 14:04 dube920

Just started using this on Unraid and am having the same issue with items not removing after clicking delete.

The console logs are giving a 401 error after pressing delete on the media item in the UI.

ERROR main.py:internal_error (403) forbidden; http://plexip:32400/library/metadata/35520/media/63220

Forbidden

403 Forbidden

Placing the URL above directly into the browser also displays the 401 error, even with being logged into Plex.

The values from the Plex file XML details match what are in the URL above. Video ratingKey="35520" key="/library/metadata/35520 <Media id="63220"

Scridgeon avatar Feb 07 '24 22:02 Scridgeon

Experiencing the same exact issue. Not sure what the solve here is...

GibbonHeart avatar Feb 23 '24 10:02 GibbonHeart

I missed a setup step for Cleanarr which was causing the 403 error. Make sure you have allowed media deletion in Plex. image

Scridgeon avatar May 23 '24 19:05 Scridgeon