Sonarr version (exact version): 4.0.5.1710
OS: Synology DSM 7.1.1
Description of issue: When downloading episodes via Nzbget, they are not moved to the right folder
I’m running both NZBGet and Sonarr as a package, not in Docker.
From a perfectly working set-up, already within DSM7, the importing of episodes has started to fail.
The files are downloaded (Sonarr sees the files being downloaded), but they are not imported to the Series/season folder and properly registered within Sonarr.
The error displayed is:
Downloaded - Waiting to Import
One or more episodes expected in this release were not imported or missing from the release
123456789aaaaa.mkv - Failed to import episode
In the log I can find:
[v4.0.5.1710] System.UnauthorizedAccessException: Access to the path ‘/volume2/SABDownloadsTV/foldername/123456789aaaaa.mkv’ is denied.
—> System.IO.IOException: Permission denied
I can confirm that “sc-sonarr” has full rights for the folder /volume2/SABDownloadsTV/ in DSM.
But have noticed that the file inside the folder “foldername” in the above error does not have “sc-sonarr” with the right permissions. How can I make sure that all files dropped into this folder inherit the correct permissions?
What am I missing?!
I’ve tried/checked the following:
- Permission, both the (temp) Download folder and the TV folder has R/W rights for SC-Sonarr and SC-Nzbget.
- I’ve renamed the download folder, moved the paths, but had no success
- I’ve done a clean install of Sonarr and set up all the rights again.
- I’ve observed files appearing in the destionation folder (being copied), but then upon completion disppearing and reappearing in the original temp download folder.
- When I manually adjust the permission of the file, the files import fine. Meaning it appears to be a DSM issue where it does not apply the permissions to the files of the parent folder…