Jump to content

BLiTyvr

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by BLiTyvr

  1. Upgrading from a working 3.6.0-2-01 to latest (3.7.1-1-02). 

     

    From the logs, OpenVPN config loads correctly, but then I hit this error. 

     

    I though I had weak certs issue, per Q3 here:

    https://github.com/binhex/documentation/blob/master/docker/faq/sabnzbdvpn.md

    I wiped the two cert files, and new files are generated, but the outcome is the same...

    - thread is not created

    - thread cannot be joined

     

    2023-01-02 15:39:51,963::INFO::[notifier:123] Sending notification: Error - [02/Jan/2023:15:39:51] ENGINE Error in 'start' listener <bound method Server.start of <cherrypy._cpserver.Server object at 0x7f7b86a33400>>
    Traceback (most recent call last):
      File "/usr/lib/sabnzbd/venv/lib/python3.10/site-packages/cheroot/ssl/builtin.py", line 99, in _loopback_for_cert
        thread.start()
      File "/usr/lib/python3.10/threading.py", line 935, in start
        _start_new_thread(self._bootstrap, ())
    RuntimeError: can't start new thread
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/usr/lib/sabnzbd/venv/lib/python3.10/site-packages/cherrypy/process/wspbus.py", line 230, in publish
        output.append(listener(*args, **kwargs))
      File "/usr/lib/sabnzbd/venv/lib/python3.10/site-packages/cherrypy/_cpserver.py", line 179, in start
        self.httpserver, self.bind_addr = self.httpserver_from_self()
      File "/usr/lib/sabnzbd/venv/lib/python3.10/site-packages/cherrypy/_cpserver.py", line 170, in httpserver_from_self
        httpserver = _cpwsgi_server.CPWSGIServer(self)
      File "/usr/lib/sabnzbd/venv/lib/python3.10/site-packages/cherrypy/_cpwsgi_server.py", line 99, in __init__
        self.ssl_adapter = adapter_class(
      File "/usr/lib/sabnzbd/venv/lib/python3.10/site-packages/cheroot/ssl/builtin.py", line 225, in __init__
        _parse_cert(certificate, private_key, self.certificate_chain),
      File "/usr/lib/sabnzbd/venv/lib/python3.10/site-packages/cheroot/ssl/builtin.py", line 121, in _parse_cert
        return _loopback_for_cert(certificate, private_key, certificate_chain)
      File "/usr/lib/sabnzbd/venv/lib/python3.10/site-packages/cheroot/ssl/builtin.py", line 107, in _loopback_for_cert
        thread.join()
      File "/usr/lib/python3.10/threading.py", line 1091, in join
        raise RuntimeError("cannot join thread before it is started")
    RuntimeError: cannot join thread before it is started
     (type=error, job_cat=None)
    2023-01-02 15:39:51,963::ERROR::[_cplogging:213] [02/Jan/2023:15:39:51] ENGINE Error in 'start' listener <bound method Server.start of <cherrypy._cpserver.Server object at 0x7f7b86a33400>>
    Traceback (most recent call last):
      File "/usr/lib/sabnzbd/venv/lib/python3.10/site-packages/cheroot/ssl/builtin.py", line 99, in _loopback_for_cert
        thread.start()
      File "/usr/lib/python3.10/threading.py", line 935, in start
        _start_new_thread(self._bootstrap, ())
    RuntimeError: can't start new thread

     

    from line 99 in builtin.py, it still seems to be a SSL cert issue of some sort, but I'm missing something.

     

    Any suggestions appreciated, thanks! 

  2. New user here, but fairly experienced with sabnzbd, openvpn & docker... just not assembled together before.

     

    Just starting to get this set up using docker-compose.

     

    I'm running docker rootless on linux (ubuntu 20.10) and when I set the PGID to the media (8675309) group, the container blows up with a chown error for every file created:

     

    Attaching to ..., media_sabnzbdvpn
    media_sabnzbdvpn | Created by...
    media_sabnzbdvpn | ___.   .__       .__                   
    media_sabnzbdvpn | \_ |__ |__| ____ |  |__   ____ ___  ___
    media_sabnzbdvpn |  | __ \|  |/    \|  |  \_/ __ \\  \/  /
    media_sabnzbdvpn |  | \_\ \  |   |  \   Y  \  ___/ >    < 
    media_sabnzbdvpn |  |___  /__|___|  /___|  /\___  >__/\_ \
    media_sabnzbdvpn |      \/        \/     \/     \/      \/
    media_sabnzbdvpn |    https://hub.docker.com/u/binhex/
    media_sabnzbdvpn | 
    media_sabnzbdvpn | 2021-05-09 14:51:21.636822 [info] System information Linux ubuntu02_sabnzb 5.11.13-051113-generic #202104101231 SMP Sat Apr 10 12:34:46 UTC 2021 x86_64 GNU/Linux
    media_sabnzbdvpn | 2021-05-09 14:51:21.652536 [info] OS_ARCH defined as 'x86-64'
    media_sabnzbdvpn | 2021-05-09 14:51:21.668201 [info] PUID defined as '1000'
    media_sabnzbdvpn | 2021-05-09 14:51:21.695671 [info] PGID defined as '8675309'
    media_sabnzbdvpn | 2021-05-09 14:51:21.716406 [info] UMASK defined as '002'
    media_sabnzbdvpn | 2021-05-09 14:51:21.731788 [info] Permissions already set for volume mappings
    media_sabnzbdvpn | 2021-05-09 14:51:21.748578 [info] Deleting files in /tmp (non recursive)...
    media_sabnzbdvpn | 2021-05-09 14:51:21.766758 [info] VPN_ENABLED defined as 'no'
    media_sabnzbdvpn | 2021-05-09 14:51:21.780726 [warn] !!IMPORTANT!! VPN IS SET TO DISABLED', YOU WILL NOT BE SECURE
    media_sabnzbdvpn | chown: changing ownership of '/usr/lib/sabnzbd/GPL2.txt': Invalid argument
    media_sabnzbdvpn | chown: changing ownership of '/usr/lib/sabnzbd/ISSUES.txt': Invalid argument
    media_sabnzbdvpn | chown: changing ownership of '/usr/lib/sabnzbd/tests/test_encoding.py': Invalid argument
    media_sabnzbdvpn | chown: changing ownership of '/usr/lib/sabnzbd/tests/test_newsunpack.py': Invalid argument
    media_sabnzbdvpn | chown: changing ownership of '/usr/lib/sabnzbd/tests/testhelper.py': Invalid argument


    Here's my docker-compose.yml:

     

    version: '3'
    
    services:  
      sabnzb:
        image: binhex/arch-sabnzbdvpn
        container_name: media_sabnzbdvpn
        hostname: ubuntu02_sabnzb
        ports:
          - 8080:8080
          - 8090:8090
          - 8118:8118
            #restart: unless-stopped
        labels: 
          - diun.enable=true
        environment: 
          - VPN_ENABLED=no
          - VPN_USER=X
          - VPN_PASS=Y
          - VPN_PROV=custom
          - VPN_CLIENT=openvpn
          - VPN_OPTIONS=x
          - STRICT_PORT_FORWARD=no
          - ENABLE_PRIVOXY=yes
          - LAN_NETWORK=172.16.1.0/24
          - NAME_SERVERS=1.1.1.1
          - DEBUG=true
          - UMASK=002
          - PUID=1000
          - PGID=8675309
    
        volumes:
          - ./sab/data:/data
          - ./sab/config:/config
          - /etc/localtime:/etc/localtime:ro

     

    I assume this is a noob config mistake; can someone suggest what the error is?

     

    thanks much... 

×
×
  • Create New...