Page 3 of 4

Re: [APKG] NZBGet

Posted: Thu Jul 31, 2014 12:52 pm
by clinton.hall
latest version can be downloaded here https://www.dropbox.com/s/xlps8mgm0khoo ... 31_any.apk

this includes a patched libpar2 to allow new features in nzbget 14 (testing).

It has been submitted to AppCentral, but if you are on testing branch you need to update now.

Re: [APKG] NZBGet

Posted: Fri Apr 03, 2015 11:25 am
by clinton.hall
Hi All,

between ADM2.4 and a python update, you may find that nzbToMedia is no longer working when called from NZBGet.

It appears python has issues calling the libssl and libcrypto libraries that I have supplied with the nzbget App, but happily calls the ones found in /usr/lib

So, to get around this on 64 bit system rename or delete
/usr/local/AppCentral/nzbget/repository/lib/libssl.so.1.0.0
/usr/local/AppCentral/nzbget/repository/lib/libcrypto.so.1.0.0

on 32 bit rename or delete
/usr/local/AppCentral/nzbget/repository-32/lib/libssl.so.1.0.0
/usr/local/AppCentral/nzbget/repository-32/lib/libcrypto.so.1.0.0

Once you do this nzbget should still work, but on startup it may give warning about unable to find versions of libs. I don't know if ssl is broken by doing this...

I am hoping to recompile the nzbget binaries to force the path that is searched, and then remove the export of LD_LIBRARY_PATH so that python/post scripts can use the native libraries.

there is some work involved, so please let me know if A: you have this issue and B: renaming/removing these files works for you.

Re: [APKG] NZBGet

Posted: Fri Apr 03, 2015 5:10 pm
by ho66es
I have noticed a load of failed nzb to sick rage, curiously when i re post process from web interface they work fine, its only when it happens in background (overnight) it appears to fail. will try your fix
clinton.hall wrote:Hi All,

between ADM2.4 and a python update, you may find that nzbToMedia is no longer working when called from NZBGet.

It appears python has issues calling the libssl and libcrypto libraries that I have supplied with the nzbget App, but happily calls the ones found in /usr/lib

So, to get around this on 64 bit system rename or delete
/usr/local/AppCentral/nzbget/repository/lib/libssl.so.1.0.0
/usr/local/AppCentral/nzbget/repository/lib/libcrypto.so.1.0.0

on 32 bit rename or delete
/usr/local/AppCentral/nzbget/repository-32/lib/libssl.so.1.0.0
/usr/local/AppCentral/nzbget/repository-32/lib/libcrypto.so.1.0.0

Once you do this nzbget should still work, but on startup it may give warning about unable to find versions of libs. I don't know if ssl is broken by doing this...

I am hoping to recompile the nzbget binaries to force the path that is searched, and then remove the export of LD_LIBRARY_PATH so that python/post scripts can use the native libraries.

there is some work involved, so please let me know if A: you have this issue and B: renaming/removing these files works for you.

Re: [APKG] NZBGet

Posted: Sat Apr 04, 2015 4:44 pm
by ho66es
same failure occured overnight after renaming files

Re: [APKG] NZBGet

Posted: Sun Apr 05, 2015 4:58 am
by clinton.hall
Interesting. For me, the postprocess would not work at all (when doing post-process again)

Please check your nzbToMedia.log to see just what is happening overnight.

Re: [APKG] NZBGet

Posted: Mon Apr 27, 2015 10:12 am
by gibxxi
I've seen many indicators that SSL isn't included in the Python 2.7 branch that Asustor are providing. One of which being a complete lack of urllib3. I must admit I didn't do much digging, but any references to this module from within the python CLI return with "module not found" so something in the Asustor package is not working to my mind. I gave up on NZBGet due to the myriad of python errors/NZBGet messages being generated per job (over 1000). Will revisit it when Asustor fix their distribution or a solution is found. For now, SABnzbd will suffice for me.

Re: [APKG] NZBGet

Posted: Tue Apr 28, 2015 7:39 pm
by clinton.hall
NZBGet doesn't use Python. only the postprocess scripts (which are all user configurable and can be enabled and disabled as needed) use python.

Also, there are setting to change the logging levels for NZBGet.

Re: [APKG] NZBGet

Posted: Wed Apr 29, 2015 4:42 pm
by gibxxi
Your right, I must be thinking of something else on this NAS that doesn't work as expected. Silly me. SSL in Python on Asustor's Linux distribution definitely does have issues though.

Re: [APKG] NZBGet

Posted: Sun May 10, 2015 3:56 pm
by clinton.hall
Hi All,

new version to test.

https://www.dropbox.com/s/nagxhgmv5z3mu ... 10_any.apk

This actually uses the new official compiled binaries from NZBGet's author. This allows updating from within NZBGet's webui, starting with the current V15 testing (and then v15 stable when this is released).

I have also (hopefully) fixed the python library dependency issues and I have included the ffmpeg binaries as part of the app (makes it larger) so that we are not dependent on external urls that tend to change.

Please let me know your results.

Re: [APKG] NZBGet

Posted: Thu May 28, 2015 7:08 pm
by rk06
Clinton thanks for the hard work. The update resolves the post process errors me!