Post-Processing Leaves behind Empty folders after Failed Download

Sonarr version (exact version): 2.0.0.4230
Mono version (if Sonarr is not running on Windows):3.10.0 (tarball Wed Nov 5 12:50:04 UTC 2014)
OS: Unraid
((Debug logs)):http://pastebin.com/NAkyZ8D8
(Make sure debug logging is enabled in settings and post the full log to hastebin/pastebin/dropbox/google drive or something similar, do not post them directly here)
Description of issue:
Hi,

When I download a file, and it succeeded there is no problem and it is moved from my download directory to my media directory. However, when a download failes due to missing articles it sends a failed notification to Sonarr and a new downloads starts, but the old download is left behind.

I am using sabnzbd 1.1.0 RC 3 If that matters.

Here are some screenshots:

http://imgur.com/TlzWS5P
http://imgur.com/a/eV9rV
http://imgur.com/a/9GMNf
http://imgur.com/u46eg8J

I also tried with and without using NzbToMedia but it docent seem to make a difference.

# nzbToMedia Configuration
# For more information, visit https://github.com/clinton-hall/nzbToMedia/wiki

[General]
    # Enable/Disable update notifications
    version_notify = 1
    # Enable/Disable automatic updates
    auto_update = 0
    # Set to the full path to the git executable
    git_path = ""
    # GitHUB user for repo
    git_user = ""
    # GitHUB branch for repo
    git_branch = ""
    # Enable/Disable forceful cleaning of leftover files following postprocess 
    force_clean = 1
    # Enable/Disable logging debug messages to nzbtomedia.log
    log_debug = 0
    # Enable/Disable logging database messages to nzbtomedia.log
    log_db = 0
    # Enable/Disable logging environment variables to debug nzbtomedia.log (helpful to track down errors calling external tools.)
    log_env = 0
    # Enable/Disable logging git output to debug nzbtomedia.log (helpful to track down update failures.)
    log_git = 0
    # Set to the directory where your ffmpeg/ffprobe executables are located
    ffmpeg_path = ""
    # Enable/Disable media file checking using ffprobe.
    check_media = 1
    # Enable/Disable a safety check to ensure we don't process all downloads in the default_downloadDirectories by mistake.
    safe_mode = 1
.
. (Bunch of unrelated stuff)
.
[NzbDrone]
    #### autoProcessing for TV Series
    #### ndCategory - category that gets called for post-processing with NzbDrone
    [[tv]]
        enabled = 1
        apikey = ""
        host = 192.168.3.111
        port = 8989
        username = ""
        password = ""
        ###### ADVANCED USE - ONLY EDIT IF YOU KNOW WHAT YOU'RE DOING ######
        web_root = ""
        ssl = 0
        delete_failed = 1
        # Enable/Disable linking for Torrents
        Torrent_NoLink = 0
        keep_archive = 1
        extract = 1
        nzbExtractionBy = Downloader
        wait_for = 2
        # Set this to minimum required size to consider a media file valid (in MB)
        minSize = 0
        # Enable/Disable deleting ignored files (samples and invalid media files)
        delete_ignored = 1
        ##### Enable if NzbDrone is on a remote server for this category
        remote_path = 0
        ##### Set to path where download client places completed downloads locally for this category
        watch_dir = ""

Please help,
Thanks

For failed downloads Sonarr tell the download client (SAB in this case) to remove the download and anything it has downloaded.

I can’t tell from your logs if Sonarr has told SAB to remove the failed download (the logs have been removed), but it should have (if Sonarr grabbed that release) and SAB should have removed it from history and disk.

EDIT - Consulted SAB forums and issue is solved, thanks anyways!

Thanks for the reply!

So you are saying that the issue is caused by Sab and not sonarr, right?

For the logs, did I copy to little of the log, which deleted the part where Sonarr told sab to delete the files or the Sonarr delete them? I just looked thought the logs and I don’t see a failed download command so am I missing a debug mode or something like that?

Thanks,

1 Like

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