Sonarr DSM 7: file deletion problem

Currently reading
Sonarr DSM 7: file deletion problem

2
0
NAS
Synology DS216+II
Operating system
  1. Windows
Hi,

I had a lot of little problems while switching from DSM 6 to DSM 7.

Concerning the Sonarr + Sabnzbd couple, I had to reinstall the Sab package to make it work but I have now a last little problem with Sonarr...

Indeed, Sonarr manages :

1/ to send the info to Sabnzbd to start the download

2/ to get the video in downloads/complete

3/ to copy it in my media file by renaming it

But on the other hand it blocks to delete the file in complete...

I have the following error message:

Couldn't import episode /volume1/downloads/complete/Naked.and.Afraid.S03E07.Playing.With.Fire.1080p.WEB.x264.1-CAFFEiNE-Obfuscated/3486d7328cdb46f9a624f41bb0afd49e.mkv: Access to the path "/volume1/downloads/complete/Naked.and.Afraid.S03E07.Playing.With.Fire.1080p.WEB.x264.1-CAFFEiNE-Obfuscated/3486d7328cdb46f9a624f41bb0afd49e.mkv" is denied.

System.UnauthorizedAccessException: Access to the path "/volume1/downloads/complete/Naked.and.Afraid.S03E07.Playing.With.Fire.1080p.WEB.x264.1-CAFFEiNE-Obfuscated/3486d7328cdb46f9a624f41bb0afd49e.mkv" is denied. at System.IO.File.Delete (System.String path) [0x00073] in <4a89e81f3d9644e6a5d556824ae3eaf1>:0 at NzbDrone.Common.Disk.DiskProviderBase.DeleteFile (System.String path) [0x00067] in <a1cd7a1bf9df40cfa6971ab77142a163>:0 at NzbDrone.Common.Disk.DiskTransferService.TransferFile (System.String sourcePath, System.String targetPath, NzbDrone.Common.Disk.TransferMode mode, System.Boolean overwrite) [0x00446] in <a1cd7a1bf9df40cfa6971ab77142a163>:0 at NzbDrone.Core.MediaFiles.EpisodeFileMovingService.TransferFile (NzbDrone.Core.MediaFiles.EpisodeFile episodeFile, NzbDrone.Core.Tv.Series series, System.Collections.Generic.List`1[T] episodes, System.String destinationFilePath, NzbDrone.Common.Disk.TransferMode mode) [0x00129] in <2bc41dd24a3e4961be251c9a3820214d>:0 at NzbDrone.Core.MediaFiles.EpisodeFileMovingService.MoveEpisodeFile (NzbDrone.Core.MediaFiles.EpisodeFile episodeFile, NzbDrone.Core.Parser.Model.LocalEpisode localEpisode) [0x00054] in <2bc41dd24a3e4961be251c9a3820214d>:0 at NzbDrone.Core.MediaFiles.UpgradeMediaFileService.UpgradeEpisodeFile (NzbDrone.Core.MediaFiles.EpisodeFile episodeFile, NzbDrone.Core.Parser.Model.LocalEpisode localEpisode, System.Boolean copyOnly) [0x001b0] in <2bc41dd24a3e4961be251c9a3820214d>:0 at NzbDrone.Core.MediaFiles.EpisodeImport.ImportApprovedEpisodes.Import (System.Collections.Generic.List`1[T] decisions, System.Boolean newDownload, NzbDrone.Core.Download.DownloadClientItem downloadClientItem, NzbDrone.Core.MediaFiles.EpisodeImport.ImportMode importMode) [0x0029b] in <2bc41dd24a3e4961be251c9a3820214d>:0

Thanks,
 
Well, I've also made some progress on this subject...

It seems that there is a permission problem for sc-nzbdrone (the user of sonarr)

the file moved by sabnzbd from the incomplete folder -> to complete show the permissions for sc-sabnzbd who moved the file and Everyone

In Permission/Advanced Options if I do :
- include inherited permissions

and - Make inherited permissions explicit

sc-nzbdrone (the user of sonarr) becomes apparent in the permission list and if I restart the Sonarr mill, Sonarr manages to delete the file.

Do you know how I can fix this problem without having to re-assign permissions manually?

Thanks

Translated with www.DeepL.com/Translator (free version)
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Similar threads

SUCCESS! I changed the container port, and up came Sonarr! :) Now I have to figure out how to migrate my...
Replies
21
Views
5,133
Much simpler to run these as docker containers. Otherwise, I cannot help.
Replies
1
Views
2,570
I'm running the SynoCommunity packaged Sonarr v3.0.6.1355 with the SynoCommunity packaged Mono v5.20.1.34...
Replies
0
Views
2,628
Guessing Mono got updated as well as sonarr, but they don't play well any more depending on the mono...
Replies
2
Views
2,615

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Back
Top