Recovering lost media by redownloading existing torrents in deluge

Sonarr version (exact version): 4.0.5.1710
Mono version (if Sonarr is not running on Windows): 4.0.5.1710-ls242 by linuxserver.io
OS: Ubuntu 22.04.3 / Docker
Debug logs:
Description of issue:

I recently had one of my media drives fail and lost about 500 torrents worth of media. In Deluge, the torrent entries are still there (just marked under the “Error” state, since the competed files are gone.)

Is there a way to tell sonarr/radarr to re-use these existing torrent entries and import the files when they have finished redownloading? The torrents still have their original “sonarr”/“radarr” labels from when they were added by sonarr/radarr the first time.

Basically I would like to do something like this:
I select all the torrents for my missing files in Deluge, have deluge re-download them (using force-recheck and then resume), and upon completion sonarr/radarr automatically re-imports them. This includes season packs.

I already tried this out with a single movie and radarr didn’t re-import the file when it was done, so I’m not sure if I’m missing something or if it’s just not possible. If this is possible, it would make recovery tremendously easier.

In theory, it should work? I think.
Redownload in Deluge, with the label it should reappear in Sonarr’s queue. (Does it?)
If it is not automatically importing you may need to update the library first so that it detects the file(s) are now missing. Even if monitored I don’t think it would trigger a download since Search Monitored is a separate action.
Can test with a single show.
If it is still not automatically importing you should still be able to bulk manually import after the downloads are complete.

Following up:

Even with the labels, the movies and shows did NOT reappear in sonarr’s queue while being redownloaded.
The shows and movies do recognize that the “Files are missing from disk.”

For my setup, Deluge downloads the content to a /downloads folder. Sonarr/radarr usually then moves them to their respective /tv /movies folders when the downloads are complete.

It looks like I’ll have to manually reimport everything. (Which is a lot!) It would be nice if sonarr/radarr “guessed” what they movies they belonged to (the titles and years are in the name).

Sonarr will parse things you download outside of Sonarr, but if it’s already imported that exact torrent before it won’t re-import it. You could remove the series from Sonarr, which removes that history and Sonarr won’t know it imported it before.

Otherwise the only option would be to use Manual Import, but it doesn’t do well with files for multiple series and won’t fully process directories with over 100 files.