[Support] binhex - SABnzbd


Recommended Posts

5 hours ago, binhex said:

Also looks relevant, try the suggested workaround:- https://forums.sabnzbd.org/viewtopic.php?t=25089

 

if you want to roll back then see Q5:- https://github.com/binhex/documentation/blob/master/docker/faq/unraid.md

I have rolled back for now. Thanks.

 

 

4 hours ago, musicking said:

The above is not working for me.

 

It won't even let me disable listening on 443 (HTTPS) for SABNZBD, it keeps enabling on reboot. There is really no need for me to listen via HTTPS as I use SWAG for reverse proxy.

 

All my *arr applications talk to SABNZBD via HTTP and not HTTPS locally.

 

I am using the same setup albeit with NPM.

 

 

3 hours ago, RichJacot said:

The work around, mentioned in a link above, I don't think helps me.  I'm not allowing any external access to need a cert for, from what I can tell...?

image.png.4795903abac0a5b3fec0644690161425.png

 

I've rolled back to 3.7.0-1-01 for the time being. 

 

I believe he is talking about the setting above the one you have in your screenshot, please see below.

image.thumb.png.534a5fe3495328a9291f2204a4855572.png

 

Cheers!

Link to comment
51 minutes ago, binhex said:

FYI i found this closed issue relating to the SSL error, its closed cos its a cherrypy issue not sabnzbd:-

 

https://github.com/sabnzbd/sabnzbd/issues/2228

 

i can at least replicate the issue, so i can see when/if i can fix it.

OK implemented a workaround for now, i have just bumped the logging level so its only visible in log level debug, its a crud message in any case, as mentioned in this comment in the issue linked above:- https://github.com/sabnzbd/sabnzbd/issues/2228#issuecomment-1263252271

 

once it gets really fixed by cherrypy then i will remove the hack.

  • Thanks 1
Link to comment
16 minutes ago, binhex said:

OK implemented a workaround for now, i have just bumped the logging level so its only visible in log level debug, its a crud message in any case, as mentioned in this comment in the issue linked above:- https://github.com/sabnzbd/sabnzbd/issues/2228#issuecomment-1263252271

 

once it gets really fixed by cherrypy then i will remove the hack.

Thanks, updated the container and message is suppressed.

 

Cheers!

Link to comment
1 hour ago, binhex said:

OK implemented a workaround for now, i have just bumped the logging level so its only visible in log level debug, its a crud message in any case, as mentioned in this comment in the issue linked above:- https://github.com/sabnzbd/sabnzbd/issues/2228#issuecomment-1263252271

 

once it gets really fixed by cherrypy then i will remove the hack.

Thank you.  I'll update this evening.

Link to comment
  • 4 weeks later...
  • 1 month later...

I am trying to get binhex-SABNZBD deployed on an alternative port in Unraid. I can get it deployed and working on port 8080 but I want/need to get it deployed on port 3000.

The config.ini keeps changing back to 8080 when I start the container.

I have tried changing the container ports before deploying and that didn't work, including selecting the advanced view and changing the port for the webui.

 

Is there a guide or something I am missing to get the port moved when deploying this on Unraid?

Link to comment
  • 1 month later...

I have set up a new container and made some changes to the docker settings.

 

