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

Status
Not open for further replies.

rawkus

Explorer
Joined
Feb 13, 2014
Messages
69
Thanks for the link i will give it a read through. I have been reading the forums for some time and finally encountered a problem that required i join and submit a question. When you talk about how you resolved your problem are you saying you need to modify both the autoprocess tv.cfg and sabtosickbeard.py. I should modify autoprocesstv.cfg and change the port to direct to sickbeard and then modify sabtosickbeard.py to /usr/pbi/sabnzbd-amd64/bin/python. DId you also run the pkg install python that josh was talking about?
 

shmixx

Dabbler
Joined
Dec 30, 2013
Messages
37
Thanks for the link i will give it a read through. I have been reading the forums for some time and finally encountered a problem that required i join and submit a question. When you talk about how you resolved your problem are you saying you need to modify both the autoprocess tv.cfg and sabtosickbeard.py. I should modify autoprocesstv.cfg and change the port to direct to sickbeard and then modify sabtosickbeard.py to /usr/pbi/sabnzbd-amd64/bin/python. DId you also run the pkg install python that josh was talking about?

Yes and Yes.

sabToSickBeard.py - modify the location at the top of the script to /usr/pbi/sabnzbd-amd64/bin/python (assuming you have an x64 jail) - this will fix the problem with the script not running

autoProcessTv.cfg - make sure to put the correct info for your SickBeard access (port, user/pass, etc). I was blindly putting in my SABnzbd info, and this is why I was also having an issue after getting the script to successfully run, but failing to actually rename and move the files.
 

rawkus

Explorer
Joined
Feb 13, 2014
Messages
69
Thanks so much. Excited to get home and try this. It has been fun trying to learn Freenas but this last hurdle has had me pulling some late nights:mad:. Im sure this won't be the last issue i have to encounter but thats the fun of learning new things.
 

rawkus

Explorer
Joined
Feb 13, 2014
Messages
69
Forgot to ask. did you run the pkg install python that Josh was talking about to install python meta package in the jails?
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
my guide should be complete by next Tuesday-Wednesday. in all of my testing editing the python path isn't necessary if you just install python.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
my guide should be complete by next Tuesday-Wednesday. in all of my testing editing the python path isn't necessary if you just install python.
 

rawkus

Explorer
Joined
Feb 13, 2014
Messages
69
installed python (i think) via this method
install python through shell via
1) Enter the jail (using SSH as root)
# jls
# jexec [#] csh
2) Install Python
# pkg_add -v -r python27


error persists
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
installed python (i think) via this method
install python through shell via
1) Enter the jail (using SSH as root)
# jls
# jexec [#] csh
2) Install Python
# pkg_add -v -r python27


error persists
you're installing python2.7 not python.
 

Pouper

Dabbler
Joined
Jan 15, 2014
Messages
43
installed python (i think) via this method
install python through shell via
1) Enter the jail (using SSH as root)
# jls
# jexec [#] csh
2) Install Python
# pkg_add -v -r python27


error persists


And its pkg install, not pkg_add.
 

rawkus

Explorer
Joined
Feb 13, 2014
Messages
69
When i use pkg install i get command not found. After searching the forums/ google i can't find anywhere detailing how to instal python into a jail or could you point me in the right direction or post a quick how to for a new user?
 

antkappa

Dabbler
Joined
Jan 25, 2013
Messages
11
Sorry for the questions, I know little about linux.

Is it as simple as ssh into the jail and typing 'pkg install python' and python will install as required?

If so I'm comfortable doing this instead of editing the script file.
 

rawkus

Explorer
Joined
Feb 13, 2014
Messages
69
shmixx,
when i try to edit the sabtosickbeard.py file accessed through the mapped drive it doesn't allow me to save changes. message says i don't have permission.
permissions for my main storage drive (mnt/freenas) are
owner(user) root
owner (group) wheel
all boxes checked

mnt/freenas/Jails
owner(user) root
owner (group) wheel
has all boxes except group write and other write checked
not sure if these should be checked or not
 

Pouper

Dabbler
Joined
Jan 15, 2014
Messages
43
When i use pkg install i get command not found. After searching the forums/ google i can't find anywhere detailing how to instal python into a jail or could you point me in the right direction or post a quick how to for a new user?

I just said that there are issues in my previous post. If you searched this very forum, you would have found this post:

http://forums.freenas.org/index.php?threads/18319/
 

Pouper

Dabbler
Joined
Jan 15, 2014
Messages
43
shmixx,
when i try to edit the sabtosickbeard.py file accessed through the mapped drive it doesn't allow me to save changes. message says i don't have permission.
permissions for my main storage drive (mnt/freenas) are
owner(user) root
owner (group) wheel
all boxes checked

mnt/freenas/Jails
owner(user) root
owner (group) wheel
has all boxes except group write and other write checked
not sure if these should be checked or not

Why are you editing through a mapped drive? Use nano or vi to edit through shell or ssh. Your permissions will be a nightmare
 
Status
Not open for further replies.
Top