Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stuck on "deleting items" #67

Open
dube920 opened this issue Aug 9, 2022 · 7 comments
Open

Stuck on "deleting items" #67

dube920 opened this issue Aug 9, 2022 · 7 comments
Labels

Comments

@dube920
Copy link

dube920 commented Aug 9, 2022

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

@se1exin se1exin added the UnRAID label Aug 10, 2022
@lance-tek
Copy link

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

@dube920
Copy link
Author

dube920 commented Apr 1, 2023

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
Copy link
Author

dube920 commented Apr 1, 2023

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?

@Scridgeon
Copy link

Scridgeon commented Feb 7, 2024

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 <title>Forbidden</title>

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"

@GibbonHeart
Copy link

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

@Scridgeon
Copy link

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

@danktankk
Copy link

Just installed this on unraid and it is still stuck on delete media, I have Allow media deletion checked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants