[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
deleted
 

Joshua Parker Ruehlig

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

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
I'm awaiting permission on that thread. We may not even permit linking to it from this forum. We'll see. Trying to get clarification on this to protect iX as they *may* be legally liable if that guide is allowed here. So stay tuned.
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
Update: The official word is that the material shouldn't be available on this forum. There's also legal issues for the guide writer. I've explained everything in a PM to Josh. So that's where it stands. The guide may appear elsewhere, but should not be linked to directly here. If it is, we may have problems.

Ultimately, the ball is in Josh's court. The guide may or may not come back. The problem being that there are no real "legal" uses for what he was proposing. Anything people would use to justify as "legal" are, at best, a grey area. I'm going to take a leap and say that the guide is probably dead now as I'm sure Josh doesn't want to spend his best days fighting a court battle, but that's totally his choice. He'll do what is best for him and that's all we can ask for.

I do realize that some countries do not observe copyright laws from the USA, and some may not from anywhere. But this forum is based in the USA, so we must do our due diligence to keep us out of trouble.

As it is, guides on using Sickbeard and others have been somewhat questionable. That may have to change. But for now, it is what it is. I think the line that is being drawn is whether the guide is "how to install the app" vice "here's how you use it to get l33t stuffz". We're not here to endorse copying of potentially illegal material and we don't want that liability.
 

Red Arrow

Cadet
Joined
Feb 9, 2014
Messages
5
We're not here to endorse copying of potentially illegal material and we don't want that liability.

Yet FreeNAS has the ability to download and install Sickbeard, SABnzb, CouchPotato all built into it, but the line is drawn at a basic guide on how to use them? I know you guys have to protect yourselves, but a quick google search shows you hundreds of guides on how to use these programs across many platforms. Just saying I think everyone is going a bit ott regarding this. But I appreciate you have to look out for yourselves.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Update: The official word is that the material shouldn't be available on this forum. There's also legal issues for the guide writer. I've explained everything in a PM to Josh. So that's where it stands. The guide may appear elsewhere, but should not be linked to directly here. If it is, we may have problems.

Ultimately, the ball is in Josh's court. The guide may or may not come back. The problem being that there are no real "legal" uses for what he was proposing. Anything people would use to justify as "legal" are, at best, a grey area. I'm going to take a leap and say that the guide is probably dead now as I'm sure Josh doesn't want to spend his best days fighting a court battle, but that's totally his choice. He'll do what is best for him and that's all we can ask for.

I do realize that some countries do not observe copyright laws from the USA, and some may not from anywhere. But this forum is based in the USA, so we must do our due diligence to keep us out of trouble.

As it is, guides on using Sickbeard and others have been somewhat questionable. That may have to change. But for now, it is what it is. I think the line that is being drawn is whether the guide is "how to install the app" vice "here's how you use it to get l33t stuffz". We're not here to endorse copying of potentially illegal material and we don't want that liability.
thanks for the explanation and having everyone's best interests in mind. I'll be contemplating my options and will post an update once I rationalize a plan.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Yet FreeNAS has the ability to download and install Sickbeard, SABnzb, CouchPotato all built into it, but the line is drawn at a basic guide on how to use them? I know you guys have to protect yourselves, but a quick google search shows you hundreds of guides on how to use these programs across many platforms. Just saying I think everyone is going a bit ott regarding this. But I appreciate you have to look out for yourselves.
I would rather my plugins are availabl easily then making a user friendly guide. like you said guides are all over the internet.
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
I could easily argue both side of the discussion. The bottom line is there is significant risk. People who have skin to lose if things go badly have said no. So that's how it's gonna be. Nothing is stopping you from starting your own blog and posting your own guides. If you want to go that route, have at it. I said above you are welcome to do what you want. The reality of it is that we're really *not* here to provide guides to install software. We're also not here to support the software inside the jails. VMWare shouldn't be getting a call when someone doesn't know how to change their background or install a software package in a VM, right? This is no different.

My personal opinion is that any questions that aren't clearly related to troubleshooting the jail implementation should never be posted here. We aren't in the business of supporting software inside VMs/jails. Yet this forum has more questions related to supporting plugins than probably any other category, and in some cases multiple categories combined. We've had many MANY users complain that too many questions regarding plugin-support are being made here. Some don't even use the forums and go straight to IRC because every search they use always involves someone complaining that their plugin or jail is broken(and 99% of the time it's the user's fault).

If I were the deciding factor I wouldn't be allowing any guides related to using stuff in the jail. It's not this forums job to be everyone's beckon call when a plugin or jail package doesn't compile or work the way you want. I've installed every plugin, and in every case I got it right the very first time. It worked in the aspects that I tested, then I destroyed the jail. I appreciate that Joshua Reuhlig has a thread that's his own little dumping ground for questions/answers. It works well, and frankly, I think it might have been deleted if he hadn't done it this way. He's got his little slice of the forum for support, and it works very well for him and the users. I rarely read this thread, but he causes no trouble and the people that ask for his help stay in one place. If we had seen 100 threads with questions related to his stuff, it might have caught people's attention.

Keep in mind, this forum is for supporting FreeNAS. Not Sickbeard, not Plex, not any other software you want to run in a jail. FreeNAS and FreeNAS only. If you have a problem with the jail architecture, that's one thing. But having a problem with a program not working, that's not a FreeNAS problem 99 times out of 100. ;)
 

