[FreeNAS 9 Plugins] - SAB / SB / CP / HP / Maraschino / HTPC / Mylar / LL / Gamez

Status
Not open for further replies.

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
unrar inside the jail worked. I tried another file it download look to ran the script and then deleted it and went and downloaded it in transmission. Is that normal? Also why is it not moving the ones out of transmission?

I am using the newest freenas and the updated plugins if that makes helps
that behavior sounds like a failed download, either old or removed from the Usenet server.

by moving out of transmission, you mean processing the file after finishing downloading? this would only happen if you tell transmission to run a post processing script.

did you base your setup on my blog?
 

Allred

Dabbler
Joined
Oct 10, 2014
Messages
25
Im trying the movie you did in you video now to see what that one does.

Correct

I did base it off your blog settings
 

Allred

Dabbler
Joined
Oct 10, 2014
Messages
25
Ok I figured the issue with sab now I just have the torrent side. Where do I look to see why there not showing back in couch? If I do the manual search and point it to my torrent folder it adds them but still shows in transmission

Also where do I change to not let it seed?
 
Last edited:

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Ok I figured the issue with sab now I just have the torrent side. Where do I look to see why there not showing back in couch? If I do the manual search and point it to my torrent folder it adds them but still shows in transmission

Also where do I change to not let it seed?
check the logs in /usr/local/share/nzbToMedia, you should which should be moving the file, and removing it from transmission so it stops seeding.
the settings for that are in autoProcessMedia.cfg and CP's settings page, if you setup everything according to my blog it should remove it from transmission and not seed.
 

Allred

Dabbler
Joined
Oct 10, 2014
Messages
25
Here is my log file for one of the tv shows and a movie.

Guessing its this line ?
ERROR ::MAIN: Unable to locate a section with subsection:UNCAT enabled in your autoProcessMedia.cfg, exiting!
2015-01-08 04:41:35 ERROR ::MAIN: A problem was reported in the /usr/local/share/nzbToMedia/TorrentToMedia.py script.

