I’ve been working on my setup for a little while now and I’m getting stuck. I have two systems for testing.
1] docker on synology running SabNZBD and Sonarr. This works albeit slow due to Synology resource.
2] docker on synology running SabNZBD. NUC running Windows 10 pro with Sonarr.
With system 2 all works apart from when the download file has been completed by NZBD and put in the output file. It seems Sonarr can not read the file as it reports ‘failed to import episode’ under the ‘activity’ tab on the GUI.
The content is there as supplied by SabNZBD. I have already setup ‘remote path mapping’ In Sonarr as without it Sonarr would report its missing.
Is sabnzb not getting the meta data for the file? Especially there category? I see files failing to get moved and renamed when the cattegory of the nzb is not properly set (or somewhere say doesn’t get it). What does the sabnzb info for the download show for the category (down arrow to the left of the trash icon in the file history)?
Debug logs will give more information on why it’s failing, best to start there (and why the template asks for them, along with the other information it asks for)
I will get the log files tomorrow when I’m home. Sorry, I should have posted the log but in my frustration I quickly posted on here last night. Thank you both for your quick replies. It’s great to see there’s good support for this. I’ll be back soon
[v2.0.0.5338] System.UnauthorizedAccessException: Access to the path is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.__Error.WinIOError()
at System.IO.File.InternalMove(String sourceFileName, String destFileName, Boolean checkHost)
at NzbDrone.Common.Disk.DiskProviderBase.MoveFileInternal(String source, String destination) in M:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Common\Disk\DiskProviderBase.cs:line 232
at NzbDrone.Common.Disk.DiskProviderBase.MoveFile(String source, String destination, Boolean overwrite) in M:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Common\Disk\DiskProviderBase.cs:line 227
at NzbDrone.Common.Disk.DiskTransferService.TryMoveFileVerified(String sourcePath, String targetPath, Int64 originalSize) in M:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Common\Disk\DiskTransferService.cs:line 577
at NzbDrone.Common.Disk.DiskTransferService.TransferFile(String sourcePath, String targetPath, TransferMode mode, Boolean overwrite, DiskTransferVerificationMode verificationMode) in M:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Common\Disk\DiskTransferService.cs:line 321
at NzbDrone.Common.Disk.DiskTransferService.TransferFile(String sourcePath, String targetPath, TransferMode mode, Boolean overwrite, Boolean verified) in M:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Common\Disk\DiskTransferService.cs:line 196
at NzbDrone.Core.MediaFiles.EpisodeFileMovingService.TransferFile(EpisodeFile episodeFile, Series series, List1 episodes, String destinationFilePath, TransferMode mode) in M:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Core\MediaFiles\EpisodeFileMovingService.cs:line 119 at NzbDrone.Core.MediaFiles.EpisodeFileMovingService.MoveEpisodeFile(EpisodeFile episodeFile, LocalEpisode localEpisode) in M:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Core\MediaFiles\EpisodeFileMovingService.cs:line 79 at NzbDrone.Core.MediaFiles.UpgradeMediaFileService.UpgradeEpisodeFile(EpisodeFile episodeFile, LocalEpisode localEpisode, Boolean copyOnly) in M:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Core\MediaFiles\UpgradeMediaFileService.cs:line 76 at NzbDrone.Core.MediaFiles.EpisodeImport.ImportApprovedEpisodes.Import(List1 decisions, Boolean newDownload, DownloadClientItem downloadClientItem, ImportMode importMode) in M:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Core\MediaFiles\EpisodeImport\ImportApprovedEpisodes.cs:line 105
19-12-28 12:32:54.9|Debug|Parser|Quality parsed: DVD v1
19-12-28 12:32:54.9|Debug|Parser|Release Group parsed: REWARD
19-12-28 12:32:54.9|Debug|EpisodeFileMovingService|Moving episode file: \192.168.1.2\satashare\SabNZBD\tv\The.Inbetweeners.S01E01.DVDRip.XviD-REWARD\inbet.101.dvdrip-rwd.avi to \192.168.1.2\satashare\SabNZBD\tv\The Inbetweeners\Season 1\The.Inbetweeners.S01E01.DVDRip.XviD-REWARD.avi
19-12-28 12:32:54.9|Debug|DiskTransferService|Move [\192.168.1.2\satashare\SabNZBD\tv\The.Inbetweeners.S01E01.DVDRip.XviD-REWARD\inbet.101.dvdrip-rwd.avi] > [\192.168.1.2\satashare\SabNZBD\tv\The Inbetweeners\Season 1\The.Inbetweeners.S01E01.DVDRip.XviD-REWARD.avi]
19-12-28 12:32:54.9|Debug|DiskTransferService|Rolling back incomplete file move [\192.168.1.2\satashare\SabNZBD\tv\The.Inbetweeners.S01E01.DVDRip.XviD-REWARD\inbet.101.dvdrip-rwd.avi] to [\192.168.1.2\satashare\SabNZBD\tv\The Inbetweeners\Season 1\The.Inbetweeners.S01E01.DVDRip.XviD-REWARD.avi].
19-12-28 12:32:57.9|Warn|ImportApprovedEpisodes|Couldn’t import episode \192.168.1.2\satashare\SabNZBD\tv\The.Inbetweeners.S01E01.DVDRip.XviD-REWARD\inbet.101.dvdrip-rwd.avi
It looks like Sonarr isn’t able to move the downloaded file? I’m using a synology NAS with SabNZBD and all permissions are open for guest users… Any help would be gladly received. Sonarr is running on a NUC Windows 10 machine.
Looks like the move is failing because it’s not able to transfer the whole file, that’s not something I’ve seen happen much (if ever before) on Windows.
((Trace logs)) (post them elsewhere and link them here) might give some more insight into the issue.
I set SabNZBD that’s running on docker on synology NAS to give 777 permissions on the complete file where it’s stored locally. Sonarr on windows 10 server can then read and organise the files as expected (success!). But occasionally I get a failure with the file unpacking in SabNZBD. Never had that before setting the permissions to 777…