[Support] Linuxserver.io - SABnzbd


Recommended Posts

On 4/3/2018 at 11:07 AM, methanoid said:

Apparently a default SABNZBD install has Deobfuscate.py included... in the root dir and it can/should be moved to scripts directory.. can this be put back into the next update please? I know I can manually add but I prefer less messing with the docker...

 

I'm looking for a more "official" method of getting the built-in deobfuscate.py script. I now downloaded the python script manually and have put it in the config folder. The downside of this method is that any update to the image/sabnzbd will not update the python script.

Link to comment
  • 1 month later...

I was trying to get Telegram notifications working with the Docker. From what I can see, you just enable the "notification script" option, and then fill out some variables to send to "sabnzbd-notify.py"

 

I'm getting errors and it's not working. I cannot remember if I added the Notify script myself to "appdata\sabnzbd\scripts" or if it was included with the configuration. But it's there now. I made the python files executable (I just 777'd them, because I don't understand security, or linux I guess) and it seems like it's missing other things. 

 

Anyone got this working? Or have tips on what I should do? Most of my googling comes back to installing missing Python libraries (setuptools), but I'm not sure I want to go too deep down that rabbit hole without asking here first.

Link to comment
  • 4 weeks later...

I am using this Docker (for many years now) and I have always had one nagging experience with it.  When ever a download is active, my raid becomes a crawling snail.  If I am watching a video from the raid and SAB is downloading the video will freeze completely for a few seconds.

 

Anyone else experience this?  Any way to fix it?

Link to comment
9 hours ago, comfox said:

I am using this Docker (for many years now) and I have always had one nagging experience with it.  When ever a download is active, my raid becomes a crawling snail.  If I am watching a video from the raid and SAB is downloading the video will freeze completely for a few seconds.

 

Anyone else experience this?  Any way to fix it?

Could be a few things. If you're using btrfs cache pool, there is an existing unraid issue that causes it, not related to sab.

 

You can also limit the number of processor cores sab uses so it doesn't use all during extraction

Edited by aptalca
Link to comment
21 hours ago, Squid said:

You could try switching to nzbget  (it's more efficient)   but, your issue sounds like a drive hs to spin up to store the downloads.   This will tend to pause all active transfers with most controllers 

Thanks, maybe I will try it this weekend and see.

14 hours ago, aptalca said:

Could be a few things. If you're using btrfs cache pool, there is an existing unraid issue that causes it, not related to sab.

 

You can also limit the number of processor cores sab uses so it doesn't use all during extraction

I am using XFS for the cache drive, there is no pool.  I have tried having the downloads on the cache drive and the user shares and the experience is the same on both.

Link to comment
37 minutes ago, biggeek said:

How can I find out why there is an update?

Pretty much every app from linuxserver will show an update every Friday @ 23:00 GMT.  The images are updated at that time with the updated app (if one exists), any security patches to the base OS, etc.

 

Alternatively, you not running 6.8 and an issue exists due to a change at dockerHub where most containers will show an update available whenever a check for updates is done.  The fix is to install the Auto Update plugin which will patch unRaid to prevent this behaviour (you don't even need to configure the plugin to install updates for you)

Link to comment
9 hours ago, biggeek said:

Hi All,

This may be a obvious to others but i can't find the info.

When I see Unraid tell me there is an update for this docker, I jump over to the project page but never see anything showing that any code changed.

How can I find out why there is an update?

TIA!

Check docker hub tags and you'll see the updates. Github repo also lists all the releases that will coincide with docker hub updates.

 

We no longer do Friday updates. Instead, there are new builds pushed when either 

1) there is a commit to the active branch

2) there is a new upstream release

3) the is an os package update

Link to comment

Hello,

I just had my router upgraded by my network provider and suddenly I cannot access Sabnzbd from the WAN.
I can't seem to find the culprit.
I didn't change a thing in Sabnzbd on Unraid.
Unraid is still getting the same IP as before.
I forwarded the same port as before on the router.
I checked that my LAN address is still accessible from the Internet and rightly translated at my dynamic DNS provider.
I think I checked everything and still no access.
Please help.

 