#########################################################
2015-01-01 14:46:48 INFO ::MAIN: SEARCH: Found torrent file S18E01-Go Fund Yourself [AzF].mkv in input directory directory /mnt/media/downloads/transmission/complete/tv
2015-01-01 14:46:48 INFO ::MAIN: SEARCH: Setting inputDirectory to /mnt/media/downloads/transmission/complete/tv/S18E01-Go Fund Yourself [AzF].mkv
2015-01-01 14:46:48 INFO ::MAIN: Auto-detected SECTION:SickBeard
2015-01-01 14:46:53 INFO ::MAIN: Output directory set to: /abs/path/to/complete/tv/S18E01-Go Fund Yourself [AzF].mkv
2015-01-01 14:46:53 INFO ::MAIN: FLATTEN: Flattening directory: /abs/path/to/complete/tv/S18E01-Go Fund Yourself [AzF].mkv
2015-01-01 14:46:53 WARNING ::MAIN: Found no media files in /abs/path/to/complete/tv/S18E01-Go Fund Yourself [AzF].mkv
2015-01-01 14:46:53 INFO ::MAIN: Calling SickBeard:tv to post-process:S18E01-Go Fund Yourself [AzF].mkv
2015-01-01 14:46:53 INFO ::MAIN: Attempting to auto-detect tv fork
2015-01-01 14:46:53 INFO ::MAIN: SickBeard:tv fork auto-detection successful ...
2015-01-01 14:46:53 INFO ::MAIN: SickBeard:tv fork set to sickrage
2015-01-01 15:47:05 INFO ::MAIN: Loading config from [/usr/local/share/nzbToMedia/autoProcessMedia.cfg]
2015-01-01 15:47:05 INFO ::MAIN: Checking database structure...
2015-01-01 15:47:05 INFO ::MAIN: Checking if git needs an update
2015-01-01 15:47:06 INFO ::MAIN: No update needed
2015-01-01 15:47:06 INFO ::MAIN: nzbToMedia Version:ab24081e30171539d0b65283b62d87d0d6294a12 Branch:master (FreeBSD 9.3-RELEASE-p5)
2015-01-01 15:47:06 WARNING ::MAIN: Failed to locate 7zip. Transcosing of disk images and extraction of .7z files will not be possible!
2015-01-01 15:47:06 INFO ::MAIN: #########################################################
2015-01-01 15:47:06 INFO ::MAIN: ## ..::[TorrentToMedia.py]::.. ##
2015-01-01 15:47:06 INFO ::MAIN: #########################################################
2015-01-08 04:41:35 INFO ::MAIN: #########################################################
2015-01-08 04:41:35 INFO ::MAIN: SEARCH: Found torrent directory Twister.1996.1080p.BluRay.x264.DTS-ONe in input directory directory /mnt/media/downloads/transmission/complete
2015-01-08 04:41:35 INFO ::MAIN: SEARCH: Setting inputDirectory to /mnt/media/downloads/transmission/complete/Twister.1996.1080p.BluRay.x264.DTS-ONe
2015-01-08 04:41:35 ERROR ::MAIN: Unable to locate a section with subsection:UNCAT enabled in your autoProcessMedia.cfg, exiting!
2015-01-08 04:41:35 ERROR ::MAIN: A problem was reported in the /usr/local/share/nzbToMedia/TorrentToMedia.py script.
2015-01-08 05:01:15 INFO ::MAIN: Loading config from [/usr/local/share/nzbToMedia/autoProcessMedia.cfg]
2015-01-08 05:01:15 INFO ::MAIN: Checking database structure...
2015-01-08 05:01:15 INFO ::MAIN: Checking if git needs an update
2015-01-08 05:01:15 INFO ::MAIN: No update needed
2015-01-08 05:01:15 INFO ::MAIN: nzbToMedia Version:ab24081e30171539d0b65283b62d87d0d6294a12 Branch:master (FreeBSD 9.3-RELEASE-p5)
2015-01-08 05:01:15 WARNING ::MAIN: Failed to locate 7zip. Transcosing of disk images and extraction of .7z files will not be possible!
2015-01-08 05:01:16 INFO ::MAIN: #########################################################
2015-01-08 05:01:16 INFO ::MAIN: ## ..::[TorrentToMedia.py]::.. ##
2015-01-08 05:01:16 INFO ::MAIN: #########################################################
2015-01-08 05:01:16 INFO ::MAIN: SEARCH: Found torrent
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Here is my log file for one of the tv shows and a movie.

Guessing its this line ?
ERROR ::MAIN: Unable to locate a section with subsection:UNCAT enabled in your autoProcessMedia.cfg, exiting!
2015-01-08 04:41:35 ERROR ::MAIN: A problem was reported in the /usr/local/share/nzbToMedia/TorrentToMedia.py script.