I am facing a permission issue now. When downloading with a specific category (e.g., "movies" to sub-folder "/movies", all works well and all permissions are set correctly.

 

When downloading just to regular download folder, the files are downloaded, but the folder (e.g., from a movie or music album) has wrong permissions. The files inside are fine though.

 

Any idea what could be causing this and what I can provide for troubleshooting?

 

Mapped drive is (unraid docker setting)

Container: /data/usenet

Host path: /mnt/user/appdata/sabnzbd/usenet

Completed downloader folder (in sabnzbd setting)

/data/usenet

Link to comment
  • 2 weeks later...

I'm running into this super strange situation that unraid says it's running but I can't access the app when I try to open the web ui. I googled it but it looks like it has something to do with ipv6 so I tried turning that off entirely and still get the error.

 

Here's the log:

2023-03-30 13:44:59,438 DEBG 'start-script' stdout output:
2023-03-30 13:44:59,438::INFO::[SABnzbd:1303] HTTPS keys are OK

2023-03-30 13:44:59,439 DEBG 'start-script' stdout output:
2023-03-30 13:44:59,438::INFO::[SABnzbd:1435] Starting web-interface on 0.0.0.0:8090

2023-03-30 13:44:59,439 DEBG 'start-script' stdout output:
2023-03-30 13:44:59,439::INFO::[_cplogging:213] [30/Mar/2023:13:44:59] ENGINE Bus STARTING

2023-03-30 13:44:59,534 DEBG 'start-script' stdout output:
2023-03-30 13:44:59,533::INFO::[notifier:123] Sending notification: Error - [30/Mar/2023:13:44:59] ENGINE Error in 'start' listener <bound method Server.start of <cherrypy._cpserver.Server object at 0x15532c9c5960>>

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 180, in start
super(Server, self).start()
File "/usr/lib/sabnzbd/venv/lib/python3.10/site-packages/cherrypy/process/servers.py", line 182, in start
t.start()
File "/usr/lib/python3.10/threading.py", line 935, in start
_start_new_thread(self._bootstrap, ())
RuntimeError: can't start new thread
(type=error, job_cat=None)


2023-03-30 13:44:59,535 DEBG 'start-script' stdout output:
2023-03-30 13:44:59,533::ERROR::[_cplogging:213] [30/Mar/2023:13:44:59] ENGINE Error in 'start' listener <bound method Server.start of <cherrypy._cpserver.Server object at 0x15532c9c5960>>

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 180, in start
super(Server, self).start()
File "/usr/lib/sabnzbd/venv/lib/python3.10/site-packages/cherrypy/process/servers.py", line 182, in start
t.start()
File "/usr/lib/python3.10/threading.py", line 935, in start
_start_new_thread(self._bootstrap, ())
RuntimeError: can't start new thread


2023-03-30 13:44:59,637 DEBG 'start-script' stdout output:
2023-03-30 13:44:59,636::ERROR::[_cplogging:213] [30/Mar/2023:13:44:59] ENGINE Error in 'start' listener <bound method Server.start of <cherrypy._cpserver.Server object at 0x15532e18f580>>

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


2023-03-30 13:44:59,639 DEBG 'start-script' stdout output:
2023-03-30 13:44:59,638::ERROR::[_cplogging:213] [30/Mar/2023:13:44:59] ENGINE Shutting down due to error in start listener:

Traceback (most recent call last):
File "/usr/lib/sabnzbd/venv/lib/python3.10/site-packages/cherrypy/process/wspbus.py", line 268, in start
self.publish('start')
File "/usr/lib/sabnzbd/venv/lib/python3.10/site-packages/cherrypy/process/wspbus.py", line 248, in publish
raise exc
cherrypy.process.wspbus.ChannelFailures: RuntimeError("can't start new thread")
RuntimeError('cannot join thread before it is started')


2023-03-30 13:44:59,640 DEBG 'start-script' stdout output:
2023-03-30 13:44:59,639::INFO::[_cplogging:213] [30/Mar/2023:13:44:59] ENGINE Bus STOPPING

2023-03-30 13:44:59,641 DEBG 'start-script' stdout output:
2023-03-30 13:44:59,640::INFO::[_cplogging:213] [30/Mar/2023:13:44:59] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('0.0.0.0', 8080)) already shut down

2023-03-30 13:44:59,642 DEBG 'start-script' stdout output:
2023-03-30 13:44:59,641::INFO::[_cplogging:213] [30/Mar/2023:13:44:59] ENGINE HTTP Server None already shut down

2023-03-30 13:44:59,642 DEBG 'start-script' stdout output:
2023-03-30 13:44:59,642::INFO::[_cplogging:213] [30/Mar/2023:13:44:59] ENGINE Bus STOPPED

2023-03-30 13:44:59,644 DEBG 'start-script' stdout output:
2023-03-30 13:44:59,642::INFO::[_cplogging:213] [30/Mar/2023:13:44:59] ENGINE Bus EXITING

2023-03-30 13:44:59,644 DEBG 'start-script' stdout output:
2023-03-30 13:44:59,643::INFO::[_cplogging:213] [30/Mar/2023:13:44:59] ENGINE Bus EXITED