Thanks

 

image.png.5aadb78e5073b4fb395582ed95af46b6.png

Edited by xtrips
Link to comment
  • 1 month later...
3 hours ago, andyd said:

Not sure if this is the right place to  point this out but looks like the app is ignoring the max speed setting (a fairly new issue)...

 

 

Annotation 2019-12-30 075110.jpg

Set the max speed to 12 and then set the throttle to 8 (66%).

 

I would assume the way you currently set it up (100%) would be handled as "no throttle"

Link to comment
  • 2 weeks later...

Hi everyone,

 

I’ve got a weird problem and need help: I was a victim of the SQLite corruption bug in unraid and downgraded my server to unraid 6.6.7 because of that.

 

Ever since the corruption bug sab is crashing all the time. On the 6.7.x unraid version same with the old 6.6.7. 

 

Today I’ve removed the whole appdata folder for sab, deleted the docker template and reinstalled sab. After the first start i can go to the webinterface and after one to two minutes its crashing again. The log shows me that the server should still be running but i cant get to the webinterface and before the reinstall stuff like couchpotato also couldn’t reach the server anymore.

 

The container is running on a custom bridge like all the other dockers.

 

In my current situation i can’t figure out what the best angle of attack is for my problem (other than asking you guys :-):

1. The unraid machine is running for 99 days without problems, since I’m not home i don’t want to upgrade to unraid 6.8 currently

2. I don’t know how to get to debug logs for the Container/Sabnzbd, the normal log just says “opening browser at x.x.x.x:8080”... which is not helpful. You guys know how to access better information?

3. Is sab using files other than in the appdata dir which could still be corrupted?

4. Could i see something in the unraid logs and not in the docker logs?

 

Thank you for some pointers.

Link to comment
8 hours ago, xxlbug said:

1. The unraid machine is running for 99 days without problems, since I’m not home i don’t want to upgrade to unraid 6.8 currently

2. I don’t know how to get to debug logs for the Container/Sabnzbd, the normal log just says “opening browser at x.x.x.x:8080”... which is not helpful.

Have you looked in the logs folder in the appdata directory. 

8 hours ago, xxlbug said:

3. Is sab using files other than in the appdata dir which could still be corrupted?

No, although the docker.img file being full can give some pretty weird errors.  Might be worth a look.

 

8 hours ago, xxlbug said:

4. Could i see something in the unraid logs and not in the docker logs?

No, that's very unlikely, containers are isolated.

Link to comment
10 hours ago, CHBMB said:

Have you looked in the logs folder in the appdata directory. 

