Permission problem with import after re-install

Sonarr version (exact version): 2.0.0.3953
Mono version (if Sonarr is not running on Windows):3.10.0 (tarball Sat Mar 28 10:11:51 UTC 2015)
OS: Synology
Debug logs (posted to hastebin or similar):
Description of issue (if you think you’ve found a bug please include steps to reproduce):

Hi I had to rebuild my NAS drive, everything was going ok up until today but im having issues with Sonarr renaming / moving files. I never had to mess with permissions on the previous setup.
I have checked both the source and destination folder and both are set to read / write. Any advice would be great.

ImportApprovedEpisodes|Couldn’t import episode

System.UnauthorizedAccessException: Access to the path is denied.
at System.IO.File.Move (System.String sourceFileName, System.String destFileName) [0x0013a] in /spksrc/native/mono/work-native/mono-3.10.0/mcs/class/corlib/System.IO/File.cs:319
at NzbDrone.Common.Disk.DiskProviderBase.MoveFile (System.String source, System.String destination, Boolean overwrite) [0x000d0] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\Disk\DiskProviderBase.cs:210
at NzbDrone.Common.Disk.DiskTransferService.TryMoveFileTransactional (System.String sourcePath, System.String targetPath, Int64 originalSize, DiskTransferVerificationMode verificationMode) [0x0008e] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\Disk\DiskTransferService.cs:384
at NzbDrone.Common.Disk.DiskTransferService.TransferFile (System.String sourcePath, System.String targetPath, TransferMode mode, Boolean overwrite, DiskTransferVerificationMode verificationMode) [0x003e2] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\Disk\DiskTransferService.cs:206
at NzbDrone.Common.Disk.DiskTransferService.TransferFile (System.String sourcePath, System.String targetPath, TransferMode mode, Boolean overwrite, Boolean verified) [0x0000e] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\Disk\DiskTransferService.cs:90
at NzbDrone.Core.MediaFiles.EpisodeFileMovingService.TransferFile (NzbDrone.Core.MediaFiles.EpisodeFile episodeFile, NzbDrone.Core.Tv.Series series, System.Collections.Generic.List1 episodes, System.String destinationFilePath, TransferMode mode) [0x0010e] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\MediaFiles\EpisodeFileMovingService.cs:118 at NzbDrone.Core.MediaFiles.EpisodeFileMovingService.MoveEpisodeFile (NzbDrone.Core.MediaFiles.EpisodeFile episodeFile, NzbDrone.Core.Parser.Model.LocalEpisode localEpisode) [0x0005e] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\MediaFiles\EpisodeFileMovingService.cs:80 at NzbDrone.Core.MediaFiles.UpgradeMediaFileService.UpgradeEpisodeFile (NzbDrone.Core.MediaFiles.EpisodeFile episodeFile, NzbDrone.Core.Parser.Model.LocalEpisode localEpisode, Boolean copyOnly) [0x00119] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\MediaFiles\UpgradeMediaFileService.cs:64 at NzbDrone.Core.MediaFiles.EpisodeImport.ImportApprovedEpisodes.Import (System.Collections.Generic.List1 decisions, Boolean newDownload, NzbDrone.Core.Download.DownloadClientItem downloadClientItem) [0x0024e] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\MediaFiles\EpisodeImport\ImportApprovedEpisodes.cs:90

does anyone have any idea on this please? i’ve spent hours on it and short of scrapping it all and starting again im at a loss.

in dsm, give the user group sc-media or sc-download read/write permissions on the folders.

One of then contains the nzbdrone user. Can’t remember which on the top of my had.

If you check my other post you can find more details.

Hi there, thanks for this. I’ve already done that. I’ve added every user and every group to read/write everything. For some reason i cant even run updates on Sonarr. I get the following.

Error occurred while executing task ApplicationUpdate: Access to the path “/tmp/nzbdrone_update/NzbDrone/UI/Content/FontAwesome/FontAwesome.otf” is denied.

You could try the synocommunity mono beta instead of the standard synology mono.

Update issues are often linked to mono issues.

Thanks i’ve also tried to install sickbeard as an alternative which also had permission problems. Im really confused as i never had to do any of this the first time i set it up. Could there be some master / root settings that are causing problems with all 3rd parties? Sorry my linux knowledge isnt great.

i’ve just checked and it seems I am also running the latest beta of mono on from synocommunity.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.