2023-03-30 13:44:59,650 DEBG fd 8 closed, stopped monitoring <POutputDispatcher at 23351107828752 for <Subprocess at 23351108307072 with name start-script in state RUNNING> (stdout)>
2023-03-30 13:44:59,651 DEBG fd 10 closed, stopped monitoring <POutputDispatcher at 23351108312064 for <Subprocess at 23351108307072 with name start-script in state RUNNING> (stderr)>
2023-03-30 13:44:59,651 WARN exited: start-script (exit status 70; not expected)
2023-03-30 13:44:59,652 DEBG received SIGCHLD indicating a child quit
2023-03-31 10:02:53,478 WARN received SIGTERM indicating exit request
Created by...
___. .__ .__
\_ |__ |__| ____ | |__ ____ ___ ___
| __ \| |/ \| | \_/ __ \\ \/ /
| \_\ \ | | \ Y \ ___/ > <
|___ /__|___| /___| /\___ >__/\_ \
\/ \/ \/ \/ \/
https://hub.docker.com/u/binhex/

2023-03-31 10:04:38.338124 [info] Host is running unRAID
2023-03-31 10:04:38.375507 [info] System information Linux e353e098ed37 4.19.98-Unraid #1 SMP Sun Jan 26 09:15:03 PST 2020 x86_64 GNU/Linux
2023-03-31 10:04:38.470204 [info] OS_ARCH defined as 'x86-64'
2023-03-31 10:04:38.520789 [info] PUID defined as '99'
2023-03-31 10:04:38.685512 [info] PGID defined as '100'
2023-03-31 10:04:39.116171 [info] UMASK defined as '000'
2023-03-31 10:04:39.168596 [info] Permissions already set for '/config'
2023-03-31 10:04:39.344111 [info] Deleting files in /tmp (non recursive)...
2023-03-31 10:04:39.437407 [info] Starting Supervisor...
2023-03-31 10:04:46,013 INFO Included extra file "/etc/supervisor/conf.d/sabnzbd.conf" during parsing
2023-03-31 10:04:46,013 INFO Set uid to user 0 succeeded
2023-03-31 10:04:46,057 INFO supervisord started with pid 6
2023-03-31 10:04:47,060 INFO spawned: 'start-script' with pid 57
2023-03-31 10:04:47,060 INFO reaped unknown pid 7 (exit status 0)
2023-03-31 10:04:48,061 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2023-03-31 10:04:55,595 DEBG 'start-script' stdout output:
2023-03-31 10:04:55,591::INFO::[SABnzbd:1167] --------------------------------

2023-03-31 10:04:55,596 DEBG 'start-script' stdout output:
2023-03-31 10:04:55,595::INFO::[SABnzbd:1168] SABnzbd.py-3.7.2

2023-03-31 10:04:55,597 DEBG 'start-script' stdout output:
2023-03-31 10:04:55,596::INFO::[SABnzbd:1178] Commit = fab36ec008e7716eb243f12eae2ea13e0d19c623

2023-03-31 10:04:55,597 DEBG 'start-script' stdout output:
2023-03-31 10:04:55,597::INFO::[SABnzbd:1180] Full executable path = /usr/lib/sabnzbd/SABnzbd.py

2023-03-31 10:04:55,598 DEBG 'start-script' stdout output:
2023-03-31 10:04:55,597::INFO::[SABnzbd:1181] Arguments = "/usr/lib/sabnzbd/SABnzbd.py" "--config-file" "/config" "--server" "0.0.0.0:8080" "--https" "8090"

2023-03-31 10:04:55,598 DEBG 'start-script' stdout output:
2023-03-31 10:04:55,598::INFO::[SABnzbd:1182] Python-version = 3.10.9 (main, Dec 19 2022, 17:35:49) [GCC 12.2.0]


2023-03-31 10:04:55,600 DEBG 'start-script' stdout output:
2023-03-31 10:04:55,598::INFO::[SABnzbd:1183] Dockerized = True

2023-03-31 10:04:55,600 DEBG 'start-script' stdout output:
2023-03-31 10:04:55,600::INFO::[SABnzbd:1184] CPU architecture = x86_64

2023-03-31 10:04:55,603 DEBG 'start-script' stdout output:
2023-03-31 10:04:55,602::INFO::[SABnzbd:1187] Platform = posix - Linux-4.19.98-Unraid-x86_64-with-glibc2.36

