dbrooks wrote:You may be right -- I'll do some research. I believe I had another report of a similar problem via email recently, so I'll see if I can replicate it on my end (should be easy), and if I can, I'll fix the script. I may not bother making a new port revision just for the init script, however, since it seems like 0.6.x releases have been coming out pretty steady from Shypike. It may make more sense for me to just roll the init script update into the next port revision containing the next version of SABnzbd+.
Thanks for the heads up
Hey dbrooks,
Have you managed to make any progress on this?
I have a newer issue on system reboots now.
I did an update recently to 0.6.15 and upon reboot of the system sabnzbd was failing in cherrypy this time with the error:
Can't assign requested address
This happens every reboot. Manually starting sabnzbd seems fine.
Hi, Is there a ports for the version 0.7.4 ? and if no, how can I upgrade my FreeBSD sabnzbd ?
I try to replace the folder /usr/local/etc/sabnzbd by the SABnzbd-0.7.4-src.tar.gz file after unzip untar but without success...
I find some scripts in usr/local/share/sabnzbdplus and in usr/local/etc/sabnzbd. So I'm very lost with the destination of files.
The new scheduler in the 0.7.4 is very interressant for me so I really want to upgrade the new version.
Sorry for my poor english. Thanks a lot for your response to help me.
I believe that sabnzbd will not start without this folder being created or changing the rc.d startup script to reflect an appropriate directory. Note that the response from typing /usr/local/etc/rc.d/sabnzbd start is simply Starting sabnzbd - there is no confirmation as to whether or not sabnzbd starts successfully.
Currently the webpage is not remotely accessible when host=0.0.0.0 - setting the value of host either to the ip address or server name seems to resolve the issue.
SABnzbd have worked perfect for me over long time, but some days ago when I updated all installed ports I got a problem with with the GUI...
I have tried to reinstall Sabnzdb port, but that dident help.. look like I have a mismatch? what else do I need to reinstall then the Sabnzdb port?
The server encountered an unexpected condition which prevented it from fulfilling the request.
Traceback (most recent call last):
File "/usr/local/share/sabnzbdplus/cherrypy/_cprequest.py", line 618, in respond
cherrypy.response.body = self.handler()
File "/usr/local/share/sabnzbdplus/cherrypy/_cpdispatch.py", line 25, in __call__
return self.callable(*self.args, **self.kwargs)
File "/usr/local/lib/python2.7/site-packages/sabnzbd/interface.py", line 299, in index
return template.respond()
File "cheetah__usr_local_share_sabnzbdplus_interfaces_Plush_templates_main_tmpl_1387347635_17_38198.py", line 189, in respond
NotFound: cannot find 'pp_pause_event'
Is the SABNZBDPLUS already available using the new binary packages? It seems to be the only port on my system that cannot be installed using 'pkg install sabnzbdplus'. Could it be added?
I've got a similar issue as the poster a little while back where the service won't start. I just upgraded to 0.7.17 on FreeBSD 10 and now I get the following error on startup. I've tried recompiling sabnzbd and reinstalling as well as python27 but it seems like its something else...
Starting sabnzbd.
Traceback (most recent call last):
File "/usr/local/bin/SABnzbd.py", line 53, in <module>
from cherrypy import _cpwsgi_server
File "/usr/local/share/sabnzbdplus/cherrypy/_cpwsgi_server.py", line 6, in <module>
from cherrypy import wsgiserver
File "/usr/local/share/sabnzbdplus/cherrypy/wsgiserver/__init__.py", line 105, in <module>
from OpenSSL import SSL
File "/usr/local/lib/python2.7/site-packages/OpenSSL/__init__.py", line 8, in <module>
from OpenSSL import rand, crypto, SSL
File "/usr/local/lib/python2.7/site-packages/OpenSSL/rand.py", line 11, in <module>
from OpenSSL._util import (
File "/usr/local/lib/python2.7/site-packages/OpenSSL/_util.py", line 4, in <module>
binding = Binding()
File "/usr/local/lib/python2.7/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 83, in __init__
self._ensure_ffi_initialized()
File "/usr/local/lib/python2.7/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 99, in _ensure_ffi_initialized
libraries)
File "/usr/local/lib/python2.7/site-packages/cryptography/hazmat/bindings/utils.py", line 72, in build_ffi
ext_package="cryptography",
File "/usr/local/lib/python2.7/site-packages/cffi/api.py", line 341, in verify
lib = self.verifier.load_library()
File "/usr/local/lib/python2.7/site-packages/cffi/verifier.py", line 73, in load_library
self._write_source()
File "/usr/local/lib/python2.7/site-packages/cffi/verifier.py", line 125, in _write_source
file = open(self.sourcefilename, 'w')
IOError: [Errno 2] No such file or directory: '/usr/local/lib/python2.7/site-packages/cryptography/hazmat/bindings/__pycache__/_cffi__x5eaa210axf0ae7e21.c'
/usr/local/etc/rc.d/sabnzbd: WARNING: failed to start sabnzbd
smokey7722 wrote:I've got a similar issue as the poster a little while back where the service won't start. I just upgraded to 0.7.17 on FreeBSD 10 and now I get the following error on startup. I've tried recompiling sabnzbd and reinstalling as well as python27 but it seems like its something else...
Starting sabnzbd.
Traceback (most recent call last):
File "/usr/local/bin/SABnzbd.py", line 53, in <module>
from cherrypy import _cpwsgi_server
File "/usr/local/share/sabnzbdplus/cherrypy/_cpwsgi_server.py", line 6, in <module>
from cherrypy import wsgiserver
File "/usr/local/share/sabnzbdplus/cherrypy/wsgiserver/__init__.py", line 105, in <module>
from OpenSSL import SSL
File "/usr/local/lib/python2.7/site-packages/OpenSSL/__init__.py", line 8, in <module>
from OpenSSL import rand, crypto, SSL
File "/usr/local/lib/python2.7/site-packages/OpenSSL/rand.py", line 11, in <module>
from OpenSSL._util import (
File "/usr/local/lib/python2.7/site-packages/OpenSSL/_util.py", line 4, in <module>
binding = Binding()
File "/usr/local/lib/python2.7/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 83, in __init__
self._ensure_ffi_initialized()
File "/usr/local/lib/python2.7/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 99, in _ensure_ffi_initialized
libraries)
File "/usr/local/lib/python2.7/site-packages/cryptography/hazmat/bindings/utils.py", line 72, in build_ffi
ext_package="cryptography",
File "/usr/local/lib/python2.7/site-packages/cffi/api.py", line 341, in verify
lib = self.verifier.load_library()
File "/usr/local/lib/python2.7/site-packages/cffi/verifier.py", line 73, in load_library
self._write_source()
File "/usr/local/lib/python2.7/site-packages/cffi/verifier.py", line 125, in _write_source
file = open(self.sourcefilename, 'w')
IOError: [Errno 2] No such file or directory: '/usr/local/lib/python2.7/site-packages/cryptography/hazmat/bindings/__pycache__/_cffi__x5eaa210axf0ae7e21.c'
/usr/local/etc/rc.d/sabnzbd: WARNING: failed to start sabnzbd
Well I didn't do anything other than try to manually start it a few times and its now working. No idea wtf that was about.
Starting sabnzbd.
Traceback (most recent call last):
File "/usr/local/bin/SABnzbd.py", line 53, in <module>
from cherrypy import _cpwsgi_server
File "/usr/local/share/sabnzbdplus/cherrypy/_cpwsgi_server.py", line 6, in <module>
from cherrypy import wsgiserver
...
I've ran into the same issue on FreeBSD 9.1. I have determined the issue to be due to an upgrade in the port security/py-openssl.
The only workable solution I have found is to install sysutils/portdowngrade and downgrade the latest py-openssl 0.14 port to the last revision of 0.13.
Here is the command:
Do keep in mind that whenever you update all your installed ports py-openssl will be updated again to its latest version. I'm not knowledgeable enough to get into the cause of this error or how to fix it although I have spend some time searching the Internet for clues which didn't get me any further than this.