Failed download not picked up

I’m a new user and had a failed download not picked up. I am using NzbDrone Ver. 2.0.0.1293 on Windows 7 x64 SP1 with SABnzbd Version: 0.7.17. I have SABnzbd configured to use the API and have the three Failed Download Handling settings set to Yes.

A download was added to the SABnzbd queue from NzbDrone - the history item says it was grabbed from the indexer and sent to the download client.

In SABnzbd the download entry in history says Repair failed, not enough repair blocks (1099 short). However, the only entry for the download in the NzbDrone history is the one sending it to SABnzbd, nothing about it failing.

I wasn’t sure what to look for in the logs. However, I did a search for the number of blocks short and hope I have the right section:

14-4-2 21:39:03.9|Debug|FailedDownloadService|Yay! No encrypted downloads
14-4-2 21:39:03.9|Debug|SabnzbdProxy|http://localhost:8080/api?mode=history&start=0&limit=20&apikey=&output=json
14-4-2 21:39:03.9|Trace|SabnzbdProxy|Response: {“history”:{“uniconfig”:“C:\\Program Files (x86)\\SABnzbd\\interfaces\\Config\\templates”,“cache_size”:“0 B”,“active_lang”:“en”,“paused”:false,“session”:“4a82fc4e30c56cb58f5a68aeaa1a8537”,“restart_req”:false,“power_options”:true,“slots”:[{“action_line”:"",“show_details”:“True”,“script_log”:"",“meta”:null,“fail_message”:“Repair failed, not enough repair blocks (1099 short)”,“loaded”:false,“id”:1,“size”:“34 MB”,“category”:“nzbdrone”,“pp”:“D”,“retry”:1,“completeness”:0,“script”:“Default”,“nzb_name”:“Showname.S01E06.HDTV.x264-EVOLVE.part.1.nzb”,“download_time”:39,“storage”:“C:\\incomplete\\Showname.S01E06.HDTV.x264-EVOLVE.part.1”,“has_rating”:false,“status”:“Failed”,“script_line”:"",“completed”:1396445941,“nzo_id”:“SABnzbd_nzo_r40jku”,“downloaded”:35327111,“report”:"",“path”:“C:\\incomplete\\Showname.S01E06.HDTV.x264-EVOLVE.part.1”,“postproc_time”:0,“name”:“Showname.S01E06.HDTV.x264-EVOLVE.part”,“url”:“Showname.S01E06.HDTV.x264-EVOLVE.part”,“bytes”:35327111,“url_info”:"",“stage_log”:[{“name”:“Download”,“actions”:[“Downloaded in 39 seconds at an average of 870 KB/s”]},{“name”:“Source”,“actions”:[“Showname.S01E06.HDTV.x264-EVOLVE.part”]},{“name”:“Repair”,“actions”:["[Showname.S01E06.HDTV.x264-EVOLVE.part] Repair failed, not enough repair blocks (1099 short)"]}]}],“speed”:“761 K”,“helpuri”:“http://wiki.sabnzbd.org/",“size”:"0 B”,“uptime”:“3h”,“total_size”:“9.3 G”,“month_size”:“9.3 G”,“my_home”:“c:\\Users\\username\\Documents”,“have_quota”:false,“week_size”:“9.3 G”,“version”:“0.7.17”,“new_rel_url”:"",“my_lcldata”:“c:\\Users\\username\\AppData\\Local\\sabnzbd”,“color_scheme”:“gold”,“diskspacetotal1”:“931.51”,“nt”:true,“status”:“Downloading”,“last_warning”:"",“have_warnings”:“0”,“cache_art”:“0”,“sizeleft”:“0 B”,“finishaction”:null,“paused_all”:false,“quota”:“0 “,“newzbin_url”:“www.newzbin2.es”,“new_release”:””,“pause_int”:“0”,“mbleft”:“0.00”,“diskspace1”:“877.73”,“pp_pause_event”:false,“darwin”:false,“timeleft”:“0:00:00”,“mb”:“0.00”,“noofslots”:1,“day_size”:“8.7 G”,“eta”:“09:39 PM Wed 02 Apr”,“diskspacetotal2”:“931.51”,“nzb_quota”:"",“loadavg”:"",“cache_max”:“209715200”,“kbpersec”:“760.55”,“speedlimit”:"",“webdir”:"",“left_quota”:"0 ",“diskspace2”:“877.73”}}
14-4-2 21:39:03.9|Debug|FailedDownloadService|Unable to find matching history item

14-4-2 21:39:03.9|Debug|FailedDownloadService|Unable to find matching history item drone tracks downloads in SABnzbd by the nzo_id, in this case its: `SABnzbd_nzo_r40jku, it stores that ID the history table of drone.

When drone comes across a failed download it tries to find out if it knows about it, if it does it handles it, otherwise it ignores it, as its done here.

Tough to say why it can’t find it, given it was sent to SAB from (drone as you said without seeing the database. If you want to zip up and pm me a link to the DB (https://github.com/NzbDrone/NzbDrone/wiki/Backup-and-Restore) I can take a deeper look, otherwise you can mark it as failed manually.

Thanks very much for your reply. I have marked it as failed manually. If it does happen again, would you need just the nzbdrone.db file under the AppData directory or other files? Or is it better to include the whole AppData directory?

Would just need nzbdrone.db from the AppData directory.