[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
also did you set this up a few days ago? there was a bug between sickrage and nzbtomedia that got fixed yesterday.
cd /usr/local/share/nzbToMedia && git pull
chown -R media:media /usr/local/share/nzbToMedia
 

Biggeek

Dabbler
Joined
Dec 26, 2013
Messages
40
Yeah I thought maybe it might be the scripts, so I did a pull a little while ago.
I'll have to let a new download run and see what the logs say.
 

ShinobiX9X

Contributor
Joined
Mar 6, 2013
Messages
141
Hi Joshua,

I'm back to let you know, after chagning the mountpoints in all the jails (so it's the same for all)
and adjusting the settings, all works like a charm now :)

just wondering, i'm using torrent, i'm not sure i better link or move? what do you think?
 

Joshua Parker Ruehlig

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

I'm back to let you know, after chagning the mountpoints in all the jails (so it's the same for all)
and adjusting the settings, all works like a charm now :)

just wondering, i'm using torrent, i'm not sure i better link or move? what do you think?
I personally move cause im a selfish leecher, actually cause I don't want to get in trouble with my ISP. I try to use usenet, more.

but for people with private torrent sites, where you should be seeding, you can modify my blog steps to link (hard is the most efficient), and continue seeding. I just won't go over the exact steps cause i haven't done it.
 

Kelly Shutt

Dabbler
Joined
Sep 27, 2012
Messages
12
I'd like to report a bug with the latest SABNZBD PBI, version 0.7.20.

During my recent upgrade to FreeNAS 9.3, I went ahead and rebuilt my jail with all the latest PBI's for SABNZBD, Sickbeard, etc. After rebuilding my jail I noticed that SAB was getting stuck on downloads , and refused to connect properly. In troubleshooting this issue, I noticed that the SSL option was greyed out on all my server settings.

Based on this information I tried running the test below.

