Sonarr version (exact version): v4.0.0.202 running on Docker
Package Version: v4-5d30afc by hotio
.Net Version: 6.0.8
OS: Debian Bullseye on RPi4
Debug logs: https://hastebin.com/otimokasuf.pl
Description of issue:
I’m sure this has been discussed 1000 times, but I’m not able to find a solution in the forums or in other searches. I’m running Sonarr via Docker. v3 was working without issue and I upgraded to v4 Beta. Since then, files are not copying/moving from their download location to the library. It is giving permissions issues. The download folder and library are cifs shares on my intranet and everything in the cifs shares are set with 777 permissions (I’m aware of the risks). Any advice on how to further troubleshoot or fix?
Error:
[v4.0.0.202] System.UnauthorizedAccessException: Access to the path is denied.
---> System.IO.IOException: Permission denied
--- End of inner exception stack trace ---
at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter)
at System.IO.FileSystem.CopyFile(String sourceFullPath, String destFullPath, Boolean overwrite)
at NzbDrone.Mono.Disk.DiskProvider.TransferFilePatched(String source, String destination, Boolean overwrite, Boolean move) in M:\BuildAgent\work\13f3e374fa512e16\src\NzbDrone.Mono\Disk\DiskProvider.cs:line 328
at NzbDrone.Common.Disk.DiskProviderBase.CopyFile(String source, String destination, Boolean overwrite) in M:\BuildAgent\work\13f3e374fa512e16\src\NzbDrone.Common\Disk\DiskProviderBase.cs:line 229
at NzbDrone.Common.Disk.DiskTransferService.TryCopyFileVerified(String sourcePath, String targetPath, Int64 originalSize) in M:\BuildAgent\work\13f3e374fa512e16\src\NzbDrone.Common\Disk\DiskTransferService.cs:line 487
at NzbDrone.Common.Disk.DiskTransferService.TransferFile(String sourcePath, String targetPath, TransferMode mode, Boolean overwrite) in M:\BuildAgent\work\13f3e374fa512e16\src\NzbDrone.Common\Disk\DiskTransferService.cs:line 296
at NzbDrone.Core.MediaFiles.EpisodeFileMovingService.TransferFile(EpisodeFile episodeFile, Series series, List`1 episodes, String destinationFilePath, TransferMode mode) in M:\BuildAgent\work\13f3e374fa512e16\src\NzbDrone.Core\MediaFiles\EpisodeFileMovingService.cs:line 140
at NzbDrone.Core.MediaFiles.UpgradeMediaFileService.UpgradeEpisodeFile(EpisodeFile episodeFile, LocalEpisode localEpisode, Boolean copyOnly) in M:\BuildAgent\work\13f3e374fa512e16\src\NzbDrone.Core\MediaFiles\UpgradeMediaFileService.cs:line 73
at NzbDrone.Core.MediaFiles.EpisodeImport.ImportApprovedEpisodes.Import(List`1 decisions, Boolean newDownload, DownloadClientItem downloadClientItem, ImportMode importMode) in M:\BuildAgent\work\13f3e374fa512e16\src\NzbDrone.Core\MediaFiles\EpisodeImport\ImportApprovedEpisodes.cs:line 108
Docker Compose:
[...]
sonarr:
depends_on:
- openvpn-client
network_mode: service:openvpn-client
container_name: sonarr
image: cr.hotio.dev/hotio/sonarr:v4
restart: unless-stopped
logging:
driver: json-file
environment:
- PUID=1002
- PGID=1001
- UMASK=002
- TZ=America/New_York
volumes:
- /etc/localtime:/etc/localtime:ro
- /docker/appdata/sonarr:/config
- /mnt/theshed:/data
[...]
ls Permissions:
Fstab: