Jellyfin Forum
Cannot delete files from within Jellyfin - 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: Cannot delete files from within Jellyfin (/t-cannot-delete-files-from-within-jellyfin)



Cannot delete files from within Jellyfin - mcfarlanea - 2024-08-27

New user with beginner-level command line experience. I have Jellyfin installed natively on Mint Linux 22, working well. I cannot delete files from within the interface, though, using the dropdown menu from the 3-dots of an individual video ("Delete Episode"). When I attempt this, I get the error message:

Quote:There was an error deleting the item from the server. Please check that Jellyfin has write access to the media folder and try again.

I have checked the log and I see the following error message:

Quote:[ERR] Error processing request. URL "DELETE" "/Items/98afb2b94dd3ad3448e81e553145941b".
System.UnauthorizedAccessException: Access to the path '/media/aaron/Media/shows/Last Week Tonight with John Oliver/Season 11/Last Week Tonight with John Oliver - S11E21 - August 18, 2024 - Hospice Care WEBDL-1080p.mkv' is denied.

I am using Sonarr to download & organise files. I think this is a permissions issue, but I'm not sure where to start. Can someone help me out with this, explaining it using beginner language? Thank you!


RE: Cannot delete files from within Jellyfin - Efficient_Good_5784 - 2024-08-27

Most likely a permissions issue. You need to make sure the files are writable by the Jellyfin service user if you want the service to be able to delete them. It literally states so in the warning you posted.

As you said your files are obtained with Sonarr, we can't help you much with how to configure it (read the forum rules), but your issue will be solved once you figure out how to get the files to be owned/writable by the Jellyfin user. You can also run chmod on the files to change their permissions to the user you need.