#########################################################
2015-01-01 14:46:48 INFO ::MAIN: SEARCH: Found torrent file S18E01-Go Fund Yourself [AzF].mkv in input directory directory /mnt/media/downloads/transmission/complete/tv
2015-01-01 14:46:48 INFO ::MAIN: SEARCH: Setting inputDirectory to /mnt/media/downloads/transmission/complete/tv/S18E01-Go Fund Yourself [AzF].mkv
2015-01-01 14:46:48 INFO ::MAIN: Auto-detected SECTION:SickBeard
2015-01-01 14:46:53 INFO ::MAIN: Output directory set to: /abs/path/to/complete/tv/S18E01-Go Fund Yourself [AzF].mkv
2015-01-01 14:46:53 INFO ::MAIN: FLATTEN: Flattening directory: /abs/path/to/complete/tv/S18E01-Go Fund Yourself [AzF].mkv
2015-01-01 14:46:53 WARNING ::MAIN: Found no media files in /abs/path/to/complete/tv/S18E01-Go Fund Yourself [AzF].mkv
2015-01-01 14:46:53 INFO ::MAIN: Calling SickBeard:tv to post-process:S18E01-Go Fund Yourself [AzF].mkv
2015-01-01 14:46:53 INFO ::MAIN: Attempting to auto-detect tv fork
2015-01-01 14:46:53 INFO ::MAIN: SickBeard:tv fork auto-detection successful ...
2015-01-01 14:46:53 INFO ::MAIN: SickBeard:tv fork set to sickrage
2015-01-01 15:47:05 INFO ::MAIN: Loading config from [/usr/local/share/nzbToMedia/autoProcessMedia.cfg]
2015-01-01 15:47:05 INFO ::MAIN: Checking database structure...
2015-01-01 15:47:05 INFO ::MAIN: Checking if git needs an update
2015-01-01 15:47:06 INFO ::MAIN: No update needed
2015-01-01 15:47:06 INFO ::MAIN: nzbToMedia Version:ab24081e30171539d0b65283b62d87d0d6294a12 Branch:master (FreeBSD 9.3-RELEASE-p5)
2015-01-01 15:47:06 WARNING ::MAIN: Failed to locate 7zip. Transcosing of disk images and extraction of .7z files will not be possible!
2015-01-01 15:47:06 INFO ::MAIN: #########################################################
2015-01-01 15:47:06 INFO ::MAIN: ## ..::[TorrentToMedia.py]::.. ##
2015-01-01 15:47:06 INFO ::MAIN: #########################################################
2015-01-08 04:41:35 INFO ::MAIN: #########################################################
2015-01-08 04:41:35 INFO ::MAIN: SEARCH: Found torrent directory Twister.1996.1080p.BluRay.x264.DTS-ONe in input directory directory /mnt/media/downloads/transmission/complete
2015-01-08 04:41:35 INFO ::MAIN: SEARCH: Setting inputDirectory to /mnt/media/downloads/transmission/complete/Twister.1996.1080p.BluRay.x264.DTS-ONe
2015-01-08 04:41:35 ERROR ::MAIN: Unable to locate a section with subsection:UNCAT enabled in your autoProcessMedia.cfg, exiting!
2015-01-08 04:41:35 ERROR ::MAIN: A problem was reported in the /usr/local/share/nzbToMedia/TorrentToMedia.py script.
2015-01-08 05:01:15 INFO ::MAIN: Loading config from [/usr/local/share/nzbToMedia/autoProcessMedia.cfg]
2015-01-08 05:01:15 INFO ::MAIN: Checking database structure...
2015-01-08 05:01:15 INFO ::MAIN: Checking if git needs an update
2015-01-08 05:01:15 INFO ::MAIN: No update needed
2015-01-08 05:01:15 INFO ::MAIN: nzbToMedia Version:ab24081e30171539d0b65283b62d87d0d6294a12 Branch:master (FreeBSD 9.3-RELEASE-p5)
2015-01-08 05:01:15 WARNING ::MAIN: Failed to locate 7zip. Transcosing of disk images and extraction of .7z files will not be possible!
2015-01-08 05:01:16 INFO ::MAIN: #########################################################
2015-01-08 05:01:16 INFO ::MAIN: ## ..::[TorrentToMedia.py]::.. ##
2015-01-08 05:01:16 INFO ::MAIN: #########################################################
2015-01-08 05:01:16 INFO ::MAIN: SEARCH: Found torrent
hmm, im guessing something is weird with your autoProcessMedia.cfg. I suggest you delete it, copy the autoProcessMedia.cfg.spec file again. and edit it per my blog post.
 

Allred

Dabbler
Joined
Oct 10, 2014
Messages
25
Ok did the above. Tried another file it didnt remove it looked in log same error

2015-01-08 15:29:47 ERROR ::MAIN: Unable to locate a section with subsection:UNCAT enabled in your autoProcessMedia.cfg, exiting!
2015-01-08 15:29:47 ERROR ::MAIN: A problem was reported in the /usr/local/share/nzbToMedia/TorrentToMedia.py script.

Here is my cfg file see anything that looks wrong?