2023-03-31 10:04:55,603 DEBG 'start-script' stdout output:
2023-03-31 10:04:55,603::INFO::[SABnzbd:1193] Preferred encoding = UTF-8

2023-03-31 10:04:55,604 DEBG 'start-script' stdout output:
2023-03-31 10:04:55,603::INFO::[SABnzbd:1215] SSL version = OpenSSL 3.0.7 1 Nov 2022


2023-03-31 10:04:55,606 DEBG 'start-script' stdout output:
2023-03-31 10:04:55,605::INFO::[SABnzbd:1224] Certifi version = 2022.12.07


2023-03-31 10:04:55,607 DEBG 'start-script' stdout output:
2023-03-31 10:04:55,605::INFO::[SABnzbd:1225] Loaded additional certificates from /usr/lib/sabnzbd/venv/lib/python3.10/site-packages/certifi/cacert.pem
2023-03-31 10:04:55,606::INFO::[SABnzbd:1246] Using INI file /config/sabnzbd.ini

2023-03-31 10:04:55,609 DEBG 'start-script' stdout output:
2023-03-31 10:04:55,609::INFO::[postproc:134] Loading postproc queue

2023-03-31 10:04:55,614 DEBG 'start-script' stdout output:
2023-03-31 10:04:55,613::INFO::[scheduler:190] Scheduling RSS interval task every 60 min (delay=5)

2023-03-31 10:04:55,616 DEBG 'start-script' stdout output:
2023-03-31 10:04:55,615::INFO::[scheduler:201] Scheduling VersionCheck on day 5 at 5:34

2023-03-31 10:04:55,617 DEBG 'start-script' stdout output:
2023-03-31 10:04:55,616::INFO::[scheduler:215] Setting schedule for midnight BPS reset

2023-03-31 10:04:55,620 DEBG 'start-script' stdout output:
2023-03-31 10:04:55,618::INFO::[scheduler:218] Setting schedule for server expiration check

2023-03-31 10:04:55,625 DEBG 'start-script' stdout output:
2023-03-31 10:04:55,622::INFO::[scheduler:223] Setting schedule for server quota check

2023-03-31 10:04:55,633 DEBG 'start-script' stdout output:
2023-03-31 10:04:55,630::INFO::[__init__:321] All processes started

2023-03-31 10:04:55,639 DEBG 'start-script' stdout output:
2023-03-31 10:04:55,637::INFO::[SABnzbd:336] Template location for Glitter is /usr/lib/sabnzbd/interfaces/Glitter

2023-03-31 10:04:55,642 DEBG 'start-script' stdout output:
2023-03-31 10:04:55,638::INFO::[SABnzbd:336] Template location for Config is /usr/lib/sabnzbd/interfaces/Config

2023-03-31 10:04:55,655 DEBG 'start-script' stdout output:
2023-03-31 10:04:55,652::INFO::[misc:1166] [N/A] Running external command: ['/usr/sbin/unrar']

2023-03-31 10:04:55,669 DEBG 'start-script' stdout output:
2023-03-31 10:04:55,668::INFO::[misc:1166] [N/A] Running external command: ['/usr/sbin/7za']

2023-03-31 10:04:55,708 DEBG 'start-script' stdout output:
2023-03-31 10:04:55,708::INFO::[misc:1166] [N/A] Running external command: ['/usr/sbin/par2', '-h']

2023-03-31 10:04:55,764 DEBG 'start-script' stdout output:
2023-03-31 10:04:55,763::INFO::[SABnzbd:423] SABYenc module (v5.4.4)... found!

2023-03-31 10:04:55,764 DEBG 'start-script' stdout output:
2023-03-31 10:04:55,764::INFO::[SABnzbd:424] SABYenc module is using SIMD set: SSSE3

2023-03-31 10:04:55,764 DEBG 'start-script' stdout output:
2023-03-31 10:04:55,764::INFO::[SABnzbd:443] Cryptography module (v39.0.0)... found!

2023-03-31 10:04:55,765 DEBG 'start-script' stdout output:
2023-03-31 10:04:55,764::INFO::[SABnzbd:448] par2 binary... found (/usr/sbin/par2)

2023-03-31 10:04:55,765 DEBG 'start-script' stdout output:
2023-03-31 10:04:55,765::INFO::[SABnzbd:455] UNRAR binary... found (/usr/sbin/unrar)

