Sonarr version (exact version): 188.8.131.5254
Mono version (if Sonarr is not running on Windows): 184.108.40.206
Debug logs: See below
Description of issue:
EDIT: Second Post has a crash stack during the copy.
Original post: https://forums.sonarr.tv/t/sonarr-is-failing-to-copy-entire-files-but-thinks-it-succeeded/14506
I moved away from two shares into one share and never got back to you on the trace log. But now I'm back to two shares and it consistently happens.
I've discovered what causes it by manually importing 26 files from one CIFS/SMB share to another and watching the trace log when file doesn't match the size of the original.
It's caused by
CheckForFinishedDownload firing off during the copy. I'm looking through the trace now but nothing stands out and there are no crash stacks. It may be as simple as preventing Tasks firing off during a copy after done/manual import. Here's the relevant sanitized parts: