[PhAzE] Plugins for Unraid 5/6


Recommended Posts

SABnzbd permissions:

 

I seem to have something set up wrong in the SAB plugin.  Every time it finishes a download the resulting files are in a fold that I can't access.  Here is the structure & the permissions

appdata/Sabnzbd/config/Downloads/complete

 

drwxrwxrwx 1 nobody users  176 2015-07-16 17:58 appdata/

drwxrwxrwx 1 nobody users 104 2015-07-16 12:35 Sabnzbd/

drwxrwxrwx 1 nobody users 288 2015-07-16 13:02 config/

drwxrwxrwx 1 nobody users  168 2015-07-16 13:50 Downloads/

drwxrwxrwx 1 nobody users 296 2015-07-18 07:53 complete/

 

I created everything to this point.  SAB then does this inside of "complete"

drwx------ 1 root  root  120 2015-07-18 07:53 showone/

drwx------ 1 root  root  168 2015-07-18 07:40 showtwo/

 

***

While typing this quesiton I found the solution on the "USER FOLDER" tab: 

  Permissions for completed downloads

I've set it to 777 and all is good. 

I thought I'd still post this as it might help someone else.

 

Link to comment

Hi. Firstly, thanks PhAzE for your plugins. I've been using them for the past couple of years now and have been working consistently until now. I've seen someone else mention this error message in this thread whilst installing SAB.

 

I'm running UnRAID 6 now and just the other day SAB stopped working after a powercut. When i restarted my server everything (Sonarr etc) worked just fine but I was unable to access SAB through my browser. I un-installed the plugin and re-installed it again (using the link from this thread, pasted into the install plugin address box).

 

All seems to go grand but when I go to configure the setup (change my install and config directory to /mnt/cache/.sabnzbd & /mnt/cache/.sabnzbd/config) and select enable SABNZBD and press apply, I get this error message along the bottom :

 

Installing SABnzbd... Unable to get latest version from online, checking USB for any install file Failed to download or locate SABnzbd install file. Aborting installation.

 

Im baffled! I've tried removing the plugin, rebooting and re-installing from scratch but still the same message over and over. Have you any suggestions?

 

Thanks for your time :)

 

 

Link to comment

Yup, take a look at this page link:

 

http://sabnzbdplus.sourceforge.net/version/latest

 

This is where I get the latest version info from. Apparently Source Fore had a problem that brought their site down (as mentioned by another user on the previous page of this thread) and they still haven't recovered fully. Once their site is back up the install should work. 

 

So, to fix this for now, follow these steps:

 

1) Download this file:  http://sourceforge.net/projects/sabnzbdplus/files/sabnzbdplus/0.7.20/SABnzbd-0.7.20-src.tar.gz/download

2) Rename it Sabnzbd-PhAzE-0.7.20-src.tar.gz  (caps are important for the S at the start and the way PhAzE is spelled)

3) Place this file in /boot/config/plugins/Sabnzbd folder

4) delete any .md5 file you see there

5) Try the install again :) 

 

That should fix it until a new version of SAB is released.  This of course assumes you are using the V2 plugin from the first page of this post. Let me know if that works.

 

Link to comment

I'm having issues with the sickbeard plugin not being able to complete a search to usenet-crawler.  I get an error message like so:

SEARCHQUEUE-MANUAL-SEARCH :: No data returned from https://www.usenet-crawler.com/api?apikey=.......'>https://www.usenet-crawler.com/api?apikey=.......

SEARCHQUEUE-MANUAL-SEARCH :: Error loading Usenet-Crawler URL: https://www.usenet-crawler.com/api?apikey=......

 

I've found a couple of references to this error around the web, first with Influencers plug-ins here at unRaid.  ( http://goo.gl/mkR3ly )

it suggested changing the "run as" setting to "root".  I did that and I still get the error.

 

The second discussion was on the SB board ( http://goo.gl/8xPlqX )  and it said the issue was with the version of python and suggested a change to sickbeard.py.  However I can't find that file and fear that it is compress and rebuild each time unraid is loaded.

 

Anyone else having this problem and have a solution?

 

***

after posting this I found the sickbeard.py file & made the change listed above and now my searches work.  However I don't know how to change the tar.gz file on the flashdrive.  That means the next time I reboot the server I'm going to loose this change.

 

 

 

Link to comment

Yup, take a look at this page link:

 

http://sabnzbdplus.sourceforge.net/version/latest

 

This is where I get the latest version info from. Apparently Source Fore had a problem that brought their site down (as mentioned by another user on the previous page of this thread) and they still haven't recovered fully. Once their site is back up the install should work. 

 

So, to fix this for now, follow these steps:

 

1) Download this file:  http://sourceforge.net/projects/sabnzbdplus/files/sabnzbdplus/0.7.20/SABnzbd-0.7.20-src.tar.gz/download

2) Rename it Sabnzbd-PhAzE-0.7.20-src.tar.gz  (caps are important for the S at the start and the way PhAzE is spelled)

3) Place this file in /boot/config/plugins/Sabnzbd folder

4) delete any .md5 file you see there

5) Try the install again :) 

 

That should fix it until a new version of SAB is released.  This of course assumes you are using the V2 plugin from the first page of this post. Let me know if that works.

 

Hi I tried these instructions but still getting the error. Am i suppose to change anything else to redirect the plg to the usb stick instead of downloading it from the net?

I did try to change the dns to 8.8.8.8 but no change.

by /boot/config i assume you are refering to my USB drive that UNRAID is loading from.

 

 

NVM- I redid my whole unraid install from scratch and it worked this time. Lucky I was just starting out with UNRAID so no biggy. Thanks

Link to comment

Yup, take a look at this page link:

 

http://sabnzbdplus.sourceforge.net/version/latest

 

This is where I get the latest version info from. Apparently Source Fore had a problem that brought their site down (as mentioned by another user on the previous page of this thread) and they still haven't recovered fully. Once their site is back up the install should work. 

 

So, to fix this for now, follow these steps:

 

1) Download this file:  http://sourceforge.net/projects/sabnzbdplus/files/sabnzbdplus/0.7.20/SABnzbd-0.7.20-src.tar.gz/download

2) Rename it Sabnzbd-PhAzE-0.7.20-src.tar.gz  (caps are important for the S at the start and the way PhAzE is spelled)

3) Place this file in /boot/config/plugins/Sabnzbd folder

4) delete any .md5 file you see there

5) Try the install again :) 

 

That should fix it until a new version of SAB is released.  This of course assumes you are using the V2 plugin from the first page of this post. Let me know if that works.

 

Hi I tried these instructions but still getting the error. Am i suppose to change anything else to redirect the plg to the usb stick instead of downloading it from the net?

I did try to change the dns to 8.8.8.8 but no change.

by /boot/config i assume you are refering to my USB drive that UNRAID is loading from.

Yes /boot is the USB. And no, there is nothing else you need to do exterior be running the latest plugin from the first post of this thread. Make sure the file is named exactly as shown in the last post I made (case sensitive).

Link to comment

I think I spoke too soon regarding my success.  (5.06, Sabnzbd plugin, coming from Influencer plugin)

 

Sequence of events:

Following your instructions for downloading the .gz file directly worked.

Sabnzbd was running according to the settings|sabnzbd page

I could access the http page on port 8081 (which was my previous inluencer config port)

-BUT Sab wasn't able to download NZBs...They were queueing up but stalling at "Attempting to download NZB from....."

--I hadn't yet rebooted- because my server was rebuilding a drive.  So I chalked it up to NOT rebooting and went to bed.

The rebuild completed overnight, and I rebooted the server this morning.

Now: Sab doesn't load during boot, saying something about 'failing decompression integrity test'

-REreplaced the renamed .gz file and deleted the md5 file & restarted server.

-STILL doesn't start, but I can go into Settings page and START via the button (says its running, anyways)

BUT....http page is not responding

Took out UNMENU from my go file, as you'd mentioned issues with port conflicts on 8080, and restarted server.

Still no answer on port 8080 or 8081.  Status page shows "RUNNING"

 

One peculiar thing I've noticed:  I have a Sabnzbd.cfg file in \\tower\flash\config\plugins\Sabnzbd  AND sabnzbd.ini file in \\tower\cache\appdata\sabnzbd

(My config directory is set to /mnt/cache/appdata/sabnzbd and my install directory is set to /usr/local/Sabnzbd)

 

Any advice would be appreciated.

Link to comment

That cfg file is for the plugin, not the app itself, and the ini file is for the app. You can try moving that ini file out to another folder and staying the app to see if a blank settings for will get it running again, it try a new port just to test also. Then, check the sab log files for any errors.

Link to comment

python issues with ssl certificates:

