Help with Sonarr Sabnzbd Cleanup

Current Behavior

I’m having an issue where random episodes do not clean up. In the logs I get the following. The thing is that the file processes just fine and is playable in plex without issue. It seems like sonarr is checking for the file size before the copy is complete or something. There are no logs in sabnzbd of any issues. I’m getting this on both sonarr instances as well as my two radarr instances.

Expected Behavior

Expecting consistent cleanup of sabnzbd.

Steps To Reproduce

Unable to reproduce. It happens unpredictably.

Environment

  • OS: Ubuntu on Proxmox - Sonarr: 4.0.15.2941 - Docker Install: Yes - Using Reverse Proxy: Traefik - Browser: Edge - Database: Postgresql 14.18

What branch are you running?

Main

Trace Logs?

2025-08-02 20:43:08.7|Info|Sabnzbd|Adding report [Show.S04E07.1080p.PCOK.WEB-DL.AAC2.0.H.264-RAWR] to the queue.
2025-08-02 20:43:08.8|Info|DownloadService|Report sent to SABnzbd. Indexer NZBgeek (Prowlarr). Show.S04E07.1080p.PCOK.WEB-DL.AAC2.0.H.264-RAWR
2025-08-02 20:43:08.8|Info|RssSyncService|RSS Sync Completed. Reports found: 380, Reports grabbed: 1
2025-08-02 20:55:40.8|Error|DiskTransferService|Failed to properly rollback the file move [/downloads/sabnzbd/complete/sonarr/Show.S04E07.1080p.PCOK.WEB-DL.AAC2.0.H.264-RAWR/Show.S04E07.1080p.PCOK.WEB-DL.AAC2.0.H.264-RAWR.mkv] to [/stage/Show/Season 04/Show - S04E07 - #407 [WEBDL-1080p][AAC 2.0][x264]-RAWR.mkv], incomplete file may be left in target path.
2025-08-02 20:55:40.8|Warn|ImportApprovedEpisodes|Couldn’t import episode /downloads/sabnzbd/complete/sonarr/Show.S04E07.1080p.PCOK.WEB-DL.AAC2.0.H.264-RAWR/Show.S04E07.1080p.PCOK.WEB-DL.AAC2.0.H.264-RAWR.mkv

[v4.0.15.2941] System.IO.IOException: File move incomplete, data loss may have occurred. [/stage/Show/Season 04/Show - S04E07 - #407[WEBDL-1080p][AAC 2.0][x264]-RAWR.mkv] was 2628517888 bytes long instead of the expected 7881926926.
at NzbDrone.Common.Disk.DiskTransferService.VerifyFile(String sourcePath, String targetPath, Int64 originalSize, String action) in ./Sonarr.Common/Disk/DiskTransferService.cs:line 523
at NzbDrone.Common.Disk.DiskTransferService.TryMoveFileVerified(String sourcePath, String targetPath, Int64 originalSize) in ./Sonarr.Common/Disk/DiskTransferService.cs:line 492
at NzbDrone.Common.Disk.DiskTransferService.TransferFile(String sourcePath, String targetPath, TransferMode mode, Boolean overwrite) in ./Sonarr.Common/Disk/DiskTransferService.cs:line 387
at NzbDrone.Core.MediaFiles.EpisodeFileMovingService.TransferFile(EpisodeFile episodeFile, Series series, List1 episodes, String destinationFilePath, TransferMode mode, LocalEpisode localEpisode) in ./Sonarr.Core/MediaFiles/EpisodeFileMovingService.cs:line 151 at NzbDrone.Core.MediaFiles.EpisodeFileMovingService.MoveEpisodeFile(EpisodeFile episodeFile, LocalEpisode localEpisode) in ./Sonarr.Core/MediaFiles/EpisodeFileMovingService.cs:line 91 at NzbDrone.Core.MediaFiles.UpgradeMediaFileService.UpgradeEpisodeFile(EpisodeFile episodeFile, LocalEpisode localEpisode, Boolean copyOnly) in ./Sonarr.Core/MediaFiles/UpgradeMediaFileService.cs:line 80 at NzbDrone.Core.MediaFiles.EpisodeImport.ImportApprovedEpisodes.Import(List1 decisions, Boolean newDownload, DownloadClientItem downloadClientItem, ImportMode importMode) in ./Sonarr.Core/MediaFiles/EpisodeImport/ImportApprovedEpisodes.cs:line 159

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