Sonarr version (exact version): 3.0.3.896
Mono version (if Sonarr is not running on Windows): n/a
OS: Windows Server 2019
Debug logs:
20-7-4 12:41:36.4|Warn|EpisodeFileMovingService|Unable to set last write time
[v3.0.3.896] System.IO.IOException: The process cannot access the file 'G:\True Blood' because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.OpenHandle(String path)
at System.IO.Directory.SetLastWriteTimeUtc(String path, DateTime lastWriteTimeUtc)
at NzbDrone.Common.Disk.DiskProviderBase.FolderSetLastWriteTime(String path, DateTime dateTime) in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\Disk\DiskProviderBase.cs:line 310
at NzbDrone.Core.MediaFiles.MediaFileAttributeService.SetFolderLastWriteTime(String path, DateTime time) in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\MediaFiles\MediaFileAttributeService.cs:line 75
at NzbDrone.Core.MediaFiles.EpisodeFileMovingService.TransferFile(EpisodeFile episodeFile, Series series, List`1 episodes, String destinationFilePath, TransferMode mode) in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\MediaFiles\EpisodeFileMovingService.cs:line 127
Description of issue: When SabNZBD downloads large amounts of episodes, in this case 12 - 10 out of the 12 were successfully moved back into Sonarr after processing (via ffmpeg) - 2 others were not. They were fully processed via ffmpeg and ready for collection in the completed downloads folder - it seems Sonarr can’t keep up with them in a way if there’s too many? From the attached image, you can see they are sat in the ‘started’ state in Sabnzbd, whilst Sonarr simply says that they’re ‘missing from disk’ when they aren’t - they are sat in downloads awaiting collection. Upon deleting the files form my complete folder and re-downloading again, it processes them fine.
Sab logs:
2020-07-04 12:41:36 - SABPostProcess - INFO - Successfully processed C:\Users\Administrator\Downloads\complete\True.Blood.S03E07.720p.BluRay.H.265.HEVC-REWARD-Obfuscated\yfUC94C4sOH.mp4.
2020-07-04 12:41:36 - SABPostProcess - INFO - Passing C:\Users\Administrator\Downloads\complete\True.Blood.S03E07.720p.BluRay.H.265.HEVC-REWARD-Obfuscated directory to Sonarr.
2020-07-04 12:41:36 - autoprocess.sonarr - INFO - Sonarr notifier started.
2020-07-04 12:41:36 - autoprocess.sonarr - INFO - Requesting Sonarr to scan directory 'C:\Users\Administrator\Downloads\complete\True.Blood.S03E07.720p.BluRay.H.265.HEVC-REWARD-Obfuscated'.
2020-07-04 12:41:36 - autoprocess.sonarr - INFO - Sonarr response: started.
Upon further investigation, Sonarr is failing due to the file being locked by another process - is there a way for it to wait a while? I’m under the assumption it’s attempting to access the file just a little bit too quick before ffmpeg unlocks it?