[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

Savell Martin

Contributor
Joined
Jun 10, 2013
Messages
164
Awesome :)

Thanks dude

I've been holding off on installing all the packages as I want to do it right and once.
 

shmixx

Dabbler
Joined
Dec 30, 2013
Messages
37
Josh - as an FYI, just updated to 9.2.1 RC2 which solved an issue I was having creating the core jail (which I'm calling media_1) for this combined box. When I loaded in all the PBI's it went perfectly. The only funky thing, is I notice in the Plugin interface, Maraschino has an update button. I tried clicking it assuming perhaps there was a 2.1 release (to match the others), but it updated to 1.0. Not sure if you're aware but it looks like it's marking your version outdated?
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Josh - as an FYI, just updated to 9.2.1 RC2 which solved an issue I was having creating the core jail (which I'm calling media_1) for this combined box. When I loaded in all the PBI's it went perfectly. The only funky thing, is I notice in the Plugin interface, Maraschino has an update button. I tried clicking it assuming perhaps there was a 2.1 release (to match the others), but it updated to 1.0. Not sure if you're aware but it looks like it's marking your version outdated?
I guess it just replaced the installed version with the one from the repo. I don't support updating until I get some documentation on what's happening.
 

shmixx

Dabbler
Joined
Dec 30, 2013
Messages
37
Ya I figured that's all it did. I was just confused because this was from within the FreeNAS interface and it actually went backwards. Not sure if there is something in your version that perhaps wasn't flagging properly inside the FreeNAS system as being a newer version. No other plugin has the update button in the FreeNAS interface, only the Maraschino one. Just seemed odd that only one plugin managed to show the button and then send it back to V1 instead of the v2.0 that you had it labeled as.
 

antkappa

Dabbler
Joined
Jan 25, 2013
Messages
11
Hey everyone,

I've got a problem with SAB running the sabtosickbeard script. I'm getting the error ...
Code:
Cannot run script /usr/pbi/sickbeard-amd64/SickBeard/autoProcessTV/sabToSickBeard.py


I can manually process files through Sickbeard, but SAB won't. Permissions seem ok (777).

At first I had an issue with ...
Code:
env: python: No such file or directory


but that's now working with the fix someone posted by editing the script file first line to ...
Code:
#!/usr/local/bin/python


Any help would be appreciated :)

Thanks

edit: debug log ...

Code:
2014-02-08 21:15:34,232::DEBUG::[newsunpack:151] Failed script /usr/pbi/sickbeard-amd64/SickBeard/autoProcessTV/sabToSickBeard.py, Traceback:
Traceback (most recent call last):
  File "/usr/pbi/sabnzbdplus-amd64/lib/python2.7/site-packages/sabnzbd/newsunpack.py", line 149, in external_processing
    startupinfo=stup, env=env, creationflags=creationflags)
  File "/usr/pbi/sabnzbdplus-amd64/lib/python2.7/subprocess.py", line 711, in __init__
    errread, errwrite)
  File "/usr/pbi/sabnzbdplus-amd64/lib/python2.7/subprocess.py", line 1308, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
 

antkappa

Dabbler
Joined
Jan 25, 2013
Messages
11
I've re-done my jail and plugins many times now and still having the same issue :(

This is all with a fresh 9.2 install (now running 9.2.1).

If no one else is having the same problems then I must be doing something wrong.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
I've re-done my jail and plugins many times now and still having the same issue :(

This is all with a fresh 9.2 install (now running 9.2.1).

If no one else is having the same problems than I must be doing something wrong.
I believe your posting about a different plugin, the one created before this one. sabnzbdplus is not the same plugin as sabnzbd.
 

antkappa

Dabbler
Joined
Jan 25, 2013
Messages
11
Thanks for the reply.