[Torrent]
###### clientAgent - Supported clients: utorrent, transmission, deluge, rtorrent, vuze, other
clientAgent = transmission
###### useLink - Set to hard for physical links, sym for symbolic links, move to move, and no to not use links (copy)
useLink = move
###### outputDirectory - Default output directory (categories will be appended as sub directory to outputDirectory)
outputDirectory = /mnt/media/downloads/transmission/complete
###### Enter the default path to your default download directory (non-category downloads). this directory is protected by safe_mode.
default_downloadDirectory = ""
###### Other categories/labels defined for your downloader. Does not include CouchPotato, SickBeard, HeadPhones, Mylar categories.
categories = music_videos, pictures, software, manual
###### A list of categories that you don't want to be flattened (i.e preserve the directory structure when copying/linking.
noFlatten = pictures, manual
###### uTorrent Hardlink solution (You must edit this if your using TorrentToMedia.py with uTorrent)
uTorrentWEBui = http://localhost:8090/gui/
uTorrentUSR = your username
uTorrentPWD = your password
###### Transmission (You must edit this if your using TorrentToMedia.py with uTorrent)
TransmissionHost = localhost
TransmissionPort = 9091
TransmissionUSR = your username
TransmissionPWD = your password
#### 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)
DelugeHost = localhost
DelugePort = 58846
DelugeUSR = your username
DelugePWD = your password
###### ADVANCED USE - ONLY EDIT IF YOU KNOW WHAT YOU'RE DOING ######
deleteOriginal = 1
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Ok did the above. Tried another file it didnt remove it looked in log same error

2015-01-08 15:29:47 ERROR ::MAIN: Unable to locate a section with subsection:UNCAT enabled in your autoProcessMedia.cfg, exiting!
2015-01-08 15:29:47 ERROR ::MAIN: A problem was reported in the /usr/local/share/nzbToMedia/TorrentToMedia.py script.

Here is my cfg file see anything that looks wrong?

[Torrent]
###### clientAgent - Supported clients: utorrent, transmission, deluge, rtorrent, vuze, other
clientAgent = transmission
###### useLink - Set to hard for physical links, sym for symbolic links, move to move, and no to not use links (copy)
useLink = move
###### outputDirectory - Default output directory (categories will be appended as sub directory to outputDirectory)
outputDirectory = /mnt/media/downloads/transmission/complete
###### Enter the default path to your default download directory (non-category downloads). this directory is protected by safe_mode.
default_downloadDirectory = ""
###### Other categories/labels defined for your downloader. Does not include CouchPotato, SickBeard, HeadPhones, Mylar categories.
categories = music_videos, pictures, software, manual
###### A list of categories that you don't want to be flattened (i.e preserve the directory structure when copying/linking.
noFlatten = pictures, manual
###### uTorrent Hardlink solution (You must edit this if your using TorrentToMedia.py with uTorrent)
uTorrentWEBui = http://localhost:8090/gui/
uTorrentUSR = your username
uTorrentPWD = your password
###### Transmission (You must edit this if your using TorrentToMedia.py with uTorrent)
TransmissionHost = localhost
TransmissionPort = 9091
TransmissionUSR = your username
TransmissionPWD = your password
#### 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)
DelugeHost = localhost
DelugePort = 58846
DelugeUSR = your username
DelugePWD = your password
###### ADVANCED USE - ONLY EDIT IF YOU KNOW WHAT YOU'RE DOING ######
deleteOriginal = 1
do you have the [[UNCAT]] section in autoProcessMedia.cfg.spec?
 

Allred

Dabbler
Joined
Oct 10, 2014
Messages
25
Here it is. For it not to seed do you set any of the seeding to zero in either the plugin in freenas or the web gui? I did find a setting in CP that was wrong and correct it and got this in the log but still not moving it but think getting closer



[UserScript]
#Use user_script for uncategorized downloads
#Set the categories to use external script.
#Use "UNCAT" to process non-category downloads, and "ALL" for all defined categories.
[[UNCAT]]
#Enable/Disable this subsection category
enabled = 0
Torrent_NoLink = 0
extract = 1
#Enable if you are sending commands to a remote server for this category
remote_path = 0
#What extension do you want to process? Specify all the extension, or use "ALL" to process all files.
user_script_mediaExtensions = .mkv, .avi, .divx, .xvid, .mov, .wmv, .mp4, .mpg, .mpeg
#Specify the path to your custom script. Use "None" if you wish to link this category, but NOT run any external script.
user_script_path = /nzbToMedia/userscripts/script.sh
#Specify the argument(s) passed to script, comma separated in order.
#for example FP,FN,DN, TN, TL for file path (absolute file name with path), file name, absolute directory name (with path), Torrent Name, Torrent Label/Category.
#So the result is /media/test/script/script.sh FP FN DN TN TL. Add other arguments as needed eg -f, -r
user_script_param = FN
#Set user_script_runOnce = 0 to run for each file, or 1 to only run once (presumably on teh entire directory).
user_script_runOnce = 0
#Specify the successcodes returned by the user script as a comma separated list. Linux default is 0
user_script_successCodes = 0
#Clean after? Note that delay function is used to prevent possible mistake :) Delay is intended as seconds
user_script_clean = 1
delay = 120
#Unique path (directory) created for every download. set 0 to disable.
unique_path = 1
##### Set to path where download client places completed downloads locally for this category
watch_dir = ""

