SABnzbd + Sick Beard doesn't work

Status
Not open for further replies.

Josje92

Cadet
Joined
Feb 13, 2014
Messages
6
I've installed FreeNAS 9.2.0 for the main use of SABnzbd and Sick Beard.
I can download without problems, but SB's postprocessing-script doesn't work as it should.

I've pasted the postprocessing-directory from SB to the sabnzb folder (/usr/pbi/sabnzbd-amd64/share/sabnzbd/SABnzbd/)
After that, I changed autoProcess.cfg to match the correct SB user/password/server.


It looks like I've done everything right, but I get the following error:

Cannot run script /usr/pbi/sabnzbd-amd64/share/sabnzbd/SABnzbd/postprocessing/sabToSickBeard.py

According to another forum, I had to change the permissions for sabToSickBeard.py and the folders it should manage, so I did.

Now the following error was showed after a download:

env: python: No such file or directory

I've read that I had to change the first line of sabToSickBeard.py to a correct directory for the 'env'-file.

After that, the script again returns the first error, and I can't tell where it comes from.
Cannot run script /usr/pbi/sabnzbd-amd64/share/sabnzbd/SABnzbd/postprocessing/sabToSickBeard.py

Any suggestions anyone?
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
We don't support the pluins themselves here unless it validated to be a FreeNAS problem. You might want to go ask the forum/IRC of those programs.
 

Josje92

Cadet
Joined
Feb 13, 2014
Messages
6
I understand, but maybe it had to do something with my jail settings or permissions - which is FreeNAS ;)
 

Josje92

Cadet
Joined
Feb 13, 2014
Messages
6
Problem solved!
In FreeNAS 9.2.0 you need to configure the python location in sabToSickBeard.py to #!/usr/local/bin/python2.7.
Also copy autoProcessTV.py to the scripts folder.

Give all the .py files the right permissions, and you're done!
 

jarge11

Dabbler
Joined
Mar 13, 2014
Messages
20
What is the exact location of the "scripts" folder you are referring to.
And what are the "right permissions" ?
 

tmacka88

Patron
Joined
Jul 5, 2011
Messages
268
What is the exact location of the "scripts" folder you are referring to.
And what are the "right permissions" ?

the scripts folder is created by you. It can really be named anything, but makes sense named "scripts". Depending which version of the plugin your running (I running the latest 0.7.18) then I put it in the
/var/db/sabnzbd
folder.

Within the scripts folder copy all the files across from the sickbeard post processing folder located jails/sickbeard_1/usr/pbi/sickbeard-amd64/share/sickbeard/Sick-Beard/autoProcessTV

Now in Terminal/putty or shell from within gui. Type :
Code:
jls


and you should get something like this:
Code:
username@FreeNAS:~ % jls
   JID  IP Address      Hostname                      Path
     2  -               sabnzbd_1                     /mnt/Volume4/jails/sabnzbd_1
     3  -               sickbeard_1                   /mnt/Volume4/jails/sickbeard_1


Then type:
Code:
jexec 2 csh

(2 refers to SAB)

Then give our scripts folder 777 permissions. I just give everything in the parent folder 777 by:
Code:
chmod -R 777 /var/db/sabnzbd


That should work
 
Status
Not open for further replies.
Top