nzbToMedia icon indicating copy to clipboard operation
nzbToMedia copied to clipboard

Docker Help

Open ms30250 opened this issue 3 years ago • 6 comments

Describe the bug I doubt it is a bug, probably user error.

I am running sabnzb on a windows machine. Completed downloads are sent to \NAS 1\Download\Sabnzbd\TV

Sickchill is running in a docker container station on NAS 1. This container has access to access to that directory as /Download/TV

The expected behavior is for Sab to complete the DL and then notify sickchill to post-process and move the file to /Complete

/Complete is also on the same NAS

SAB LOG AND SICK CHILL LOG

SAB [19:00:01] [INFO]::MAIN: Loading config from [C:\Users\Doug\Desktop\nzbToMedia\autoProcessMedia.cfg] [19:00:01] [INFO]::MAIN: Python v3.8 will reach end of life in 1453 days. [19:00:01] [INFO]::MAIN: Checking database structure... [19:00:01] [INFO]::MAIN: Checking if source needs an update [19:00:01] [ERROR]::MAIN: Unknown current version number, don't know if we should update or not [19:00:01] [INFO]::MAIN: nzbToMedia Version:12.1.07 Branch:master (Windows 10) [19:00:01] [WARNING]::MAIN: Failed to locate ffmpeg.exe. Transcoding disabled! [19:00:01] [WARNING]::MAIN: Install ffmpeg with x264 support to enable this feature ... [19:00:01] [WARNING]::MAIN: Failed to locate ffprobe.exe. Video corruption detection disabled! [19:00:01] [WARNING]::MAIN: Install ffmpeg with x264 support to enable this feature ... [19:00:01] [INFO]::MAIN: ######################################################### [19:00:01] [INFO]::MAIN: ## ..::[nzbToMedia.py]::.. ## [19:00:01] [INFO]::MAIN: ######################################################### [19:00:01] [INFO]::MAIN: Script triggered from SABnzbd Version 3.1.0. [19:00:01] [INFO]::MAIN: Auto-detected SECTION:SickBeard [19:00:01] [INFO]::MAIN: Calling SickBeard:tv to post-process:Tosh.0.S12E06.1080p.HEVC.x265-MeGusta (3) [19:00:01] [INFO]::MAIN: Attempting to auto-detect tv fork [19:00:01] [INFO]::MAIN: SickBeard:tv fork auto-detection successful ... [19:00:01] [INFO]::MAIN: SickBeard:tv fork set to SickChill-api [19:00:01] [INFO]::MAIN: FLATTEN: Flattening directory: \192.168.1.223\Download\Sabnzbd\TV\Tosh.0.S12E06.1080p.HEVC.x265-MeGusta (3).2 [19:00:01] [POSTPROCESS]::SICKBEARD: SUCCESS: The download succeeded, sending a post-process request [19:00:02] [INFO]::CLEANDIRS: Directory \192.168.1.223\Download\Sabnzbd\TV\Tosh.0.S12E06.1080p.HEVC.x265-MeGusta (3).2 still contains 1 unprocessed file(s), skipping ... [19:00:02] [INFO]::MAIN: The C:\Users\Doug\Desktop\nzbToMedia\nzbToSickBeard.py script completed successfully. Changing to directory: C:\Users\Doug\Desktop\nzbToMedia

SICK CHILL 2020-10-23 00:00:01 WARNING :: WEBSERVER :: Auto post-processing attempted but directory is relative (and probably not what you really want to process): \192.168.1.223\Download\Sabnzbd\TV\Tosh.0.S12E06.1080p.HEVC.x265-MeGusta (3).2

ms30250 avatar Oct 23 '20 00:10 ms30250

Debug logs would confirm what directory details are being sent to SickChill...

[General]
    log_debug = 1

But from what you have provided I believe you need to set the mount points

[Network]
    mount_points = \192.168.1.223\Download\Sabnzbd\TV\,/Download/TV/

This means when the script tells SickChill to scan... it will be providing the directory as /Download/TV/Tosh.0.S12E06.1080p.HEVC.x265-MeGusta (3).2 and not \192.168.1.223\Download\Sabnzbd\TV\Tosh.0.S12E06.1080p.HEVC.x265-MeGusta (3).2 which clearly SickChill won't recognize.