LOG

2015-01-08 16:26:35 INFO ::MAIN: Loading config from [/usr/local/share/nzbToMedia/autoProcessMedia.cfg]
2015-01-08 16:26:35 INFO ::MAIN: Checking database structure...
2015-01-08 16:26:35 INFO ::MAIN: Checking if git needs an update
2015-01-08 16:26:36 INFO ::MAIN: No update needed
2015-01-08 16:26:36 INFO ::MAIN: nzbToMedia Version:ab24081e30171539d0b65283b62d87d0d6294a12 Branch:master (FreeBSD 9.3-RELEASE-p5)
2015-01-08 16:26:36 WARNING ::MAIN: Failed to locate 7zip. Transcosing of disk images and extraction of .7z files will not be possible!
2015-01-08 16:26:36 INFO ::MAIN: #########################################################
2015-01-08 16:26:36 INFO ::MAIN: ## ..::[TorrentToMedia.py]::.. ##
2015-01-08 16:26:36 INFO ::MAIN: #########################################################
2015-01-08 16:26:37 INFO ::MAIN: SEARCH: Found torrent directory National Lampoon's Christmas Vacation (1989) in input directory directory /mnt/media/downloads/transmission/complete/movie
2015-01-08 16:26:37 INFO ::MAIN: SEARCH: Setting inputDirectory to /mnt/media/downloads/transmission/complete/movie/National Lampoon's Christmas Vacation (1989)
2015-01-08 16:26:37 INFO ::MAIN: Auto-detected SECTION:CouchPotato
2015-01-08 16:26:42 INFO ::MAIN: Output directory set to: /mnt/media/downloads/transmission/complete/movie/National Lampoon's Christmas Vacation (1989)
2015-01-08 16:26:42 WARNING ::MAIN: EXTRACTOR: Cannot determine which tool to use when called from Transmission
2015-01-08 16:26:42 INFO ::MAIN: Extracting /mnt/media/downloads/transmission/complete/movie/National Lampoon's Christmas Vacation (1989)/Subtitles.rar to /mnt/media/downloads/transmission/complete/movie/National Lampoon's Christmas Vacation (1989)
2015-01-08 16:26:42 INFO ::MAIN: EXTRACTOR: Extraction was successful for /mnt/media/downloads/transmission/complete/movie/National Lampoon's Christmas Vacation (1989)/Subtitles.rar to /mnt/media/downloads/transmission/complete/movie/National Lampoon's Christmas Vacation (1989)
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Here it is. For it not to seed do you set any of the seeding to zero in either the plugin in freenas or the web gui? I did find a setting in CP that was wrong and correct it and got this in the log but still not moving it but think getting closer



[UserScript]
#Use user_script for uncategorized downloads
#Set the categories to use external script.
#Use "UNCAT" to process non-category downloads, and "ALL" for all defined categories.
[[UNCAT]]
#Enable/Disable this subsection category
enabled = 0
Torrent_NoLink = 0
extract = 1
#Enable if you are sending commands to a remote server for this category
remote_path = 0
#What extension do you want to process? Specify all the extension, or use "ALL" to process all files.
user_script_mediaExtensions = .mkv, .avi, .divx, .xvid, .mov, .wmv, .mp4, .mpg, .mpeg
#Specify the path to your custom script. Use "None" if you wish to link this category, but NOT run any external script.
user_script_path = /nzbToMedia/userscripts/script.sh
#Specify the argument(s) passed to script, comma separated in order.
#for example FP,FN,DN, TN, TL for file path (absolute file name with path), file name, absolute directory name (with path), Torrent Name, Torrent Label/Category.
#So the result is /media/test/script/script.sh FP FN DN TN TL. Add other arguments as needed eg -f, -r
user_script_param = FN
#Set user_script_runOnce = 0 to run for each file, or 1 to only run once (presumably on teh entire directory).
user_script_runOnce = 0
#Specify the successcodes returned by the user script as a comma separated list. Linux default is 0
user_script_successCodes = 0
#Clean after? Note that delay function is used to prevent possible mistake :) Delay is intended as seconds
user_script_clean = 1
delay = 120
#Unique path (directory) created for every download. set 0 to disable.
unique_path = 1
##### Set to path where download client places completed downloads locally for this category
watch_dir = ""