There i only find the Sabnzbd.log file which is also shown from the docker log menu. The latest entries see down below (the container is still running several hours later but is not responsive anymore.

 

2020-01-09 00:12:54,161::INFO::[sabnzbdplus:1152] --------------------------------
2020-01-09 00:12:54,161::INFO::[sabnzbdplus:1153] sabnzbdplus-2.3.9 (rev=03c10dce91e13918bc2e6f8ca9c309196b90be11)
2020-01-09 00:12:54,161::INFO::[sabnzbdplus:1154] Full executable path = /usr/bin/sabnzbdplus
2020-01-09 00:12:54,162::INFO::[sabnzbdplus:1164] Platform = posix
2020-01-09 00:12:54,162::INFO::[sabnzbdplus:1165] Python-version = 2.7.17 (default, Nov  7 2019, 10:07:09) 
[GCC 7.4.0]
2020-01-09 00:12:54,162::INFO::[sabnzbdplus:1166] Arguments = /usr/bin/sabnzbdplus --config-file /config --server 0.0.0.0:8080
2020-01-09 00:12:54,163::INFO::[sabnzbdplus:1171] Preferred encoding = UTF-8
2020-01-09 00:12:54,163::INFO::[sabnzbdplus:1181] SSL version = OpenSSL 1.1.1  11 Sep 2018
2020-01-09 00:12:54,163::INFO::[sabnzbdplus:1229] Read INI file /config/sabnzbd.ini
2020-01-09 00:12:54,166::INFO::[postproc:100] Loading postproc queue
2020-01-09 00:12:54,168::INFO::[__init__:985] [N/A] /config/admin/Rating.sab missing
2020-01-09 00:12:54,169::INFO::[scheduler:197] Setting schedule for midnight BPS reset
2020-01-09 00:12:54,175::INFO::[config:853] Writing settings to INI file /config/sabnzbd.ini
2020-01-09 00:12:54,183::INFO::[__init__:349] All processes started
2020-01-09 00:12:54,184::INFO::[sabnzbdplus:286] Web dir is /usr/share/sabnzbdplus/interfaces/Glitter
2020-01-09 00:12:54,184::INFO::[sabnzbdplus:286] Web dir is /usr/share/sabnzbdplus/interfaces/Config
2020-01-09 00:12:54,190::INFO::[config:853] Writing settings to INI file /config/sabnzbd.ini
2020-01-09 00:12:54,216::INFO::[sabnzbdplus:397] SABYenc module (v3.3.6)... found!
2020-01-09 00:12:54,217::INFO::[sabnzbdplus:414] Cryptography module (v2.1.4)... found!
2020-01-09 00:12:54,217::INFO::[sabnzbdplus:419] par2 binary... found (/usr/bin/par2)
2020-01-09 00:12:54,218::INFO::[sabnzbdplus:429] UNRAR binary... found (/usr/bin/unrar)
2020-01-09 00:12:54,218::INFO::[sabnzbdplus:437] UNRAR binary version 5.50
2020-01-09 00:12:54,219::INFO::[sabnzbdplus:442] unzip binary... found (/usr/bin/unzip)
2020-01-09 00:12:54,220::INFO::[sabnzbdplus:447] 7za binary... found (/usr/bin/7za)
2020-01-09 00:12:54,220::INFO::[sabnzbdplus:453] nice binary... found (/usr/bin/nice)
2020-01-09 00:12:54,221::INFO::[sabnzbdplus:457] ionice binary... found (/usr/bin/ionice)
2020-01-09 00:12:54,223::INFO::[sabnzbdplus:1385] Starting web-interface on 0.0.0.0:8080
2020-01-09 00:12:54,225::INFO::[_cplogging:219] [09/Jan/2020:00:12:54] ENGINE Bus STARTING
2020-01-09 00:12:54,341::INFO::[_cplogging:219] [09/Jan/2020:00:12:54] ENGINE Serving on http://0.0.0.0:8080
2020-01-09 00:12:54,342::INFO::[_cplogging:219] [09/Jan/2020:00:12:54] ENGINE Bus STARTED
2020-01-09 00:12:54,343::INFO::[sabnzbdplus:1423] Starting sabnzbdplus-2.3.9
2020-01-09 00:12:54,360::INFO::[postproc:187] Completed Download Folder /config/Downloads/complete is not on FAT
2020-01-09 00:12:54,371::INFO::[dirscanner:330] Dirscanner starting up
2020-01-09 00:12:54,373::INFO::[urlgrabber:82] URLGrabber starting up
2020-01-09 00:12:54,373::INFO::[panic:209] Launching browser with http://127.0.0.1:8080/sabnzbd

Quote

No, although the docker.img file being full can give some pretty weird errors.  Might be worth a look.

Nothing out of the ordinary, 13 GB full of a 50 GB docker.img

Quote

No, that's very unlikely, containers are isolated.

 

Link to comment
  • 5 weeks later...

I recently updated Sab docker to the latest version and it just downloads the nzb and just sits on checking. This is the log file. Its not very much.

Any ideas?

I have rebooted.. Upgraded to unraid 6.8.2 and forced upgrade of the docker

Thanks

 

Edit: I went to the docker hub and i noticed this on the versions

Versions

02.01.20: - Add python3 on top of python2 to image during transition.

Could that be causing problems since the errors seem to be python related?

 

Log------

Brought to you by linuxserver.io
We gratefully accept donations at:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------

User uid: 99
User gid: 100
-------------------------------------

[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 20-config: executing...
[cont-init.d] 20-config: exited 0.
[cont-init.d] 99-custom-scripts: executing...
[custom-init] no custom files found exiting...
[cont-init.d] 99-custom-scripts: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
2020-02-08 18:15:26,592::ERROR::[_cplogging:219] [08/Feb/2020:18:15:26] ENGINE Error in HTTPServer.tick
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/cherrypy/wsgiserver/__init__.py", line 2021, in start
self.tick()
File "/usr/lib/python3/dist-packages/cherrypy/wsgiserver/__init__.py", line 2090, in tick
s, ssl_env = self.ssl_adapter.wrap(s)
File "/usr/lib/python3/dist-packages/cherrypy/wsgiserver/ssl_builtin.py", line 67, in wrap
server_side=True)
File "/usr/lib/python3.6/ssl.py", line 407, in wrap_socket
_context=self, _session=session)
File "/usr/lib/python3.6/ssl.py", line 817, in __init__
self.do_handshake()
File "/usr/lib/python3.6/ssl.py", line 1077, in do_handshake
self._sslobj.do_handshake()
File "/usr/lib/python3.6/ssl.py", line 689, in do_handshake
self._sslobj.do_handshake()
OSError: [Errno 0] Error

