{"action":"created","issue":{"url":"https://api.github.com/repos/clinton-hall/nzbToMedia/issues/719","labels_url":"https://api.github.com/repos/clinton-hall/nzbToMedia/issues/719/labels{/name}","comments_url":"https://api.github.com/repos/clinton-hall/nzbToMedia/issues/719/comments","events_url":"https://api.github.com/repos/clinton-hall/nzbToMedia/issues/719/events","html_url":"https://github.com/clinton-hall/nzbToMedia/issues/719","id":59413125,"number":719,"title":"Reset of SickBeard settings on every run (Result: server did not respond)","user":{"login":"DcR-NL","id":1094952,"avatar_url":"https://avatars.githubusercontent.com/u/1094952?v=3","gravatar_id":"","url":"https://api.github.com/users/DcR-NL","html_url":"https://github.com/DcR-NL","followers_url":"https://api.github.com/users/DcR-NL/followers","following_url":"https://api.github.com/users/DcR-NL/following{/other_user}","gists_url":"https://api.github.com/users/DcR-NL/gists{/gist_id}","starred_url":"https://api.github.com/users/DcR-NL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DcR-NL/subscriptions","organizations_url":"https://api.github.com/users/DcR-NL/orgs","repos_url":"https://api.github.com/users/DcR-NL/repos","events_url":"https://api.github.com/users/DcR-NL/events{/privacy}","received_events_url":"https://api.github.com/users/DcR-NL/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/clinton-hall/nzbToMedia/labels/config%20error","name":"config error","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-01T19:24:10Z","updated_at":"2015-03-02T11:16:37Z","closed_at":"2015-03-02T10:55:59Z","body":"Everytime I call *nzbToMedia* or *nzbToSickbeard* from NZBGet it failes (server did not respond) and all my SickBeard settings reset to the default settings. My other settings (couchpotato, torrent, nzb sections) remain untouched. \r\n\r\nI don't understand whats causing this issue. Is it because I use the same *default_downloadDirectory* for both NZBGet and Transmission? Or is it a bug? :-/\r\n\r\n**Software**\r\nSickRage (dev - 583da987e4309ce009374b10e76fbf1fb1fada78).\r\nnzbToMedia (master - 77da142216ba6dc91bb654635d4bd03f13c881e5)\r\nNZBGet 14.1\r\n\r\n**Config**\r\n```\r\n[SickBeard]\r\n    #### autoProcessing for TV Series\r\n    #### tv - category that gets called for post-processing with SB\r\n    [[tv]]\r\n        enabled = 1\r\n        host = localhost\r\n        port = 9595\r\n        username = MYUSERNAME\r\n        password = MYPASSWORD\r\n        ###### ADVANCED USE - ONLY EDIT IF YOU KNOW WHAT YOU'RE DOING ######\r\n        web_root = \"\"\r\n        ssl = 1\r\n        fork = auto\r\n        delete_failed = 0\r\n        # Enable/Disable linking for Torrents\r\n        Torrent_NoLink = 0\r\n        process_method = hardlink\r\n        # force processing of already processed content when running a manual scan.\r\n        force = 0\r\n        extract = 1\r\n        nzbExtractionBy = Downloader\r\n        # Set this to minimum required size to consider a media file valid (in MB)\r\n        minSize = 200\r\n        # Enable/Disable deleteing ignored files (samples and invalid media files)\r\n        delete_ignored = 1\r\n        ##### Enable if SickBeard is on a remote server for this category\r\n        remote_path = 0\r\n        ##### Set to path where download client places completed downloads locally for this category\r\n        watch_dir = /volume1/downloads/complete/tv\r\n```\r\ngets reset to \r\n```\r\n[SickBeard]\r\n    #### autoProcessing for TV Series\r\n    #### tv - category that gets called for post-processing with SB\r\n    [[tv]]\r\n        enabled = 1\r\n        host = localhost\r\n        port = 8081\r\n        username = \"\"\r\n        password = \"\"\r\n        ###### ADVANCED USE - ONLY EDIT IF YOU KNOW WHAT YOU'RE DOING ######\r\n        web_root = \"\"\r\n        ssl = 0\r\n        fork = auto\r\n        delete_failed = 0\r\n        # Enable/Disable linking for Torrents\r\n        Torrent_NoLink = 0\r\n        process_method = \"\"\r\n        # force processing of already processed content when running a manual scan.\r\n        force = 0\r\n        extract = 1\r\n        nzbExtractionBy = Downloader\r\n        # Set this to minimum required size to consider a media file valid (in MB)\r\n        minSize = 200\r\n        # Enable/Disable deleteing ignored files (samples and invalid media files)\r\n        delete_ignored = 1\r\n        ##### Enable if SickBeard is on a remote server for this category\r\n        remote_path = 0\r\n        ##### Set to path where download client places completed downloads locally for this category\r\n        watch_dir = \"\"\r\n```\r\n**Log**\r\n```\r\n2015-03-01 20:02:34 INFO    ::MAIN: Checking database structure...\r\n2015-03-01 20:02:34 DEBUG   ::MAIN: Checking Initial Schema database upgrade\r\n2015-03-01 20:02:34 DB      ::MAIN: nzbtomedia.db: SELECT 1 FROM sqlite_master WHERE name = ?; with args ('db_version',)\r\n2015-03-01 20:02:34 DB      ::MAIN: nzbtomedia.db: SELECT db_version FROM db_version\r\n2015-03-01 20:02:34 DEBUG   ::MAIN: InitialSchema upgrade not required\r\n2015-03-01 20:02:34 DEBUG   ::MAIN: Checking if we can use git commands: \"/usr/local/git/bin/git\" version\r\n2015-03-01 20:02:34 DEBUG   ::MAIN: Executing \"/usr/local/git/bin/git\" version with your shell in /usr/local/nzbToMedia\r\n2015-03-01 20:02:34 DEBUG   ::MAIN: \"/usr/local/git/bin/git\" version : returned successful\r\n2015-03-01 20:02:34 DEBUG   ::MAIN: Using: \"/usr/local/git/bin/git\"\r\n2015-03-01 20:02:34 DEBUG   ::MAIN: Executing \"/usr/local/git/bin/git\" symbolic-ref -q HEAD with your shell in /usr/local/nzbToMedia\r\n2015-03-01 20:02:34 DEBUG   ::MAIN: \"/usr/local/git/bin/git\" symbolic-ref -q HEAD : returned successful\r\n2015-03-01 20:02:34 INFO    ::MAIN: Checking if git needs an update\r\n2015-03-01 20:02:34 DEBUG   ::MAIN: Executing \"/usr/local/git/bin/git\" rev-parse HEAD with your shell in /usr/local/nzbToMedia\r\n2015-03-01 20:02:34 DEBUG   ::MAIN: \"/usr/local/git/bin/git\" rev-parse HEAD : returned successful\r\n2015-03-01 20:02:34 DEBUG   ::MAIN: Executing \"/usr/local/git/bin/git\" fetch origin with your shell in /usr/local/nzbToMedia\r\n2015-03-01 20:02:35 DEBUG   ::MAIN: \"/usr/local/git/bin/git\" fetch origin : returned successful\r\n2015-03-01 20:02:35 DEBUG   ::MAIN: Executing \"/usr/local/git/bin/git\" rev-parse --verify --quiet \"@{upstream}\" with your shell in /usr/local/nzbToMedia\r\n2015-03-01 20:02:35 DEBUG   ::MAIN: \"/usr/local/git/bin/git\" rev-parse --verify --quiet \"@{upstream}\" : returned successful\r\n2015-03-01 20:02:35 DEBUG   ::MAIN: Executing \"/usr/local/git/bin/git\" rev-list --left-right \"@{upstream}\"...HEAD with your shell in /usr/local/nzbToMedia\r\n2015-03-01 20:02:35 DEBUG   ::MAIN: \"/usr/local/git/bin/git\" rev-list --left-right \"@{upstream}\"...HEAD : returned successful\r\n2015-03-01 20:02:35 DEBUG   ::MAIN: cur_commit = 77da142216ba6dc91bb654635d4bd03f13c881e5 % (newest_commit)= 77da142216ba6dc91bb654635d4bd03f13c881e5, num_commits_behind = 0, num_commits_ahead = 0\r\n2015-03-01 20:02:35 INFO    ::MAIN: No update needed\r\n2015-03-01 20:02:35 INFO    ::MAIN: nzbToMedia Version:77da142216ba6dc91bb654635d4bd03f13c881e5 Branch:dev (Linux 3.2.40)\r\n2015-03-01 20:02:35 WARNING ::MAIN: Failed to locate ffprobe. Video corruption detection disabled!\r\n2015-03-01 20:02:35 WARNING ::MAIN: Install ffmpeg with x264 support to enable this feature  ...\r\n2015-03-01 20:02:35 DEBUG   ::MAIN: Connecting to transmission: http://127.0.0.1:9494\r\n2015-03-01 20:02:35 INFO    ::MAIN: #########################################################\r\n2015-03-01 20:02:35 INFO    ::MAIN: ## ..::[nzbToMedia.pyc]::.. ##\r\n2015-03-01 20:02:35 INFO    ::MAIN: #########################################################\r\n2015-03-01 20:02:35 DEBUG   ::MAIN: Options passed into nzbToMedia: ['/usr/local/nzbToMedia/nzbToSickBeard.py']\r\n2015-03-01 20:02:35 INFO    ::MAIN: Script triggered from NZBGet Version 14.1.\r\n2015-03-01 20:02:35 DEBUG   ::MAIN: Adding NZB download info for directory /volume1/downloads/complete/tv/The.Americans.2013.S01E01.1080p.BluRay.x264-BiA to database\r\n2015-03-01 20:02:35 DB      ::MAIN: nzbtomedia.db: UPDATE downloads SET status = ?, client_agent = ?, last_update = ?, input_id = ?, input_hash = ?, input_name = ? WHERE input_directory = ? with args [0, u'nzbget', 735658, u'', u'', u'The.Americans.2013.S01E01.1080p.BluRay.x264-BiA', u'/volume1/downloads/complete/tv/The.Americans.2013.S01E01.1080p.BluRay.x264-BiA']\r\n2015-03-01 20:02:35 INFO    ::MAIN: Auto-detected SECTION:SickBeard\r\n2015-03-01 20:02:35 DEBUG   ::MAIN: Checking for archives to extract in directory: /volume1/downloads/complete/tv/The.Americans.2013.S01E01.1080p.BluRay.x264-BiA\r\n2015-03-01 20:02:35 INFO    ::MAIN: Calling SickBeard:tv to post-process:The.Americans.2013.S01E01.1080p.BluRay.x264-BiA\r\n2015-03-01 20:02:35 ERROR   ::SICKBEARD: Server did not respond. Exiting\r\n2015-03-01 20:02:35 ERROR   ::MAIN: A problem was reported in the /usr/local/nzbToMedia/nzbToSickBeard.py script.\r\n```\r\nAdittional config sections:\r\n```\r\n[Nzb]\r\n    ###### clientAgent - Supported clients: sabnzbd, nzbget\r\n    clientAgent = nzbget\r\n    ###### SabNZBD (You must edit this if your using nzbToMedia.py with SabNZBD)\r\n    sabnzbd_host = 9090\r\n    sabnzbd_port = 8080\r\n    sabnzbd_apikey = \"\"\r\n    ###### Enter the default path to your default download directory (non-category downloads). this directory is protected by safe_mode.\r\n    default_downloadDirectory = /volume1/downloads/complete\r\n\r\n[Torrent]\r\n    ###### clientAgent - Supported clients: utorrent, transmission, deluge, rtorrent, vuze, other\r\n    clientAgent = transmission\r\n    ###### useLink - Set to hard for physical links, sym for symbolic links, move to move, and no to not use links (copy)\r\n    useLink = hard\r\n    ###### outputDirectory - Default output directory (categories will be appended as sub directory to outputDirectory)\r\n    outputDirectory = /volume1/downloads/complete/processed\r\n    ###### Enter the default path to your default download directory (non-category downloads). this directory is protected by safe_mode. \r\n    default_downloadDirectory = /volume1/downloads/complete\r\n    ###### Other categories/labels defined for your downloader. Does not include CouchPotato, SickBeard, HeadPhones, Mylar categories.\r\n    categories = software, other, unknown\r\n    ###### A list of categories that you don't want to be flattened (i.e preserve the directory structure when copying/linking.\r\n    noFlatten = pictures, manual\r\n    ###### uTorrent Hardlink solution (You must edit this if your using TorrentToMedia.py with uTorrent)\r\n    uTorrentWEBui = http://localhost:8090/gui/\r\n    uTorrentUSR = your username\r\n    uTorrentPWD = your password\r\n    ###### Transmission (You must edit this if your using TorrentToMedia.py with uTorrent)\r\n    TransmissionHost = 127.0.0.1\r\n    TransmissionPort = 9494\r\n    TransmissionUSR = MYUSERNAME\r\n    TransmissionPWD = MYPASSWORD\r\n    #### Deluge (You must edit this if your using TorrentToMedia.py with deluge. Note that the host/port is for the deluge daemon, not the webui)\r\n    DelugeHost = localhost\r\n    DelugePort = 58846\r\n    DelugeUSR = your username\r\n    DelugePWD = your password\r\n    ###### ADVANCED USE - ONLY EDIT IF YOU KNOW WHAT YOU'RE DOING ######\r\n    deleteOriginal = 0\r\n```"},"comment":{"url":"https://api.github.com/repos/clinton-hall/nzbToMedia/issues/comments/76695135","html_url":"https://github.com/clinton-hall/nzbToMedia/issues/719#issuecomment-76695135","issue_url":"https://api.github.com/repos/clinton-hall/nzbToMedia/issues/719","id":76695135,"user":{"login":"clinton-hall","id":1888006,"avatar_url":"https://avatars.githubusercontent.com/u/1888006?v=3","gravatar_id":"","url":"https://api.github.com/users/clinton-hall","html_url":"https://github.com/clinton-hall","followers_url":"https://api.github.com/users/clinton-hall/followers","following_url":"https://api.github.com/users/clinton-hall/following{/other_user}","gists_url":"https://api.github.com/users/clinton-hall/gists{/gist_id}","starred_url":"https://api.github.com/users/clinton-hall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clinton-hall/subscriptions","organizations_url":"https://api.github.com/users/clinton-hall/orgs","repos_url":"https://api.github.com/users/clinton-hall/repos","events_url":"https://api.github.com/users/clinton-hall/events{/privacy}","received_events_url":"https://api.github.com/users/clinton-hall/received_events","type":"User","site_admin":false},"created_at":"2015-03-02T11:16:37Z","updated_at":"2015-03-02T11:16:37Z","body":"No worries... Hi hope you enjoy your transition over to Usenet ;)"}}