Page 1 of 1

version 2.3.3 won't start after upgrade to ubuntu 18.04

Posted: April 29th, 2018, 7:15 pm
by elfstones65
Hi post my upgrade to ubuntu 18.04

Sabnzbplus complains of this error

2018-04-30 01:06:35,783::ERROR::[_cplogging:219] [30/Apr/2018:01:06:35] ENGINE Error in 'start' listener <bound method Server.start of <cherrypy._cpserver.Server object at 0x7f69d5bb4390>>
Traceback (most recent call last):
File "/usr/share/sabnzbdplus/cherrypy/process/wspbus.py", line 207, in publish
output.append(listener(*args, **kwargs))
File "/usr/share/sabnzbdplus/cherrypy/_cpserver.py", line 167, in start
self.httpserver, self.bind_addr = self.httpserver_from_self()
File "/usr/share/sabnzbdplus/cherrypy/_cpserver.py", line 158, in httpserver_from_self
httpserver = _cpwsgi_server.CPWSGIServer(self)
File "/usr/share/sabnzbdplus/cherrypy/_cpwsgi_server.py", line 64, in __init__
self.server_adapter.ssl_certificate_chain)
File "/usr/share/sabnzbdplus/cherrypy/wsgiserver/ssl_builtin.py", line 56, in __init__
self.context.load_cert_chain(certificate, private_key)
SSLError: [SSL: CA_MD_TOO_WEAK] ca md too weak (_ssl.c:2779)

2018-04-30 01:06:35,784::ERROR::[_cplogging:219] [30/Apr/2018:01:06:35] ENGINE Shutting down due to error in start listener:
Traceback (most recent call last):
File "/usr/share/sabnzbdplus/cherrypy/process/wspbus.py", line 245, in start
self.publish('start')
File "/usr/share/sabnzbdplus/cherrypy/process/wspbus.py", line 225, in publish
raise exc
ChannelFailures: SSLError(336245134, u'[SSL: CA_MD_TOO_WEAK] ca md too weak (_ssl.c:2779)')

Anyone else having this issue?

Re: version 2.3.3 won't start after upgrade to ubuntu 18.04

Posted: April 30th, 2018, 12:46 am
by sander

Code: Select all

SSLError: [SSL: CA_MD_TOO_WEAK] ca md too weak (_ssl.c:2779)
My guess: in .sabnzbd/admin/ move server.cert and server.key away. Then start SABnzbd again.

Re: version 2.3.3 won't start after upgrade to ubuntu 18.04

Posted: April 30th, 2018, 5:51 am
by elfstones65
Thanks that worked !!

Re: version 2.3.3 won't start after upgrade to ubuntu 18.04

Posted: April 30th, 2018, 7:58 am
by sander
elfstones65 wrote: April 30th, 2018, 5:51 am Thanks that worked !!
Nice.

Cause: an old SAB created your cert/key a long time ago, and current Ubuntu considers the key (?) too low security. After you delete them, SAB will create a new cert/key, with higher security settings, and Ubuntu is happy again.

Re: version 2.3.3 won't start after upgrade to ubuntu 18.04

Posted: May 28th, 2018, 12:22 pm
by joneses
This solution also helped me.