Edited by Aric
Link to comment
  • 1 month later...

Hi I hope someone can help. I've installed Linuxserver Sabnzbd docker and also Filebot. I want Sabnzbd to process this Filebot AMC:

/opt/filebot/filebot -script fn:amc /mnt/disks/WDC_WD30EZRX-00D8PB0_WD-WCC4N7VXZ3TR/downloads/complete/film --output /mnt/user/Film/ --action test -non-strict --conflict override --lang da --def "ut_label=movie" --def movieFormat="/mnt/user/Film/{n} ({y})/{n} ({y}){' CD'+pi}{'.'+lang}" --def artwork=y --def subtitles=da,en --log-file amc.log --def root=y --def clean=y

 

I've tried to convert it to this script for Sabnzbd but it gives me this error:

/mnt/disks/WDC_WD30EZRX-00D8PB0_WD-WCC4N7VXZ3TR/downloads/complete/scripts/test.sh: line 8: /opt/filebot/filebot: No such file or directory
/mnt/disks/WDC_WD30EZRX-00D8PB0_WD-WCC4N7VXZ3TR/downloads/complete/scripts/test.sh: line 21: --def: command not found

 

 

#!/bin/sh
               or (tried both same error)
#!/bin/bash


# SABnzbd Post Processing Script - www.Filebot.net "AMC" Script

FILE_PATH=$1
FILE_NAME=$3

/opt/filebot/filebot -script \
fn:amc \
/mnt/disks/WDC_WD30EZRX-00D8PB0_WD-WCC4N7VXZ3TR/downloads/complete/film \
--output /mnt/user/Film/ \
--log-file amc.log \
--action move \
--conflict override -non-strict \
--lang da \
--def "ut_label=movie" \
--def movieFormat="/mnt/user/Film/{n} ({y})/{n} ({y}){' CD'+pi}{'.'+lang}" \
--def artwork=y \
--def subtitles=da,en \
--log-file amc.log \
--def clean=y \

 

 

Link to comment
  • 2 months later...

I'm running into a strange situation where everytime I update SABnzbd I need to re-setup everything. As in I click update in the Unraid webui, it says update successful, then when I open the SABnzbd webui it has the configuration wizard, all my previous settings are lost. This has happened the past 2-3 updates, I just got a new update notification and I haven't run the update wondering if there is something I can do to keep from having to reconfigure everything?

Link to comment
1 hour ago, Vagus said:

I'm running into a strange situation where everytime I update SABnzbd I need to re-setup everything. As in I click update in the Unraid webui, it says update successful, then when I open the SABnzbd webui it has the configuration wizard, all my previous settings are lost. This has happened the past 2-3 updates, I just got a new update notification and I haven't run the update wondering if there is something I can do to keep from having to reconfigure everything?

Likely your volume mounts are incorrect

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.