Well, i had everything working nicely except for getting transmission to run the script torrenttomedia so i tried to get that working and during that process I stupidly nuked my entire jail by setting permissions recursively. Big mistake. Learning the hard way i guess. I started over and am not at another stopping point. It seems to be a permission problem but its over my head in terms of freenas. the script starts to run then failed with the following [Errno 13] Permission denied. Hopefully someone can help me reverse my mistake and get this working again.
Code:
2015-02-26 00:28:25 INFO ::MAIN: Loading config from [/usr/local/share/nzbToMedia/autoProcessMedia.cfg]
2015-02-26 00:28:25 INFO ::MAIN: Checking database structure...
2015-02-26 00:28:25 INFO ::MAIN: Checking if git needs an update
2015-02-26 00:28:25 INFO ::MAIN: No update needed
2015-02-26 00:28:25 INFO ::MAIN: nzbToMedia Version:77da142216ba6dc91bb654635d4bd03f13c881e5 Branch:dev (FreeBSD 9.1-RELEASE)
2015-02-26 00:28:25 WARNING ::MAIN: Failed to locate 7zip. Transcosing of disk images and extraction of .7z files will not be possible!
2015-02-26 00:28:25 INFO ::MAIN: #########################################################
2015-02-26 00:28:25 INFO ::MAIN: ## ..::[nzbToMedia.pyc]::.. ##
2015-02-26 00:28:25 INFO ::MAIN: #########################################################
2015-02-26 00:28:25 INFO ::MAIN: Script triggered from SABnzbd
2015-02-26 00:28:25 INFO ::MAIN: Auto-detected SECTION:SickBeard
2015-02-26 00:28:25 INFO ::MAIN: Calling SickBeard:tv to post-process:Archer.2009.S05E12.720p.BluRay.X264-REWARD.nzb
2015-02-26 00:28:25 INFO ::MAIN: Attempting to auto-detect tv fork
2015-02-26 00:28:25 INFO ::MAIN: SickBeard:tv fork auto-detection successful ...
2015-02-26 00:28:25 INFO ::MAIN: SickBeard:tv fork set to sickrage
2015-02-26 00:28:25 INFO ::TRANSCODER: Checking [archer.2009.s05e12.720p.bluray.x264-reward.mkv] for corruption, please stand by ...
2015-02-26 00:28:25 INFO ::TRANSCODER: SUCCESS: [archer.2009.s05e12.720p.bluray.x264-reward.mkv] has no corruption.
2015-02-26 00:28:25 INFO ::MAIN: FLATTEN: Flattening directory: /media/Downloads/sabnzbd/Complete/tv/Archer.2009.S05E12.720p.BluRay.X264-REWARD.2
2015-02-26 00:28:25 INFO ::MAIN: FLATTEN: Flattening directory: /media/Downloads/sabnzbd/Complete/tv/Archer.2009.S05E12.720p.BluRay.X264-REWARD.2
2015-02-26 00:28:25 POSTPROCESS::SICKBEARD: SUCCESS: The download succeeded, sending a post-process request
2015-02-26 00:28:25 POSTPROCESS::SICKBEARD: Processing folder /media/Downloads/sabnzbd/Complete/tv/Archer.2009.S05E12.720p.BluRay.X264-REWARD.2
2015-02-26 00:28:25 POSTPROCESS::SICKBEARD: TV_DOWNLOAD_DIR:
2015-02-26 00:28:25 POSTPROCESS::SICKBEARD: PostProcessing Path: /media/Downloads/sabnzbd/Complete/tv
2015-02-26 00:28:25 POSTPROCESS::SICKBEARD: PostProcessing Dirs: [u'Archer.2009.S05E12.720p.BluRay.X264-REWARD.2']
2015-02-26 00:28:25 POSTPROCESS::SICKBEARD: PostProcessing Files: []
2015-02-26 00:28:25 POSTPROCESS::SICKBEARD: PostProcessing VideoFiles: []
2015-02-26 00:28:25 POSTPROCESS::SICKBEARD: PostProcessing RarContent: []
2015-02-26 00:28:25 POSTPROCESS::SICKBEARD: PostProcessing VideoInRar: []
2015-02-26 00:28:25 POSTPROCESS::SICKBEARD: Processing folder Archer.2009.S05E12.720p.BluRay.X264-REWARD.2
2015-02-26 00:28:25 POSTPROCESS::SICKBEARD: Processing /media/Downloads/sabnzbd/Complete/tv/Archer.2009.S05E12.720p.BluRay.X264-REWARD.2/archer.2009.s05e12.720p.bluray.x264-reward.mkv (Archer.2009.S05E12.720p.BluRay.X264-REWARD.nzb)
2015-02-26 00:28:25 POSTPROCESS::SICKBEARD: Found result in history: (<sickbeard.tv.TVShow object at 0x80b726710>, 5, [], 128, -1)
2015-02-26 00:28:25 POSTPROCESS::SICKBEARD: Retrieving episode object for 5x12
2015-02-26 00:28:25 POSTPROCESS::SICKBEARD: Snatch history had a quality in it, using that: 720p BluRay
2015-02-26 00:28:25 POSTPROCESS::SICKBEARD: SB snatched this episode so I'm marking it as priority
2015-02-26 00:28:25 POSTPROCESS::SICKBEARD: Is ep a priority download: True
2015-02-26 00:28:25 POSTPROCESS::SICKBEARD: Snatch history had a version in it, using that: v-1
2015-02-26 00:28:25 POSTPROCESS::SICKBEARD: There is no existing file so there's no worries about replacing it
2015-02-26 00:28:25 POSTPROCESS::SICKBEARD: This download is marked a priority download so I'm going to replace an existing file if I find one
2015-02-26 00:28:25 POSTPROCESS::SICKBEARD: Found release name Archer.2009.S05E12.720p.BluRay.X264-REWARD
2015-02-26 00:28:25 POSTPROCESS::SICKBEARD: Destination folder for this episode: /media/TVShows/Archer (2009)/Season 05
2015-02-26 00:28:25 POSTPROCESS::SICKBEARD: Moving file from /media/Downloads/sabnzbd/Complete/tv/Archer.2009.S05E12.720p.BluRay.X264-REWARD.2/archer.2009.s05e12.720p.bluray.x264-reward.mkv to /media/TVShows/Archer (2009)/Season 05/Archer (2009) - S05E12 - Archer Vice Filibuster.mkv
2015-02-26 00:28:25 POSTPROCESS::SICKBEARD: Unable to move file /media/Downloads/sabnzbd/Complete/tv/Archer.2009.S05E12.720p.BluRay.X264-REWARD.2/archer.2009.s05e12.720p.bluray.x264-reward.mkv to /media/TVShows/Archer (2009)/Season 05/Archer (2009) - S05E12 - Archer Vice Filibuster.mkv: [Errno 13] Permission denied: '/media/TVShows/Archer (2009)/Season 05/Archer (2009) - S05E12 - Archer Vice Filibuster.mkv'
2015-02-26 00:28:25 POSTPROCESS::SICKBEARD: Processing failed for /media/Downloads/sabnzbd/Complete/tv/Archer.2009.S05E12.720p.BluRay.X264-REWARD.2/archer.2009.s05e12.720p.bluray.x264-reward.mkv: Unable to move the files to their new home
2015-02-26 00:28:25 POSTPROCESS::SICKBEARD: Problem(s) during processing
2015-02-26 00:28:25 ERROR ::MAIN: A problem was reported in the /usr/local/share/nzbToMedia/nzbToSickBeard.py script.