2023-03-31 10:04:55,766 DEBG 'start-script' stdout output:
2023-03-31 10:04:55,765::INFO::[SABnzbd:463] UNRAR binary version 6.21


2023-03-31 10:04:55,766 DEBG 'start-script' stdout output:
2023-03-31 10:04:55,766::INFO::[SABnzbd:471] 7za binary... found (/usr/sbin/7za)

2023-03-31 10:04:55,766 DEBG 'start-script' stdout output:
2023-03-31 10:04:55,766::INFO::[SABnzbd:473] 7za binary version 17.04


2023-03-31 10:04:55,767 DEBG 'start-script' stdout output:
2023-03-31 10:04:55,766::INFO::[SABnzbd:484] nice binary... found (/usr/sbin/nice)

2023-03-31 10:04:55,767 DEBG 'start-script' stdout output:
2023-03-31 10:04:55,767::INFO::[SABnzbd:488] ionice binary... found (/usr/sbin/ionice)

2023-03-31 10:04:55,771 DEBG 'start-script' stdout output:
2023-03-31 10:04:55,771::INFO::[SABnzbd:1303] HTTPS keys are OK

2023-03-31 10:04:55,772 DEBG 'start-script' stdout output:
2023-03-31 10:04:55,772::INFO::[SABnzbd:1435] Starting web-interface on 0.0.0.0:8090

2023-03-31 10:04:55,772 DEBG 'start-script' stdout output:
2023-03-31 10:04:55,772::INFO::[_cplogging:213] [31/Mar/2023:10:04:55] ENGINE Bus STARTING

2023-03-31 10:04:55,880 DEBG 'start-script' stdout output:
2023-03-31 10:04:55,878::INFO::[notifier:123] Sending notification: Error - [31/Mar/2023:10:04:55] ENGINE Error in 'start' listener <bound method Server.start of <cherrypy._cpserver.Server object at 0x14ed22ad7670>>

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-03-31 10:04:55,882 DEBG 'start-script' stdout output:
2023-03-31 10:04:55,878::ERROR::[_cplogging:213] [31/Mar/2023:10:04:55] ENGINE Error in 'start' listener <bound method Server.start of <cherrypy._cpserver.Server object at 0x14ed22ad7670>>

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


2023-03-31 10:04:55,891 DEBG 'start-script' stdout output:
2023-03-31 10:04:55,888::ERROR::[_cplogging:213] [31/Mar/2023:10:04:55] ENGINE Error in 'start' listener <bound method Server.start of <cherrypy._cpserver.Server object at 0x14ed2130da80>>

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 180, in start
super(Server, self).start()
File "/usr/lib/sabnzbd/venv/lib/python3.10/site-packages/cherrypy/process/servers.py", line 182, in start
t.start()
File "/usr/lib/python3.10/threading.py", line 935, in start
_start_new_thread(self._bootstrap, ())
RuntimeError: can't start new thread


2023-03-31 10:04:55,897 DEBG 'start-script' stdout output:
2023-03-31 10:04:55,893::ERROR::[_cplogging:213] [31/Mar/2023:10:04:55] ENGINE Shutting down due to error in start listener:

Traceback (most recent call last):
File "/usr/lib/sabnzbd/venv/lib/python3.10/site-packages/cherrypy/process/wspbus.py", line 268, in start
self.publish('start')
File "/usr/lib/sabnzbd/venv/lib/python3.10/site-packages/cherrypy/process/wspbus.py", line 248, in publish
raise exc
cherrypy.process.wspbus.ChannelFailures: RuntimeError('cannot join thread before it is started')
RuntimeError("can't start new thread")


2023-03-31 10:04:55,905 DEBG 'start-script' stdout output:
2023-03-31 10:04:55,903::INFO::[_cplogging:213] [31/Mar/2023:10:04:55] ENGINE Bus STOPPING

2023-03-31 10:04:55,906 DEBG 'start-script' stdout output:
2023-03-31 10:04:55,905::INFO::[_cplogging:213] [31/Mar/2023:10:04:55] ENGINE HTTP Server None already shut down

2023-03-31 10:04:55,907 DEBG 'start-script' stdout output:
2023-03-31 10:04:55,906::INFO::[_cplogging:213] [31/Mar/2023:10:04:55] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('0.0.0.0', 8080)) already shut down

