I might add that this actually happens quite frequently when grabbing whole seasons of aleady aired shows.
As a sidenote I can also mention that in this instance it culminated in me deleteing the show from Sonarr, grabbing the 18 episodes of S01 manually, then adding the show to sonarr again - only for Sonarr to delete 11 of the 18 episodes right in front of my eyes as it was scanning through the folder.
Looks to me like sab intermediate/completed mixup, maybe sab sorting enabled.
The (non-debug) logs later also shows it’s trying to move/rename/import from the series folder to the series folder. Possibly Manual Import attempt instead of Import Existing.
Yes, sab is sorting my series, that’s still my setup since migrating from sickbeard. I avoided using Drone Factory. When completed download handling came I also did not change my setup. Mostly because I liked having the option to remotely trigger a grab through an indexer site and have the episode sorted by sab.
I read up on CDH at the time of introduction, but as I re-read the wiki now I see this line:
This file location can be almost anywhere, as long as it is somewhere separate from your media folder.
CDH is enabled in my settings, which seems illogical to me now.
Anyway, I’ll give the info you asked for and hear your answer …
Sonarr will handle that automatically if the category is the same that is configured in Sonarr.
With SAB doing the sorting, yes, this is causing Sonarr to try and import the file, since you have renaming off its trying to import it to the same path and failing. Eventually when Sonarr rescans the series (every 12 hours), its likely trying to move the file still and starts deleting things to make room for the file it needs to import.
Part of this looks like a bug on our side, Completed Download Handling (CDH) shouldn’t process anything thats in a series folder, or even under the root folder, though I suspect people are keeping their sorted libraries mixed with their completed downloads.
Not sure how S01E03 got linked to S01E04, but likely to do with the release name or something else melting down due to the configuration.
Simple solution is to disable CDH and let SAB do whatever its going to do, but Sonarr will think episodes are missing until the disk is rescanned.
I chose instead to abandon my old setup and convert fully to Sonarr. I set up CDH according to the wiki, abandoned my Sab Plex script and instead connected Plex to Sonarr. After setting up file rename to Original Title to handle hashed file names - it works like a charm. Maybe some subs will be missing through the CDH process, but Plex should find most of them with the original file name intact.