Sonarr can't move files from Transmission-OpenVPN

Sonarr version (exact version): 2.0.0.4949
Mono version (if Sonarr is not running on Windows): 5.2.0.224
OS: WD My Cloud PR4100 NAS with Docker (containers: linuxserver/sonarr and haugene/transmission-openvpn)
Debug log: https://hastebin.com/uzecicusit.rb
Description of issue: Everything downloads correctly but I can’t figure out for the life of me how to get Sonarr to be able to import the files.

I am running the containers on a WD My Cloud PR4100 NAS in Docker. Both containers have the same user and group id specified. Also exactly the same mounts for folders. And Transmission uses umask=0

17-10-11 14:57:21.3|Debug|EpisodeFileMovingService|Moving episode file: /CompleteDownloads/series/Family Guy S15E06 - Hot Shots 1080p WEB-DL x265 10bit AAC 5.1 - ImE[UTR]/Family.Guy.S15E06.Hot.Shots.1080p.WEB-DL.x265.10bit.AAC.5.1-ImE[UTR].mkv to /SeriesShare/Family Guy/Season 15/Family Guy - S15E06 - Hot Shots WEBDL-1080p.mkv
17-10-11 14:57:21.3|Debug|DiskTransferService|Move [/CompleteDownloads/series/Family Guy S15E06 - Hot Shots 1080p WEB-DL x265 10bit AAC 5.1 - ImE[UTR]/Family.Guy.S15E06.Hot.Shots.1080p.WEB-DL.x265.10bit.AAC.5.1-ImE[UTR].mkv] > [/SeriesShare/Family Guy/Season 15/Family Guy - S15E06 - Hot Shots WEBDL-1080p.mkv]
17-10-11 14:57:21.3|Warn|ImportApprovedEpisodes|Couldn't import episode /CompleteDownloads/series/Family Guy S15E06 - Hot Shots 1080p WEB-DL x265 10bit AAC 5.1 - ImE[UTR]/Family.Guy.S15E06.Hot.Shots.1080p.WEB-DL.x265.10bit.AAC.5.1-ImE[UTR].mkv

[v2.0.0.4949] System.UnauthorizedAccessException: Access to the path is denied.
  at System.IO.File.Move (System.String sourceFileName, System.String destFileName) [0x00116] in <77c9551943624fd18301ba6f78a841e5>:0 
  at NzbDrone.Common.Disk.DiskProviderBase.MoveFile (System.String source, System.String destination, System.Boolean overwrite) [0x000e3] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Common\Disk\DiskProviderBase.cs:222 
  at NzbDrone.Common.Disk.DiskTransferService.TryMoveFileTransactional (System.String sourcePath, System.String targetPath, System.Int64 originalSize, NzbDrone.Common.Disk.DiskTransferVerificationMode verificationMode) [0x0008f] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Common\Disk\DiskTransferService.cs:489 
  at NzbDrone.Common.Disk.DiskTransferService.TransferFile (System.String sourcePath, System.String targetPath, NzbDrone.Common.Disk.TransferMode mode, System.Boolean overwrite, NzbDrone.Common.Disk.DiskTransferVerificationMode verificationMode) [0x003ce] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Common\Disk\DiskTransferService.cs:311 
  at NzbDrone.Common.Disk.DiskTransferService.TransferFile (System.String sourcePath, System.String targetPath, NzbDrone.Common.Disk.TransferMode mode, System.Boolean overwrite, System.Boolean verified) [0x0000e] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Common\Disk\DiskTransferService.cs:195 
  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) [0x0012c] in M:\BuildAgent\work\b69c1fe19bfc2c38\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\b69c1fe19bfc2c38\src\NzbDrone.Core\MediaFiles\EpisodeFileMovingService.cs:80 
  at NzbDrone.Core.MediaFiles.UpgradeMediaFileService.UpgradeEpisodeFile (NzbDrone.Core.MediaFiles.EpisodeFile episodeFile, NzbDrone.Core.Parser.Model.LocalEpisode localEpisode, System.Boolean copyOnly) [0x00144] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\MediaFiles\UpgradeMediaFileService.cs:66 
  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) [0x00277] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\MediaFiles\EpisodeImport\ImportApprovedEpisodes.cs:107 

Sonarr is unable to access the source or the destination, the fact that Sonarr is able to get this far tells me it has read access to the source file, but may not have write access (if that’s required to create a hardlink) or it can’t write to the destination.

How can I inspect the folders? And what do I need to watch for? (Sorta beginner with Linux :p)

Someone else may be able to assist here, though you may have better luck researching permissions on linux elsewhere.

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