Yes sorry at first I was using different pbi files to this thread. So I have since re-done my jail and used the pbi's linked in this thread and I'm having the same issue :(

I'm sure it's user error I just can't figure it out.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Thanks for the reply.

Yes sorry at first I was using different pbi files to this thread. So I have since re-done my jail and used the pbi's linked in this thread and I'm having the same issue :(

I'm sure it's user error I just can't figure it out.
I'll be taking a look in the next few days and will see if I can reproduce your problem.
 

shmixx

Dabbler
Joined
Dec 30, 2013
Messages
37
Noticed an issue with the CouchPotato search function inside Maraschino. Is anyone else seeing the same results? I created the jail myself (titled media_1) and then added in the plugins from Josh. Everything is working well, but unfortunately the Search function on the CouchPotato module seems broken. Every search I type in comes back with a movie title of Undefined with a date of Oct 21 2006. This comes back for EVERY search I type in. So I'm hoping some people have seen this as well.
 

shmixx

Dabbler
Joined
Dec 30, 2013
Messages
37
Ok, scratch that. It seems to work now after I got a message about my Maraschino version begin a few commits behind. I updated, and working perfectly now!!!
 

shmixx

Dabbler
Joined
Dec 30, 2013
Messages
37
Hey everyone,

I've got a problem with SAB running the sabtosickbeard script. I'm getting the error ...
Code:
Cannot run script /usr/pbi/sickbeard-amd64/SickBeard/autoProcessTV/sabToSickBeard.py


I can manually process files through Sickbeard, but SAB won't. Permissions seem ok (777).

At first I had an issue with ...
Code:
env: python: No such file or directory


but that's now working with the fix someone posted by editing the script file first line to ...
Code:
#!/usr/local/bin/python


I'm stuck in the same situation now. I was so close I could taste it!! Made the appropriate path change in the file for Python and then got the same error back again about Cannot run script. Any ideas anyone?
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
I'm stuck in the same situation now. I was so close I could taste it!! Made the appropriate path change in the file for Python and then got the same error back again about Cannot run script. Any ideas anyone?

I recommend you guys just run 'pkg install python' instead of modifying the source files.

The problem that is occurring is the scripts are asking for the environments python, well FreeBSD recently made python a meta package that just links to whatever pythonX(.X) you choose. The python meta package isn't installed on FreeNAS jails / FreeBSD by default.
 

shmixx

Dabbler
Joined
Dec 30, 2013
Messages
37
Josh,

You're timing comes right as I think I figured out what you indicate here. I modified another script that is now working if I add in the correct path for the Python install (/usr/pbi/sabnzbd-amd64/bin/python). I'm hoping this will work as well for the sabtosickbeard script. It seems the path was the issue and it just wasn't throwing an error message that was indicating this as the issue vs a permissions issue which most people seem to indicate would be the case when getting that message.
 

antkappa

Dabbler
Joined
Jan 25, 2013
Messages
11
shmixx/Josh,

Thanks very much guys. I changed the path for python in the sabtosickbeard script to /usr/pbi/sabnzbd-amd64/bin/python as mentioned by shmixx and it's working!

Not sure if this is the best way to do it but it works and that's all that matters.

Thanks again :)
 

rawkus

Explorer
Joined
Feb 13, 2014
Messages
69
I hope this isn't too off topic but could you describe your permissions set up for your media drive and jails? I am seting up a sab,sickbeard, minidlna, plex box that will just be accessed by me so as of yet i haven't created any users or groups and have been using the root/wheel and or nobody/nogroup permissions and all seems well until i troubleshoot the sabtosickbeard scrip issue(will try the solution just mentioned when i get home) and one of the wardens in the jail starts reporting that it cant find storage. I think changing permissions was screwing things up so since i will probably completely reinsall when i get home tonight i figure i can start with correct permissions this time. So if anyone has a good suggestion for setting up permissions by creating a user group or using existing it would be a huge help.
 

shmixx

Dabbler
Joined
Dec 30, 2013
Messages
37
As an FYI for anyone who gets stuck with the issue I had, make sure when setting up the sabtosickbeard.py script, that in the autoProcessTV.cfg file, you specify the PORT for SickBeard, not SAB. This is the reason specifying the python directory worked on my other script but not the SAB script. Now sabToSickBeard is working perfectly too!! All coming together now. Thanks Josh for the push too on installing in the root. I think I tried doing this, but it still wasn't working out exactly right, so for now I'm happy with modifying the script files to specify the Python directory in the PBI install dir.
 

shmixx

Dabbler
Joined
Dec 30, 2013
Messages
37
I hope this isn't too off topic but could you describe your permissions set up for your media drive and jails? I am seting up a sab,sickbeard, minidlna, plex box that will just be accessed by me so as of yet i haven't created any users or groups and have been using the root/wheel and or nobody/nogroup permissions and all seems well until i troubleshoot the sabtosickbeard scrip issue(will try the solution just mentioned when i get home) and one of the wardens in the jail starts reporting that it cant find storage. I think changing permissions was screwing things up so since i will probably completely reinsall when i get home tonight i figure i can start with correct permissions this time. So if anyone has a good suggestion for setting up permissions by creating a user group or using existing it would be a huge help.


Rawkus - there are many threads that talk about permissions on here that you should be able to pick up the gist of how you want to set this up. Everyone has their own needs and differences. One thread to suggest is a previous thread I had around the same permissions issue you may run into with plugins: http://forums.freenas.org/index.php?threads/btsync-plugin-permission-issue.18215/

You seem to be fresh to the forum, so I'd suggest some digging and reading.
 
Status
Not open for further replies.
Top