UNIQUE constraint failed: ScheduledTasks.TypeName


#1

Sonarr version (exact version):
2.0.0.5220
Mono version (if Sonarr is not running on Windows):
OS: 5.12.0.226
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.


#2

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


#3

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?


#4

Yes, missing tasks are added when Sonarr starts up.


#5

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