clinton-hall avatar Oct 23 '20 02:10 clinton-hall

Debug logs would confirm what directory details are being sent to SickChill...

[General]
    log_debug = 1

But from what you have provided I believe you need to set the mount points

[Network]
    mount_points = \192.168.1.223\Download\Sabnzbd\TV\,/Download/TV/

This means when the script tells SickChill to scan... it will be providing the directory as /Download/TV/Tosh.0.S12E06.1080p.HEVC.x265-MeGusta (3).2 and not \192.168.1.223\Download\Sabnzbd\TV\Tosh.0.S12E06.1080p.HEVC.x265-MeGusta (3).2 which clearly SickChill won't recognize.

[21:14:39] [INFO]::MAIN: Loading config from [C:\Users\Doug\Desktop\nzbToMedia\autoProcessMedia.cfg] [21:14:39] [INFO]::MAIN: Python v3.8 will reach end of life in 1453 days. [21:14:39] [INFO]::MAIN: Checking database structure... [21:14:39] [DEBUG]::MAIN: Checking Initial Schema database upgrade [21:14:39] [DEBUG]::MAIN: InitialSchema upgrade not required [21:14:39] [INFO]::MAIN: Checking if source needs an update [21:14:40] [DEBUG]::MAIN: cur_commit = None % (newest_commit)= 4c33b5574b9816633d44346bd302f284ed5a5510, num_commits_behind = 0 [21:14:40] [ERROR]::MAIN: Unknown current version number, don't know if we should update or not [21:14:40] [INFO]::MAIN: nzbToMedia Version:12.1.07 Branch:master (Windows 10) [21:14:40] [WARNING]::MAIN: Failed to locate ffmpeg.exe. Transcoding disabled! [21:14:40] [WARNING]::MAIN: Install ffmpeg with x264 support to enable this feature ... [21:14:40] [WARNING]::MAIN: Failed to locate ffprobe.exe. Video corruption detection disabled! [21:14:40] [WARNING]::MAIN: Install ffmpeg with x264 support to enable this feature ... [21:14:40] [INFO]::MAIN: ######################################################### [21:14:40] [INFO]::MAIN: ## ..::[nzbToMedia.py]::.. ## [21:14:40] [INFO]::MAIN: ######################################################### [21:14:40] [DEBUG]::MAIN: Options passed into nzbToMedia: ['C:\Users\Doug\Desktop\nzbToMedia\nzbToSickBeard.py', '\\192.168.1.223\Download\Sabnzbd\TV\Tosh.0.S12E06.1080p.HEVC.x265-MeGusta', 'Tosh.0.S12E06.1080p.HEVC.x265-MeGusta.nzb', 'Tosh.0.S12E06.1080p.HEVC.x265-MeGusta', '', 'tv', 'alt.binaries.multimedia', '0', ''] [21:14:40] [INFO]::MAIN: Script triggered from SABnzbd Version 3.1.0. [21:14:40] [DEBUG]::MAIN: Adding NZB download info for directory \192.168.1.223\Download\Sabnzbd\TV\Tosh.0.S12E06.1080p.HEVC.x265-MeGusta to database [21:14:40] [INFO]::MAIN: Auto-detected SECTION:SickBeard [21:14:40] [DEBUG]::MAIN: Checking for archives to extract in directory: \192.168.1.223\Download\Sabnzbd\TV\Tosh.0.S12E06.1080p.HEVC.x265-MeGusta [21:14:40] [INFO]::MAIN: Calling SickBeard:tv to post-process:Tosh.0.S12E06.1080p.HEVC.x265-MeGusta [21:14:40] [DEBUG]::SERVER: Attempting to connect to server at http://192.168.1.209:8081 [21:14:40] [DEBUG]::SERVER: Server responded at http://192.168.1.209:8081 [21:14:40] [INFO]::MAIN: Attempting to auto-detect tv fork [21:14:40] [DEBUG]::MAIN: Removing excess parameters: ['delete_files', 'delete_on', 'dir', 'dirName', 'force', 'ignore_subs', 'is priority', 'proc_dir'] [21:14:40] [INFO]::MAIN: SickBeard:tv fork auto-detection successful ... [21:14:40] [INFO]::MAIN: SickBeard:tv fork set to SickChill-api [21:14:40] [DEBUG]::EXCEPTION: Replacing file name 9d0f27f7846941549ee61307924462aa with directory name Tosh.0.S12E06.1080p.HEVC.x265-MeGusta [21:14:40] [DEBUG]::EXCEPTION: Replacing file name \192.168.1.223\Download\Sabnzbd\TV\Tosh.0.S12E06.1080p.HEVC.x265-MeGusta\9d0f27f7846941549ee61307924462aa.mkv with download name \192.168.1.223\Download\Sabnzbd\TV\Tosh.0.S12E06.1080p.HEVC.x265-MeGusta\Tosh.0.S12E06.1080p.HEVC.x265-MeGusta.mkv [21:14:40] [INFO]::MAIN: FLATTEN: Flattening directory: \192.168.1.223\Download\Sabnzbd\TV\Tosh.0.S12E06.1080p.HEVC.x265-MeGusta [21:14:40] [DEBUG]::MAIN: Checking for empty folders in:\192.168.1.223\Download\Sabnzbd\TV\Tosh.0.S12E06.1080p.HEVC.x265-MeGusta [21:14:40] [POSTPROCESS]::SICKBEARD: SUCCESS: The download succeeded, sending a post-process request [21:14:40] [DEBUG]::SICKBEARD: Opening URL: http://192.168.1.209:8081/api/803f66fcbf4719a6bddf6592ad61b990/ with params: {'path': '\\192.168.1.223\Download\Sabnzbd\TV\Tosh.0.S12E06.1080p.HEVC.x265-MeGusta', 'failed': 0, 'return_data': 0, 'force_next': 1, 'cmd': 'postprocess', 'nzbName': 'Tosh.0.S12E06.1080p.HEVC.x265-MeGusta'} [21:14:40] [INFO]::CLEANDIRS: Directory \192.168.1.223\Download\Sabnzbd\TV\Tosh.0.S12E06.1080p.HEVC.x265-MeGusta still contains 1 unprocessed file(s), skipping ... [21:14:40] [INFO]::MAIN: The C:\Users\Doug\Desktop\nzbToMedia\nzbToSickBeard.py script completed successfully. Changing to directory: C:\Users\Doug\Desktop\nzbToMedia