nobodyspecial

Dabbler
Joined
Nov 20, 2013
Messages
11
Well crap... I've got literally everything working with the exception of this stupid sabToSickBeard.py post processing script and I was hoping a walkthrough might shed some light on what I'm overlooking.

Disclaimer: I'm using my setup to download original programming generated under free to distribute copyright. No funny stuff here. It's all legit and legal and on the up and up.

So, on a fresh install of FreeNAS 9.2.1.... literally nothing else installed.

- Created plugin jail (pings in and out and everywhere else work fine)
- Uploaded both pbis to this single plugin jail
- Turned both on and both can be reached fine via browser
- Created the media user:group with matching ID from PBI's user:group
- Set the entire jail to 777 owned by media:media because I'm giving no f's at this point
- Edited the autoProcessTV.cfg to match my SickBeard settings. I've re-checked this at least 14 times now.
- Updated first line of sabToSickBeard.py file to reflect the correct Python location in the jail since it apparently changed at some point in FreeNas 9.x.
- Ran the file from the command line (logged in via SSH as media user) and get the "No folder supplied - is this being called from SABnzbd?" message, so I know everything is correct there
- Go back to SickBeard and configure everything there and hook it up to Sab via API
- Go over to Sab and configure everything there and create sickbeard category and tell it to run sabToSickBeard.py on the sickbeard category

Time to test!

- Go over to Sickbeard and add a show letting it set everything to "skipped" initially.
- Change one episode to "wanted" and it successfully finds an nzb and passes it over to Sab. It's working!
- Sab finishes the download. Folder and files appear in the sickbeard directory but....

Code:
Cannot run script /usr/pbi/sabnzbd-amd64/etc/sabnzbd/Downloads/scripts/autoProcessTV/sabToSickBeard.py


- Pray to the Gods of Software Development to stop letting people write code without logging it to a file.
- Go back to SickBeard and run manual post processing and it works perfectly.
- Bang head into desk at a medium pace.
- Check Sab logs. Sab thinks everything is fine.

I'm stumped. My entire jail is 777 and owned by media:media and I've tested everything I can think of. It just doesn't work. Anyone have any thoughts on something I might have overlooked? I didn't add the little details to my list above like "added username, added password, etc.". Literally everything works except this last piece and I'm ready to give up and just let SickBeard scan the folder but this has become a challenge I can't walk away from.

I'm off now to add logging to file into this Python script.
 

nobodyspecial

Dabbler
Joined
Nov 20, 2013
Messages
11
UPDATE:

- Made a test.py file that just writes a single line to a log file in the same directory.
- Set Sab to run that file on download completion
- Added another episode and it downloaded fine but...

Code:
Cannot run script /usr/pbi/sabnzbd-amd64/etc/sabnzbd/Downloads/scripts/autoProcessTV/test.py


So it looks like the source of this problem is that Sab is unable to execute Python. Off to investigate that now. Feel free to chime in with tips.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
UPDATE:

- Made a test.py file that just writes a single line to a log file in the same directory.
- Set Sab to run that file on download completion
- Added another episode and it downloaded fine but...

Code:
Cannot run script /usr/pbi/sabnzbd-amd64/etc/sabnzbd/Downloads/scripts/autoProcessTV/test.py


So it looks like the source of this problem is that Sab is unable to execute Python. Off to investigate that now. Feel free to chime in with tips.
the majority of your first post is not freenas specific. the python issue can be discussed here, and is already covered in this thread.
 

nobodyspecial

Dabbler
Joined
Nov 20, 2013
Messages
11
Well now I've got more problems.... FreeNas ones.

I figured I'd reboot the server and see if that changed anything and boy did it. Now the plugins won't start. I get the infamous "Some error occured" but I can see it's a bad gateway error in the console. Any thoughts on what's behind that? I'm guessing permissions since I mucked with the whole jail?
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Well now I've got more problems.... FreeNas ones.

I figured I'd reboot the server and see if that changed anything and boy did it. Now the plugins won't start. I get the infamous "Some error occured" but I can see it's a bad gateway error in the console. Any thoughts on what's behind that? I'm guessing permissions since I mucked with the whole jail?

yeah, the 777+chown for the entire jail wasn't a good idea.
 

Peter Tang

Cadet
Joined
Feb 21, 2014
Messages
1
I just signed up to say a huge thanks to Josh for the PBI's and to everyone else! It's taken me a week to migrate from M$ to FreeNAS with all the plugins working down to the autoprocesstv script!
 

Savell Martin

Contributor
Joined
Jun 10, 2013
Messages
164
The whole point of the FreeNAS box is for functionality and use.
Josh please decide to put your guide up somewhere as there were many waiting for it.

Feel a bit let down tbh (not with you but the forum) but I do understand :(
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
A complete setup guide for SABnzbd, SickBeard, and CouchPotato can be found on my personal blog. Please do not post links to any configuration guides for these plugins on this forum.
 
Status
Not open for further replies.
Top