2023-03-31 10:04:55,907 DEBG 'start-script' stdout output:
2023-03-31 10:04:55,907::INFO::[_cplogging:213] [31/Mar/2023:10:04:55] ENGINE Bus STOPPED

2023-03-31 10:04:55,908 DEBG 'start-script' stdout output:
2023-03-31 10:04:55,907::INFO::[_cplogging:213] [31/Mar/2023:10:04:55] ENGINE Bus EXITING

2023-03-31 10:04:55,908 DEBG 'start-script' stdout output:
2023-03-31 10:04:55,908::INFO::[_cplogging:213] [31/Mar/2023:10:04:55] ENGINE Bus EXITED

2023-03-31 10:04:55,911 DEBG fd 8 closed, stopped monitoring <POutputDispatcher at 22798840970256 for <Subprocess at 22798841514112 with name start-script in state RUNNING> (stdout)>
2023-03-31 10:04:55,911 DEBG fd 10 closed, stopped monitoring <POutputDispatcher at 22798841519104 for <Subprocess at 22798841514112 with name start-script in state RUNNING> (stderr)>
2023-03-31 10:04:55,911 WARN exited: start-script (exit status 70; not expected)
2023-03-31 10:04:55,912 DEBG received SIGCHLD indicating a child quit


Thanks in advanced 

Link to comment
On 2/18/2023 at 9:01 AM, Fearmonger said:

I am trying to get binhex-SABNZBD deployed on an alternative port in Unraid. I can get it deployed and working on port 8080 but I want/need to get it deployed on port 3000.

The config.ini keeps changing back to 8080 when I start the container.

I have tried changing the container ports before deploying and that didn't work, including selecting the advanced view and changing the port for the webui.

 

Is there a guide or something I am missing to get the port moved when deploying this on Unraid?

 

THIS!

 

Christ almighty. I absolutely love binehx's containers but the one thing that's always gotten me is that we can never change the app/internal ports.

 

I'm routing this through GluetunVPN and so the port mappings will need to be deleted. Meaning 8080 will be the port in use. Unfortunately, I need to run another container through the VPN also which uses 8080 internal.

 

The other container utilises noVNC so I'm not sure if there's a way to make that work on a different port, but the easiest would be to force the sabnzbd .ini to actually hold the settings I've given it. Is there anyway to reliably change the setting in the app, and thus, the container's internal port?

 

Using the VPN built into any of the Binhex containers is not an option for me due to Mullvad device limits I'm afraid.

Cheers

Edited by Avsynthe
Link to comment
  • 5 weeks later...
  • 2 months later...

@binhex  Since the last update, my nzbtomedia stuff is broken and I'm getting the below errors from the sabnzbd gui when the script tries to run.

 

I'm going to rollback.  Which version should I rollback to?

 

Traceback (most recent call last): File "/nzbToMedia/nzbToSickBeard.py", line 275, in <module> import nzbToMedia File "/nzbToMedia/nzbToMedia.py", line 732, in <module> eol.check() File "/nzbToMedia/eol.py", line 101, in check warn_for_status(version, grace_period) File "/nzbToMedia/eol.py", line 142, in warn_for_status days_left = lifetime(version) ^^^^^^^^^^^^^^^^^ File "/nzbToMedia/eol.py", line 72, in lifetime time_left = PYTHON_EOL[(major, minor)] - now ~~~~~~~~~~^^^^^^^^^^^^^^^^ KeyError: (3, 11)

 

any ideas on what is causing this?  I've no issues with this script for years, so something has changed.

 

Thanks!

 

Update: rolled back to 4.0.2-1-02, same errors:

 

Traceback (most recent call last): File "/nzbToMedia/nzbToSickBeard.py", line 275, in <module> import nzbToMedia File "/nzbToMedia/nzbToMedia.py", line 732, in <module> eol.check() File "/nzbToMedia/eol.py", line 101, in check warn_for_status(version, grace_period) File "/nzbToMedia/eol.py", line 142, in warn_for_status days_left = lifetime(version) ^^^^^^^^^^^^^^^^^ File "/nzbToMedia/eol.py", line 72, in lifetime time_left = PYTHON_EOL[(major, minor)] - now ~~~~~~~~~~^^^^^^^^^^^^^^^^ KeyError: (3, 11)

 

