UNIQUE constraint failed: ScheduledTasks.TypeName


Sonarr version (exact version):
Mono version (if Sonarr is not running on Windows):
Debug logs: https://pastebin.com/raw/G0uCVLus

Having an issue with Sonarr getting stuck with the torrent download percent from my rtorrent seedbox and never finishing randomly, even though the file has completed in rtorrent/rutorrent client and already downloaded to the sync folder for Sonarr to pickup.


Tasks are never going to run if you’re running into that error in your logs, but not sure how Sonarr is failing with that error because the TypeName is used to determine if the task already exists and it’s only added if it doesn’t.

You could try using a SQLite editor to clean out the existing tasks. DELETE FROM ScheduledTasks


This just seems to delete all the tasks and then nothing runs since no tasks are configured. Is it supposed to add the tasks back after restart?


Yes, missing tasks are added when Sonarr starts up.


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