I've posted a couple of questions earlier in this thread about issues with sickbeard.  I found a work around but then hit the same issue in SABnzbd.  It appears that the current version of python has issues with ssl certificates.  I've had to make edits to both sickbeard.py & sabnzbd.py to get them to work.  However, every time I reboot my server I loose the edits.  Here are the discussions I found:

    sickbeard forum: ( http://goo.gl/QlE80N )

    sabnzbd forum:  ( http://goo.gl/WpjYtK )

 

and here are the edits I made: 

  /usr/local/Sickbeard/sickbeard.py

        import ssl

        ssl._create_default_https_context = ssl._create_unverified_context

 

  /usr/local/Sabnzbd/sabnzbd.py

        opt_out_of_certificate_verification = True

        if opt_out_of_certificate_verification:

            try:

                import ssl

                ssl._create_default_https_context = ssl._create_unverified_context

            except:

                pass

 

Would it be possible to update the plugins with these changes so the files don't have to be manually edited after each reboot?

 

BTW, I love the easy with which these plugins install & configure.  Great job PhAze.

 

Link to comment

Hey PhAzE,

 

Just wanted to say thanks man for all the help you provide this community. Tossed you a donation and I suggest that all the rest of you fine folks do the same. This man works hard on his own time to do this stuff.

 

Again, it's appreciated.

 

Cheers.

 

(Edit: Using 5-6 of your plugins and it brings tears to my eyes how easy it was to get it going.. my GF thinks I'm a genius for getting this all setup.. haha.. need all the good will I can muster!)

Link to comment

Hey PhAzE,

 

Just wanted to say thanks man for all the help you provide this community. Tossed you a donation and I suggest that all the rest of you fine folks do the same. This man works hard on his own time to do this stuff.

 

Again, it's appreciated.

 

Cheers.

 

(Edit: Using 5-6 of your plugins and it brings tears to my eyes how easy it was to get it going.. my GF thinks I'm a genius for getting this all setup.. haha.. need all the good will I can muster!)

Thank you, I really appreciate it!

 

With any luck my new version of the plugins will help save these servers some RAM to make them work even better, if all goes well with the dev plans I'm trying out.

Link to comment

python issues with ssl certificates:

I've posted a couple of questions earlier in this thread about issues with sickbeard.  I found a work around but then hit the same issue in SABnzbd.  It appears that the current version of python has issues with ssl certificates.  I've had to make edits to both sickbeard.py & sabnzbd.py to get them to work.  However, every time I reboot my server I loose the edits.  Here are the discussions I found:

    sickbeard forum: ( http://goo.gl/QlE80N )

    sabnzbd forum:  ( http://goo.gl/WpjYtK )

 

and here are the edits I made: 

  /usr/local/Sickbeard/sickbeard.py

        import ssl

        ssl._create_default_https_context = ssl._create_unverified_context

 

  /usr/local/Sabnzbd/sabnzbd.py

        opt_out_of_certificate_verification = True

        if opt_out_of_certificate_verification:

            try:

                import ssl

                ssl._create_default_https_context = ssl._create_unverified_context

            except:

                pass

 

Would it be possible to update the plugins with these changes so the files don't have to be manually edited after each reboot?

 

BTW, I love the easy with which these plugins install & configure.  Great job PhAze.

Does this kind of edit make it less secure? My understanding is that python ssl was updated on the latest version for security reasons for the last major vulnerability and sites that haven't updated are the reason you see the errors in the log files. Is that incorrect?

Link to comment

python issues with ssl certificates:

I've posted a couple of questions earlier in this thread about issues with sickbeard.  I found a work around but then hit the same issue in SABnzbd.  It appears that the current version of python has issues with ssl certificates.  I've had to make edits to both sickbeard.py & sabnzbd.py to get them to work.  However, every time I reboot my server I loose the edits.  Here are the discussions I found:

    sickbeard forum: ( http://goo.gl/QlE80N )

    sabnzbd forum:  ( http://goo.gl/WpjYtK )

 

and here are the edits I made: 

  /usr/local/Sickbeard/sickbeard.py

        import ssl

        ssl._create_default_https_context = ssl._create_unverified_context

 

  /usr/local/Sabnzbd/sabnzbd.py

        opt_out_of_certificate_verification = True

        if opt_out_of_certificate_verification:

            try:

                import ssl

                ssl._create_default_https_context = ssl._create_unverified_context

            except:

                pass

 

Would it be possible to update the plugins with these changes so the files don't have to be manually edited after each reboot?

 

BTW, I love the easy with which these plugins install & configure.  Great job PhAze.

Does this kind of edit make it less secure? My understanding is that python ssl was updated on the latest version for security reasons for the last major vulnerability and sites that haven't updated are the reason you see the errors in the log files. Is that incorrect?

 

I don't know the entire story but I do believe the change in python was to plug a security issue.  However, without the edits both SB & SAB are very secure because they don't work.  ;)

 

I'm not sure how it could be a problem at the other end but I'll do some more asking around to see what I can find. 

 

I'm a little surprised that no one else is reporting this problem on either plugin.

 

Link to comment

Mine have been connecting OK so far, which is why I ask.

truly strange.  I just installed this a couple of days ago because I wanted to get SB & SAB off of my win7 box.  Could I have different versions than you have?  Could I have multiple versions of python? 

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.