Going to try 4.0.1-1-01

 

Update:  rolling back to .0.1-1-01 resolved the issue, no more errors.  Will stay on this version until fixed

Edited by optiman
tested
Link to comment
  • 1 month later...
17 minutes ago, optiman said:

@binhex  Any update on fixing this?  I'm still on 4.0.1-1-01, which is working fine.

if the issue is with a third party script (which it looks like it is, right?) then you will need to raise an issue and say the script is not compatible with the latest version of sabnzbd, a quick google looks like you would raise an issue here:- https://github.com/clinton-hall/nzbToMedia/issues

 

EDIT - looks like this is a match for your issue, your script is out of date most likely:- https://github.com/clinton-hall/nzbToMedia/issues/1960

Link to comment
On 4/7/2023 at 5:37 AM, Avsynthe said:

 

THIS!

 

Christ almighty. I absolutely love binehx's containers but the one thing that's always gotten me is that we can never change the app/internal ports.

 

I'm routing this through GluetunVPN and so the port mappings will need to be deleted. Meaning 8080 will be the port in use. Unfortunately, I need to run another container through the VPN also which uses 8080 internal.

 

The other container utilises noVNC so I'm not sure if there's a way to make that work on a different port, but the easiest would be to force the sabnzbd .ini to actually hold the settings I've given it. Is there anyway to reliably change the setting in the app, and thus, the container's internal port?

 

Using the VPN built into any of the Binhex containers is not an option for me due to Mullvad device limits I'm afraid.

Cheers

I'm in the same boat currently.

Looking into editing the image itself but I'm a total Docker noob so we'll see how that goes.

Link to comment
On 8/14/2023 at 1:41 PM, binhex said:

if the issue is with a third party script (which it looks like it is, right?) then you will need to raise an issue and say the script is not compatible with the latest version of sabnzbd, a quick google looks like you would raise an issue here:- https://github.com/clinton-hall/nzbToMedia/issues

 

EDIT - looks like this is a match for your issue, your script is out of date most likely:- https://github.com/clinton-hall/nzbToMedia/issues/1960

 

After updating the script and installing the latest version of your docker, the script is now working again, thank you!

 

For referrence, this is what they had me do:

 

do a git pull from within the Docker terminal.

Once you are connected via terminal (as the appropriate user) try the following commands to do a git pull (and clean etc)

cd /nzbToMedia

git reset --hard

git pull

git clean -i

 

The last step to clean didn't work.  I'm waiting for a reply to find out why

Edited by optiman
Link to comment
  • 4 weeks later...

I have permissions problems:
In windows explorer: I cannot move / edit / delete files

I have tried multiple file mapping combinations, docker safe new perms, windows permissions, and so far nothing has worked.

permissions.png.d83c9bd7fea438d7a10aa949dc8f7822.png

116346568_permissionsunraid.thumb.png.6714d1fb70ba62ec5cd5f3d1d2114884.png
image.thumb.png.236dc52f9f58384f08eb1b2d361c799f.png

image.thumb.png.5e160d31cde0c785f9bf9413cd49f1a3.png

I'm not totally sure if there is something here also:
image.png.3e708db76aa5fa35e3239f2fad889f55.png

Although this option is not available on Sonnar anyway (that I can find anyway)

 

Any advice appricated

alien-diagnostics-20230919-1133.zip

Edited by K1LLA_KING_KING
Link to comment
  • 2 weeks later...
20 hours ago, domidomi said:

Is there any chance we can get par2cmdline-turbo into the image? It would greatly improve repair performance.

https://sabnzbd.org/wiki/installation/par2cmdline-turbo

ive added this to a 'test' tagged image, please pull down, if you dont know how to specify the 'test' tag then see Q5:- https://github.com/binhex/documentation/blob/master/docker/faq/unraid.md 

  • Like 2
Link to comment
1 hour ago, domidomi said:

Thanks, I'm now using the "test" image tag. Not sure how to verify that it works to be honest! :) 

the only way would be to download something with the new image and time it, then switch back to tag 'latest' and download the same thing again timed and see what the difference is, hopefully the 'test' tagged image is faster to repair, you will of course need to find an older nzb that does need repairing :-).

if that is too much work then can you at least ensure it does work correctly (repairs using par files when required).

  • Like 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.