Well, guys. It ran just fine for years. I felt like there was a ray of sunshine finally like maybe you’ all might be finally listening as much as I am to you. I donated $20 to the cause to prove my word.
And in case I didn’t tell you, I switched Sonarr to NOT starting as a service: I am logged into the machine with an account. Further, I MOVED the share that Sonar and download clients are using to a LOCAL drive. So no network drive, EXCEPT for where sonarr is pushing files to PLEX - that is still a networked drive. I figured changing this will hopefully resolve some of these ghosts or help us learn where there is a breakdown. If it just works, I will try switching back to a service account and/or network drive.
Ok for the next use case that is a problem.
First the log snip:
20-10-13 17:20:13.9|Warn|QualityFinder|Unable to find exact quality for TelevisionRaw and 720. Using WEBDL-720p as fallback
20-10-13 17:20:13.9|Warn|QualityFinder|Unable to find exact quality for TelevisionRaw and 720. Using WEBDL-720p as fallback
20-10-13 17:20:13.9|Warn|QualityFinder|Unable to find exact quality for TelevisionRaw and 720. Using WEBDL-720p as fallback
20-10-13 17:20:13.9|Warn|QualityFinder|Unable to find exact quality for TelevisionRaw and 720. Using WEBDL-720p as fallback
20-10-13 17:20:18.8|Warn|ImportApprovedEpisodes|Couldn't import episode Z:\2Finished\TorrentFinished\Mistresses (US) 2013 Season 4 Complete 720p WEB-DL x264 [i_c]\Mistresses (US) S04e09 The Root Of All Evil.mkv
[v3.0.4.982] System.IO.IOException: The process cannot access the file because it is being used by another process.
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\63739567f01dbcc2\src\NzbDrone.Common\Disk\DiskProviderBase.cs:line 267
at NzbDrone.Common.Disk.DiskProviderBase.MoveFile(String source, String destination, Boolean overwrite) in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\Disk\DiskProviderBase.cs:line 254
at NzbDrone.Common.Disk.DiskTransferService.TryMoveFileVerified(String sourcePath, String targetPath, Int64 originalSize) in M:\BuildAgent\work\63739567f01dbcc2\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\63739567f01dbcc2\src\NzbDrone.Common\Disk\DiskTransferService.cs:line 367
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 116
at NzbDrone.Core.MediaFiles.EpisodeFileMovingService.MoveEpisodeFile(EpisodeFile episodeFile, LocalEpisode localEpisode) in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\MediaFiles\EpisodeFileMovingService.cs:line 77
at NzbDrone.Core.MediaFiles.UpgradeMediaFileService.UpgradeEpisodeFile(EpisodeFile episodeFile, LocalEpisode localEpisode, Boolean copyOnly) in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\MediaFiles\UpgradeMediaFileService.cs:line 77
at NzbDrone.Core.MediaFiles.EpisodeImport.ImportApprovedEpisodes.Import(List`1 decisions, Boolean newDownload, DownloadClientItem downloadClientItem, ImportMode importMode) in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\MediaFiles\EpisodeImport\ImportApprovedEpisodes.cs:line 111
20-10-13 17:20:42.3|Info|RssSyncService|Starting RSS Sync
20-10-13 17:20:44.1|Warn|Torznab|Indexer 1337x-Indexed20-4 rss sync didn't cover the period between 10/13/2020 10:05:14 PM and 10/13/2020 10:20:44 PM UTC. Search may be required.
20-10-13 17:20:46.1|Warn|Torznab|Indexer Lime test2 RSS sync didn't cover the period between 10/13/2020 10:05:16 PM and 10/13/2020 10:20:46 PM UTC. Search may be required.
20-10-13 17:20:48.8|Warn|Torznab|Indexer IdopeClone-Cat20-4 rss sync didn't cover the period between 10/13/2020 10:05:19 PM and 10/13/2020 10:19:47 PM UTC. Search may be required.
20-10-13 17:20:56.8|Info|DownloadDecisionMaker|Processing 473 releases
20-10-13 17:20:57.7|Info|RssSyncService|RSS Sync Completed. Reports found: 473, Reports grabbed: 0
20-10-13 17:21:42.4|Info|QBittorrent|Unknown download state: missingFiles
20-10-13 17:21:43.9|Warn|QualityFinder|Unable to find exact quality for TelevisionRaw and 720. Using WEBDL-720p as fallback
20-10-13 17:21:43.9|Warn|QualityFinder|Unable to find exact quality for TelevisionRaw and 720. Using WEBDL-720p as fallback
20-10-13 17:21:43.9|Warn|QualityFinder|Unable to find exact quality for TelevisionRaw and 720. Using WEBDL-720p as fallback
20-10-13 17:21:43.9|Warn|QualityFinder|Unable to find exact quality for TelevisionRaw and 720. Using WEBDL-720p as fallback
20-10-13 17:21:43.9|Warn|QualityFinder|Unable to find exact quality for TelevisionRaw and 720. Using WEBDL-720p as fallback
20-10-13 17:21:44.0|Warn|QualityFinder|Unable to find exact quality for TelevisionRaw and 720. Using WEBDL-720p as fallback
20-10-13 17:21:44.0|Warn|QualityFinder|Unable to find exact quality for TelevisionRaw and 720. Using WEBDL-720p as fallback
20-10-13 17:21:44.0|Warn|QualityFinder|Unable to find exact quality for TelevisionRaw and 720. Using WEBDL-720p as fallback
20-10-13 17:21:44.0|Warn|QualityFinder|Unable to find exact quality for TelevisionRaw and 720. Using WEBDL-720p as fallback
20-10-13 17:21:44.0|Warn|QualityFinder|Unable to find exact quality for TelevisionRaw and 720. Using WEBDL-720p as fallback
20-10-13 17:21:44.0|Warn|QualityFinder|Unable to find exact quality for TelevisionRaw and 720. Using WEBDL-720p as fallback
20-10-13 17:21:44.0|Warn|QualityFinder|Unable to find exact quality for TelevisionRaw and 720. Using WEBDL-720p as fallback
20-10-13 17:21:48.9|Warn|ImportApprovedEpisodes|Couldn't import episode Z:\2Finished\TorrentFinished\Mistresses (US) 2013 Season 4 Complete 720p WEB-DL x264 [i_c]\Mistresses (US) S04e09 The Root Of All Evil.mkv
[v3.0.4.982] System.IO.IOException: The process cannot access the file because it is being used by another process.
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\63739567f01dbcc2\src\NzbDrone.Common\Disk\DiskProviderBase.cs:line 267
at NzbDrone.Common.Disk.DiskProviderBase.MoveFile(String source, String destination, Boolean overwrite) in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\Disk\DiskProviderBase.cs:line 254
at NzbDrone.Common.Disk.DiskTransferService.TryMoveFileVerified(String sourcePath, String targetPath, Int64 originalSize) in M:\BuildAgent\work\63739567f01dbcc2\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\63739567f01dbcc2\src\NzbDrone.Common\Disk\DiskTransferService.cs:line 367
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 116
at NzbDrone.Core.MediaFiles.EpisodeFileMovingService.MoveEpisodeFile(EpisodeFile episodeFile, LocalEpisode localEpisode) in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\MediaFiles\EpisodeFileMovingService.cs:line 77
at NzbDrone.Core.MediaFiles.UpgradeMediaFileService.UpgradeEpisodeFile(EpisodeFile episodeFile, LocalEpisode localEpisode, Boolean copyOnly) in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\MediaFiles\UpgradeMediaFileService.cs:line 77
at NzbDrone.Core.MediaFiles.EpisodeImport.ImportApprovedEpisodes.Import(List`1 decisions, Boolean newDownload, DownloadClientItem downloadClientItem, ImportMode importMode) in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\MediaFiles\EpisodeImport\ImportApprovedEpisodes.cs:line 111
After watching this for a couple hours, what I saw was Sonarr faithfully moving (I have hard linking enabled, but due to my screwy circumstances) and the download client saw files were missing and without much thinking, my first reaction was to tell it to recheck and redownload what is missing.
So, what happened is the download completed, but during turning off/turning on the Sonarr service, and the errors of late: A season downloaded. I can’t say what triggered this situation, but it was in a state where the download client downloaded the whole thing, perhaps the hard lin failed at some point, and sonarr start moving the season, or was mid-move and stopped. So my download client restarts, saw that some parts of the files were missing (they were moved, partially?) and it threw a consistency error and showed to me the file was now no longer 100% downloaded. so I ran a re-check and it started downloading the “missing” episodes that I suspect were already moved by sonarr. in other words, since the client MOVED the file to the ‘I am finished directory’ sonarr did what it is supposed to, but a special case meant the client was downloading to the finished directory, hence the logs.
There is NO way to upload multiple days logs at this point to trace back HOW this happened, but I can tell you I have SEEN this situation crop up in the past, but it is rare.
I stopped sonarr so that my client will finish downloading. I deleted it manually from the client and I tried to manually import it, but it imported just fine. All I can figure is there is some timing problem where the client finished the download, but things started moving before the download client was told to remove the file from its queue. you would have to think like the process was mid-stream and ended to get this scenario. if you want to, I can totally agree this is an exception to the rule and move along. here is just the latest log: https://paste.drhack.net/?e74ab228ed11282f#521v1DytHhUqTA2p2ZJpW2ZTmHqP7tawquygnJTGsxjT