Code:
/usr/pbi/sabnzbd-amd64/bin/python2.7
Python 2.7.8 (default, Sep 18 2014, 02:43:05)
[GCC 4.2.1 20070831 patched [FreeBSD]] on freebsd9
Type "help", "copyright", "credits" or "license" for more information.
>>> from OpenSSL import SSL
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/pbi/sabnzbd-amd64/lib/python2.7/site-packages/OpenSSL/__init__.py", line 8, in <module>
  from OpenSSL import rand, crypto, SSL
  File "/usr/pbi/sabnzbd-amd64/lib/python2.7/site-packages/OpenSSL/rand.py", line 11, in <module>
  from OpenSSL._util import (
  File "/usr/pbi/sabnzbd-amd64/lib/python2.7/site-packages/OpenSSL/_util.py", line 4, in <module>
  binding = Binding()
  File "/usr/pbi/sabnzbd-amd64/lib/python2.7/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 89, in __init__
  self._ensure_ffi_initialized()
  File "/usr/pbi/sabnzbd-amd64/lib/python2.7/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 109, in _ensure_ffi_initialized
  libraries=libraries,
  File "/usr/pbi/sabnzbd-amd64/lib/python2.7/site-packages/cryptography/hazmat/bindings/utils.py", line 39, in build_ffi
  ffi = cffi.FFI()
  File "/usr/pbi/sabnzbd-amd64/lib/python2.7/site-packages/cffi/api.py", line 56, in __init__
  import _cffi_backend as backend
ImportError: Shared object "libffi.so.6" not found, required by "_cffi_backend.so"


As you can see it's complaining about libffi.so.6. Since "pkg" commands work properly now, I decided to try just installing the package. This actually worked perfectly and now everything functions normally again; after restarting SAB of course. Maybe you can add this to the PBI so it won't happen for other people?

Code:
pkg install py27-cffi
/usr/pbi/sabnzbd-amd64/bin/python2.7
Python 2.7.8 (default, Sep 18 2014, 02:43:05)
[GCC 4.2.1 20070831 patched [FreeBSD]] on freebsd9
Type "help", "copyright", "credits" or "license" for more information.
>>> from OpenSSL import SSL
>>>
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
I'd like to report a bug with the latest SABNZBD PBI, version 0.7.20.

During my recent upgrade to FreeNAS 9.3, I went ahead and rebuilt my jail with all the latest PBI's for SABNZBD, Sickbeard, etc. After rebuilding my jail I noticed that SAB was getting stuck on downloads , and refused to connect properly. In troubleshooting this issue, I noticed that the SSL option was greyed out on all my server settings.

Based on this information I tried running the test below.

Code:
/usr/pbi/sabnzbd-amd64/bin/python2.7
Python 2.7.8 (default, Sep 18 2014, 02:43:05)
[GCC 4.2.1 20070831 patched [FreeBSD]] on freebsd9
Type "help", "copyright", "credits" or "license" for more information.
>>> from OpenSSL import SSL
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/pbi/sabnzbd-amd64/lib/python2.7/site-packages/OpenSSL/__init__.py", line 8, in <module>
  from OpenSSL import rand, crypto, SSL
  File "/usr/pbi/sabnzbd-amd64/lib/python2.7/site-packages/OpenSSL/rand.py", line 11, in <module>
  from OpenSSL._util import (
  File "/usr/pbi/sabnzbd-amd64/lib/python2.7/site-packages/OpenSSL/_util.py", line 4, in <module>
  binding = Binding()
  File "/usr/pbi/sabnzbd-amd64/lib/python2.7/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 89, in __init__
  self._ensure_ffi_initialized()
  File "/usr/pbi/sabnzbd-amd64/lib/python2.7/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 109, in _ensure_ffi_initialized
  libraries=libraries,
  File "/usr/pbi/sabnzbd-amd64/lib/python2.7/site-packages/cryptography/hazmat/bindings/utils.py", line 39, in build_ffi
  ffi = cffi.FFI()
  File "/usr/pbi/sabnzbd-amd64/lib/python2.7/site-packages/cffi/api.py", line 56, in __init__
  import _cffi_backend as backend
ImportError: Shared object "libffi.so.6" not found, required by "_cffi_backend.so"


As you can see it's complaining about libffi.so.6. Since "pkg" commands work properly now, I decided to try just installing the package. This actually worked perfectly and now everything functions normally again; after restarting SAB of course. Maybe you can add this to the PBI so it won't happen for other people?

Code:
pkg install py27-cffi
/usr/pbi/sabnzbd-amd64/bin/python2.7
Python 2.7.8 (default, Sep 18 2014, 02:43:05)
[GCC 4.2.1 20070831 patched [FreeBSD]] on freebsd9
Type "help", "copyright", "credits" or "license" for more information.
>>> from OpenSSL import SSL
>>>
strange, I already link that needed library
https://github.com/josh4trunks/freenas-plugins/blob/master/plugins/sabnzbd/external-links
you mind installing a second instance of sab from the repo and confirm if the SSL option is greyed out for you?
 

Kelly Shutt

Dabbler
Joined
Sep 27, 2012
Messages
12
So this is especially weird...

Installing a second instance works fine. Version numbers on the jail, PBI, etc. are all identical. The second install passed python test and I see the SSL option when going through setup wizard.

Is it possible that doing 9.3 upgrades to FreeNAS itself somehow affected this? Or maybe one of the other PBI's somehow removed it?

I guess it's not a huge deal since it's working for me now.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
if you unintalled another pbi from the same jail that also linked that file it might have been removed. I think the next generation of PBIs in 10.x addresses this
 

Biggeek

Dabbler
Joined
Dec 26, 2013
Messages
40
Has anyone ever seen this error in the TorrentToMedia.py script?


2014-12-24 16:45:41 ERROR ::MAIN: Unable to locate a section with subsection:UNCAT enabled in your autoProcessMedia.cfg, exiting!
2014-12-24 16:45:41 ERROR ::MAIN: A problem was reported in the /usr/local/share/nzbToMedia/TorrentToMedia.py script.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Has anyone ever seen this error in the TorrentToMedia.py script?


2014-12-24 16:45:41 ERROR ::MAIN: Unable to locate a section with subsection:UNCAT enabled in your autoProcessMedia.cfg, exiting!
2014-12-24 16:45:41 ERROR ::MAIN: A problem was reported in the /usr/local/share/nzbToMedia/TorrentToMedia.py script.
maybe u updated nzbToMedia and the config changed? I swear keeping that program up to date is a hassle.
 

Biggeek

Dabbler
Joined
Dec 26, 2013
Messages
40
maybe u updated nzbToMedia and the config changed? I swear keeping that program up to date is a hassle.

I wish it was that easy. This was actually a fresh install, following your guide. I wanted to see if I missed anything and also, really dive into things.
I posted an issue on git. We'll see what they say.
 

Biggeek

Dabbler
Joined
Dec 26, 2013
Messages
40
Saw your comment on git.
Still not sure what the issue is.

I understand what your saying and I see the [tv] and [movie] sections, which is where I made my changes.
So far anything sent from sickrage to sab works great with post processing.
Its just transmission that flipped out with couchpotato.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Saw your comment on git.
Still not sure what the issue is.

I understand what your saying and I see the [tv] and [movie] sections, which is where I made my changes.
So far anything sent from sickrage to sab works great with post processing.
Its just transmission that flipped out with couchpotato.
weird, I actually didn't test sickrage>transmission yet. But, CP>transmission worked for me. I'll try taking a look in the next few days.
 

marian78

Patron
Joined
Jun 30, 2011
Messages
210
Below is the fix. You'll also need to restart the jail.
Code:
rm /usr/local/etc/rc.d/transmission
ln -s /usr/pbi/transmission-amd64/etc/rc.d/transmission /usr/local/etc/rc.d

helped me too.
 

ShinobiX9X

Contributor
Joined
Mar 6, 2013
Messages
141
hi,

about HeadPhones, i have a problem. It's not getting the music i want.
this is in the logs:

Code:
2014-12-27 09:33:12INFOLibrary scan complete
2014-12-27 09:32:45INFOFetching similar artists from Last.FM for tag cloud
2014-12-27 09:32:45INFOAlbum status update complete
2014-12-27 09:32:45INFOCounting matched tracks to mark albums as skipped/downloaded
2014-12-27 09:32:36INFOSearch for Wanted albums complete
2014-12-27 09:32:36INFONo more results found for: -M- - Qui de nous deux
2014-12-27 09:32:36ERRORUnable to connect to remote host. Check if the remote host is up and running.
2014-12-27 09:32:36INFOSearching The Pirate Bay using term: M Qui de nous deux 2003
2014-12-27 09:32:36ERRORUnable to connect to remote host. Check if the remote host is up and running.
2014-12-27 09:32:36INFOSearching KAT using term: M Qui de nous deux 2003
2014-12-27 09:32:36INFOSearching for "-M- - Qui de nous deux" since it is marked as wanted
2014-12-27 09:32:36INFONo more results found for: -M- - Je dis aime
2014-12-27 09:32:36ERRORUnable to connect to remote host. Check if the remote host is up and running.
2014-12-27 09:32:36INFOSearching The Pirate Bay using term: M Je dis aime 1999
2014-12-27 09:32:36ERRORUnable to connect to remote host. Check if the remote host is up and running.
2014-12-27 09:32:35INFOSearching KAT using term: M Je dis aime 1999
2014-12-27 09:32:35INFOSearching for "-M- - Je dis aime" since it is marked as wanted
2014-12-27 09:32:35INFONo more results found for: -M- - Mister Mystère
2014-12-27 09:32:35ERRORUnable to connect to remote host. Check if the remote host is up and running.
2014-12-27 09:32:35INFOSearching The Pirate Bay using term: M Mister Mystere 2009
2014-12-27 09:32:35ERRORUnable to connect to remote host. Check if the remote host is up and running.
2014-12-27 09:32:35INFOSearching KAT using term: M Mister Mystere 2009
2014-12-27 09:32:35INFOSearching for "-M- - Mister Mystère" since it is marked as wanted
2014-12-27 09:32:35INFONo more results found for: Alicia Keys - Girl on Fire
2014-12-27 09:32:35ERRORUnable to connect to remote host. Check if the remote host is up and running.
 

Joshua Parker Ruehlig

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

about HeadPhones, i have a problem. It's not getting the music i want.
this is in the logs:

Code:
2014-12-27 09:33:12INFOLibrary scan complete
2014-12-27 09:32:45INFOFetching similar artists from Last.FM for tag cloud
2014-12-27 09:32:45INFOAlbum status update complete
2014-12-27 09:32:45INFOCounting matched tracks to mark albums as skipped/downloaded
2014-12-27 09:32:36INFOSearch for Wanted albums complete
2014-12-27 09:32:36INFONo more results found for: -M- - Qui de nous deux
2014-12-27 09:32:36ERRORUnable to connect to remote host. Check if the remote host is up and running.
2014-12-27 09:32:36INFOSearching The Pirate Bay using term: M Qui de nous deux 2003
2014-12-27 09:32:36ERRORUnable to connect to remote host. Check if the remote host is up and running.
2014-12-27 09:32:36INFOSearching KAT using term: M Qui de nous deux 2003
2014-12-27 09:32:36INFOSearching for "-M- - Qui de nous deux" since it is marked as wanted
2014-12-27 09:32:36INFONo more results found for: -M- - Je dis aime
2014-12-27 09:32:36ERRORUnable to connect to remote host. Check if the remote host is up and running.
2014-12-27 09:32:36INFOSearching The Pirate Bay using term: M Je dis aime 1999
2014-12-27 09:32:36ERRORUnable to connect to remote host. Check if the remote host is up and running.
2014-12-27 09:32:35INFOSearching KAT using term: M Je dis aime 1999
2014-12-27 09:32:35INFOSearching for "-M- - Je dis aime" since it is marked as wanted
2014-12-27 09:32:35INFONo more results found for: -M- - Mister Mystère
2014-12-27 09:32:35ERRORUnable to connect to remote host. Check if the remote host is up and running.
2014-12-27 09:32:35INFOSearching The Pirate Bay using term: M Mister Mystere 2009
2014-12-27 09:32:35ERRORUnable to connect to remote host. Check if the remote host is up and running.
2014-12-27 09:32:35INFOSearching KAT using term: M Mister Mystere 2009
2014-12-27 09:32:35INFOSearching for "-M- - Mister Mystère" since it is marked as wanted
2014-12-27 09:32:35INFONo more results found for: Alicia Keys - Girl on Fire
2014-12-27 09:32:35ERRORUnable to connect to remote host. Check if the remote host is up and running.
Are you sure the error is specific to the plugin? Can you ping the remote host Headphones is trying to connect to from the plugin jail?
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Sadly i must ask. What is the remote host it tries to connect to?
Sorry, I don't know. Headphones github might be the best place to ask.
I'd first check you can resolve google.com just to make sure DNS is working properly.
 
Status
Not open for further replies.
Top