I’ve had this problem for a few weeks, but have never been able to have debug on when it happens. Well, I got super irritated today and turned on debug and kept messing with it until it happened. Hallelujah.
I have Sonarr and Sabnbzd in containers running on Unraid.
if I search on some random site, and PUSH them to Sabnbzd, then tag them TV… they get downloaded.
When hitting the complete folder, Sonarr sees them, incorrectly renames them to something that exists, and then deletes the existing file.
Sonarr looks at the next file, and does the same thing again. It incorrectly renames it to the same file name, then deletes the existing, and then puts it here.
17-9-20 15:12:02.4|Debug|EpisodeFileMovingService|Moving episode file: /downloads/completed/30 Rock/Season 04/30 Rock - S04E01 - 1080p WEB-DL AAC2 0 AVC-TrollHD.mp4 to /tv/30 Rock/Season 04/30 Rock - S04E01 - Season 4.mp4
It looks like you have SAB sorting files and then Sonarr tries to process them and then Sonarr tries to use the season folder and results in it thinking it’s dealing with a different episode file.
Make sure TV sorting is disabled in SAB. SAB should unpack to a folder named after the download in a separate location and Sonarr will move the files.
Actually, after looking more I found the real place that Sorting is decided… under ‘Sorting’ lol. So for anyone reading this, I also disabled Sorting and I re-enabled the folder renaming. After reading that is just done to repack files.