[SNAP, LMDE 6] sabnzbd don't allow commandline parameters

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
Mero
Newbie
Newbie
Posts: 6
Joined: September 21st, 2024, 9:12 pm

[SNAP, LMDE 6] sabnzbd don't allow commandline parameters

Post by Mero »

I used all the time sabnzbd 3.7.1 provided by Synaptic Package Manager on LM Debian Edition 6.
With the last update & upgrade sabnzbd stopped working. Was still running, but after starting a download sabnzbd quits.
So I installed via apt the newest version, but the same issue. Running, but when starting a DL it just quits.

Now I installed SNAP-sabnzbd, that one is working.
But now I can't use my normal commandline parameters (My parameters)

After stopping the SNAP-sabnzbd-service I tried
1. snap run sabnzbd <parameters>
and
2. /snap/sabnzbd/6382/opt/sabnzbd/SABnzbd.py <parameters>
but the parameters are not working. Running the 2. command the parameters are shown unter sabnzbd/config/parameters, but without effect.

so how can I make SNAP to use my parameters?
User avatar
jcfp
Release Testers
Release Testers
Posts: 1032
Joined: February 7th, 2008, 12:45 pm

Re: [SNAP, LMDE 6] sabnzbd don't allow commandline parameters

Post by jcfp »

LMDE6 is based on debian bookworm, which had issues with a recent update of openssl/libssl3 from 3.0.16 to 3.0.17; see https://github.com/sabnzbd/sabnzbd/issu ... 3153907759 for details. Should be fixed in bookworm by the new openssl/libssl3 update to 3.0.17-1~deb12u2.

(Noticed you already found a solution for the snap part in viewtopic.php?t=26666)
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: [SNAP, LMDE 6] sabnzbd don't allow commandline parameters

Post by sander »

Mero
Newbie
Newbie
Posts: 6
Joined: September 21st, 2024, 9:12 pm

Re: [SNAP, LMDE 6] sabnzbd don't allow commandline parameters

Post by Mero »

Thanks for the Infos and Links @jcfp and @sander

I updated the system and 3.0.17-1~deb12u2 is installed. But if the snap-version is now accepting additional parameters I would stay with SNAP as it performs better on my LMDE6 running as VM on an old PC.

My SNAP-sabnzbd is also on newest version 4.5.3Beta2 and I read on Github #3126 "Command tweaked to allow extra arguments". My question now: How to add my extra parameters?
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: [SNAP, LMDE 6] sabnzbd don't allow commandline parameters

Post by sander »

... like this:

Code: Select all

$ sudo snap run sabnzbd -s 0.0.0.0:7777
2025-08-12 23:04:55,326::INFO::[SABnzbd:1134] --------------------------------
2025-08-12 23:04:55,327::INFO::[SABnzbd:1135] SABnzbd.py-4.5.3Beta2
2025-08-12 23:04:55,327::INFO::[SABnzbd:1136] Full executable path = /snap/sabnzbd/6389/opt/sabnzbd/SABnzbd.py
2025-08-12 23:04:55,327::INFO::[SABnzbd:1137] Arguments = "/snap/sabnzbd/6389/opt/sabnzbd/SABnzbd.py" "-f" "/var/snap/sabnzbd/common" "-s" "0.0.0.0:7777"
2025-08-12 23:04:55,327::INFO::[SABnzbd:1146] Certifi version = 2025.08.03


2025-08-12 23:04:55,441::INFO::[_cplogging:213] [12/Aug/2025:23:04:55] ENGINE Serving on http://0.0.0.0:7777
Mero
Newbie
Newbie
Posts: 6
Joined: September 21st, 2024, 9:12 pm

Re: [SNAP, LMDE 6] sabnzbd don't allow commandline parameters

Post by Mero »

Thanks it works!!!

Code: Select all

mero@mintSDK:~$ snap stop sabnzbd
Stopped.
mero@mintSDK:~$ sudo snap run sabnzbd --logging -1 --clean --disable-file-log
<< Cursor in blinking mode >>
In SAB:

Code: Select all

Config File: 		/var/snap/sabnzbd/common/sabnzbd.ini
Parameters: 		"/snap/sabnzbd/6389/opt/sabnzbd/SABnzbd.py" "-f" "/var/snap/sabnzbd/common" "--logging" "-1" "--clean" "--disable-file-log"
Python Version: 	3.12.3 (main, May 26 2025, 18:50:19) [GCC 13.3.0] [UTF-8]
Is there a way to make it permanent to the service? Or have I to disable the service and run SAB from terminal?
Post Reply