LOG

2015-01-08 16:26:35 INFO ::MAIN: Loading config from [/usr/local/share/nzbToMedia/autoProcessMedia.cfg]
2015-01-08 16:26:35 INFO ::MAIN: Checking database structure...
2015-01-08 16:26:35 INFO ::MAIN: Checking if git needs an update
2015-01-08 16:26:36 INFO ::MAIN: No update needed
2015-01-08 16:26:36 INFO ::MAIN: nzbToMedia Version:ab24081e30171539d0b65283b62d87d0d6294a12 Branch:master (FreeBSD 9.3-RELEASE-p5)
2015-01-08 16:26:36 WARNING ::MAIN: Failed to locate 7zip. Transcosing of disk images and extraction of .7z files will not be possible!
2015-01-08 16:26:36 INFO ::MAIN: #########################################################
2015-01-08 16:26:36 INFO ::MAIN: ## ..::[TorrentToMedia.py]::.. ##
2015-01-08 16:26:36 INFO ::MAIN: #########################################################
2015-01-08 16:26:37 INFO ::MAIN: SEARCH: Found torrent directory National Lampoon's Christmas Vacation (1989) in input directory directory /mnt/media/downloads/transmission/complete/movie
2015-01-08 16:26:37 INFO ::MAIN: SEARCH: Setting inputDirectory to /mnt/media/downloads/transmission/complete/movie/National Lampoon's Christmas Vacation (1989)
2015-01-08 16:26:37 INFO ::MAIN: Auto-detected SECTION:CouchPotato
2015-01-08 16:26:42 INFO ::MAIN: Output directory set to: /mnt/media/downloads/transmission/complete/movie/National Lampoon's Christmas Vacation (1989)
2015-01-08 16:26:42 WARNING ::MAIN: EXTRACTOR: Cannot determine which tool to use when called from Transmission
2015-01-08 16:26:42 INFO ::MAIN: Extracting /mnt/media/downloads/transmission/complete/movie/National Lampoon's Christmas Vacation (1989)/Subtitles.rar to /mnt/media/downloads/transmission/complete/movie/National Lampoon's Christmas Vacation (1989)
2015-01-08 16:26:42 INFO ::MAIN: EXTRACTOR: Extraction was successful for /mnt/media/downloads/transmission/complete/movie/National Lampoon's Christmas Vacation (1989)/Subtitles.rar to /mnt/media/downloads/transmission/complete/movie/National Lampoon's Christmas Vacation (1989)
well since you do have the uncat section I'm not sure what's going on (thats what the log complained about). I you feel everything is set correctly I would ask on the nzbToMedia section of the SickRage forums, or file a bug on the nzbToMedia github.

you don't need to set those seeding options. the way I have it perscribed torrents are deleted from transmission during postprocessing. you just need post-processing to work.
 

Allred

Dabbler
Joined
Oct 10, 2014
Messages
25
Ok yeah I think its all set correct now just not processing. I was missing the movie on the end of below in downloads in CP causing the UNCAT error. Ill head over to nzbtomedia and see if they can help. Thanks for you time.
  • Directory = /mnt/media/downloads/transmission/complete/movie/
 

sessus

Dabbler
Joined
Jul 2, 2013
Messages
17
Hey,

recently updated from 9.2 to 9.3 and noticed that you can't just create a jail (from: http://download.freenas.org/latest/RELEASE/x64/jails/freenas-pluginjail-9.3-RELEASE.tgz) and add plugins to it anymore. Instead you have to install e.g. sabnzbd first and then add all the other plugins to the created jail. I suppose the downside is that you can't name your own jail that way. This is really just a minor issue, but is there a way around it?
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Hey,