-- Cleaning bytecode -- WARNING: Automatic cleanup could not be executed. If errors occur, manual cleanup may be required. REASON : Error: [WinError 2] The system cannot find the file specified

Directory is not a git repository

Force cleaning folder: libs Skipping required subfolders ['common', 'custom', 'py2', 'win']

Force cleaning folder: core Skipping required subfolders ['auto_process', 'extractor', 'plugins', 'utils'] Returning to directory: C:\Program Files\SABnzbd

-- Cleanup finished --

SickBeard: Successfully post-processed Tosh.0.S12E06.1080p.HEVC.x265-MeGusta!

ms30250 avatar Oct 23 '20 02:10 ms30250

Sorry 1 last setting I forgot:

[SickBeard]
    [[tv]]
        remote_path = 1

clinton-hall avatar Oct 23 '20 02:10 clinton-hall

Sorry 1 last setting I forgot:

[SickBeard]
    [[tv]]
        remote_path = 1

so the debug and sick log say complete but the file didnt move in to the expected folder.

2020-10-23 02:48:19 INFO :: AUTO :: Auto post processing task for /Complete/Tosh.0.S12E06.1080p.HEVC.x265-MeGusta completed 2020-10-23 02:48:19 INFO :: AUTO :: Beginning auto post processing task: /Complete/Tosh.0.S12E06.1080p.HEVC.x265-MeGusta

ms30250 avatar Oct 23 '20 02:10 ms30250

Actually it did move it just didnt put in on the shows folder. I think its working just need to figure out why it didnt go in the right folder.

ms30250 avatar Oct 23 '20 03:10 ms30250

Take a look at SickChill logs.

clinton-hall avatar Oct 23 '20 03:10 clinton-hall