recently updated from 9.2 to 9.3 and noticed that you can't just create a jail (from: http://download.freenas.org/latest/RELEASE/x64/jails/freenas-pluginjail-9.3-RELEASE.tgz) and add plugins to it anymore. Instead you have to install e.g. sabnzbd first and then add all the other plugins to the created jail. I suppose the downside is that you can't name your own jail that way. This is really just a minor issue, but is there a way around it?
Not that I know of =/
 

Biggeek

Dabbler
Joined
Dec 26, 2013
Messages
40
Ok yeah I think its all set correct now just not processing. I was missing the movie on the end of below in downloads in CP causing the UNCAT error. Ill head over to nzbtomedia and see if they can help. Thanks for you time.
  • Directory = /mnt/media/downloads/transmission/complete/movie/
I've had the exact same problem. Been too busy to dive into it. I may try to figure it out this week. If you do I'd love to hear.
 

Biggeek

Dabbler
Joined
Dec 26, 2013
Messages
40
Hey,

recently updated from 9.2 to 9.3 and noticed that you can't just create a jail (from: http://download.freenas.org/latest/RELEASE/x64/jails/freenas-pluginjail-9.3-RELEASE.tgz) and add plugins to it anymore. Instead you have to install e.g. sabnzbd first and then add all the other plugins to the created jail. I suppose the downside is that you can't name your own jail that way. This is really just a minor issue, but is there a way around it?

This is the new behavior for 9.3
Here is an old post about it.

https://forums.freenas.org/index.php?threads/discussion-linux-jails-do-you-use-them.22449/
 

malum-in-se

Dabbler
Joined
Nov 6, 2014
Messages
19
Hello I have a few questions that I was hoping you could help me with. I can only imagine the amount of time for free the developers continually put into these projects, I imagine it's often thankless, so I appreciate anyone taking the time to answer some of these questions. As I value your time I've spent about 20 hours reading and researching before posting this.

I currently running a 6x3TB raidz2 on a x10sl7-f. I ran a small Freenas UFS array for a few years, but am completing the configuration of my new build. My jail will sit on a 60gig SSD. I currently had a large media library on my array. I've always run SB\SAB\Couch Potato from my desktop and then copied to my NAS.

My goal is to have SAB\CP\SR all run on my NAS, in a jail. I have no problem doing this the traditional way, all installing into seperate jails. My current big goal is to have them all in one jail (it makes the post and communication simplier) and then once those files are downloaded and renamed, automatically placed into the proper folders and sub folders in my large media library. The library currently is clean and conforms to the renaming scripts conventions. My questions are as follows:

1. The original jruehlig guide for installing everything in one jail and with his plugins scripts, originally was created in 2013.
a. what is the most current repository for plug ins that are FN9.3 compatible?
b. there are several different versions of the installment guide on the internet. Where are the most current instructions located? (I know where your blog is and understand you link it.
c. are those instructions FN9.3 compatible, and if not, where is the most up to date and current addendum that needs to considered?

2. Permissions so that they sorters can copy to the media library, while maintaining some level of security for other users seems to be a large sticking point for most people.
a. just so I understand, I am not to change ANY permissions within the jail on 9.3? I am to create the media:media ID/GP with ID 816 On my FN and outside of the jail, and give that read\write\execute on my media library. I mount that to storage within the jail. But I do not need to change permissions or ownership within the jail?
b. from a security standpoint, as that user is not password protected, are there concerns about someone gaining access to my library and spoofing that user or group?

3. Are the plugins from the Freenas gui, the same as the jreuhlig plug-ins, or is it a different fork?



Thank you for your time,
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
@malum-in-se
thank you for taking time to read and follow things as best as possible.

1a) all plugins in the official repo are compatible with all 9.X versions
b/c) my blog is exactly what I use, it is regularly updated and is up-to-date with FN9.3

2a) my current blog post has permission(actually ownership) set in the jail, the 'chown' step. no user creation is needed on the host, but that still might be useful for other scenarios (CIFS access).

you basically don't want to change permissions/ownership of the entire jail dataset, these are OS and application files that should be left alone. the only permissions/ownership you should be changing is for datasets that are mounted into the jail. this is exactly what my blog post does, it only touches /mnt/media

b) I don't see any security concern. the media user only exists on the jail which doesn't have ssh enabled, and it's shell is 'nologin' so you can't even get on the command line as this user. it's combining this with sharing protocols(CIFS/NFS) that requires more thought.

3) the plugins I link in my blog are just pointing to the official repo. I do not maintain a fork from the official plugins. I only have you download the PBIs cause that's the only way to upload them to the same jail.
 

neto_hugo

Explorer
Joined
Mar 6, 2012
Messages
87
guys a little help ... a very simple question

Before I updated all my jail, within the SR I could to check on the progress of torrents clicking on: 'Manage Torrents' and it worked quite well !!

Now it seems that the Transmision is refusing the connection, probably for reasons of permissions.

Someone could tell me where is the problem?
Thanks!
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
guys a little help ... a very simple question

Before I updated all my jail, within the SR I could to check on the progress of torrents clicking on: 'Manage Torrents' and it worked quite well !!

Now it seems that the Transmision is refusing the connection, probably for reasons of permissions.

Someone could tell me where is the problem?
Thanks!
I don't think it's a file permission issue, probably an authentication/communication issue. I know someone else was having issues with recent versions of SR and transmission, at least during script post-processing.

maybe post on the SR forums or file a bug at the github page.
 

malum-in-se

Dabbler
Joined
Nov 6, 2014
Messages
19
@malum-in-se


2a) my current blog post has permission(actually ownership) set in the jail, the 'chown' step. no user creation is needed on the host, but that still might be useful for other scenarios (CIFS access).

you basically don't want to change permissions/ownership of the entire jail dataset, these are OS and application files that should be left alone. the only permissions/ownership you should be changing is for datasets that are mounted into the jail. this is exactly what my blog post does, it only touches /mnt/media

b) I don't see any security concern. the media user only exists on the jail which doesn't have ssh enabled, and it's shell is 'nologin' so you can't even get on the command line as this user. it's combining this with sharing protocols(CIFS/NFS) that requires more thought.

Thanks Joshua, I appreciate the quick response. I have hard time getting back to team members at work on that quick of a turn around, I'm still amazed at the level and speed of support of non-compensated devs.

I like to understand conceptually what's going on, as it allows me to tinker and better understand my system, as opposed to just banging keys into the shell and then coming running to forums and expect others to clean it up. So I'm sorry if this is a basic question, but understanding would help me greatly.

Above under 2a you mention that "in the jail" you change the mount point permissions with chown. I get that within the jail, I change the permissions on where I've mounted my media library. My confusion stems from the next sentence where you say "the only permissions/ownership... is for datasets that are mounted into the jail". Maybe it's the wording. So I have my media library. Completely independent and exists before I even create a jail. That zfs "data set" has its own permissions, right now its root/wheel 775. Now when I create a jail, I mount that dataset via "add storage" (or command line) into a location on my jail. Now my isolated jail can interact with my big media library via that mount. That mount point within the jail has it's own set of permissions within the jail. This part is new to me: (1) I'm not sure if that mount point inherits my media library permissions, or if when I change them it creates it's own set of permissions only within the jail? (2) Does this affect the original root/wheel permissions outside of the jail, after I change the permissions within the jail? (3) When I create the media:media user/group, I'm only creating it in the jail, and not on the larger freenas system?

After hours of reading on here I know some people bristle whenever anyone asks about permission, so I appreciate any light you can shine on it to help with my understanding.

(4) In 2(b) you mention with Cifs shares, security related to your configuration requires some examination. Would you care to elaborate on that. I have a mixture of windows (a folder for my wife's projects), and openelec boxes that access my NAS, and creating a system that my wife or someone more nefarious can't break, is a real concern.

(5) Before I posted I was looking at my media library data set permissions outside of the jail, and noticed the box had checked "windows" for permission type. My set up is a mixture of windows boxes and some openelec boxes. On my old system it always said "Unix" and I managed all windows permissions through the cifs share. In setting up stuff from my wife, I think I may have inadvertently had my freeNAS inherit permissions from windows. Would have the windows for permissions type affect the post processing and the jail? Ultimately I will set it back to unix, but as the chief IT officer of my house hold, I'd rather not mess up the family stuff while I build and configure the jail.

Thanks again for your time and insight,
 
Status
Not open for further replies.
Top