Do not Launch Browser on Startup

Support for the Debian/Ubuntu package, created by JCFP.
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
SteveS801
Newbie
Newbie
Posts: 6
Joined: March 16th, 2025, 1:24 pm

Do not Launch Browser on Startup

Post by SteveS801 »

I have unchecked "Launch Browser on Startup" and then save the page, but as a matter of fact, I must uncheck it every time SABnbzd starts. Because it does in fact open a browser window. Any help is appreciated.

Version: 4.4.1 [d897936]
Ubuntu 24.04.2
User avatar
sander
Release Testers
Release Testers
Posts: 9254
Joined: January 22nd, 2008, 2:22 pm

Re: Do not Launch Browser on Startup

Post by sander »

SteveS801 wrote: March 16th, 2025, 1:33 pm I have unchecked "Launch Browser on Startup" and then save the page, but as a matter of fact, I must uncheck it every time SABnbzd starts. Because it does in fact open a browser window. Any help is appreciated.
After you do that (so: uncheck "Launch Browser on Startup" ), and exit SABnzbd, what does this say:

Code: Select all

$ cat ~/.sabnzbd/sabnzbd.ini | grep -i browser
auto_browser = 1
SteveS801
Newbie
Newbie
Posts: 6
Joined: March 16th, 2025, 1:24 pm

Re: Do not Launch Browser on Startup

Post by SteveS801 »

sander wrote: March 16th, 2025, 1:41 pm

Code: Select all

$ cat ~/.sabnzbd/sabnzbd.ini | grep -i browser
auto_browser = 1
auto_browser = 0

But the browser is still launched.
User avatar
sander
Release Testers
Release Testers
Posts: 9254
Joined: January 22nd, 2008, 2:22 pm

Re: Do not Launch Browser on Startup

Post by sander »

OK, good.

And check the sabnzb.log like this:

Code: Select all

$ cat ~/.sabnzbd/logs/sabnzbd.log | grep -i browser
2025-03-15 09:46:33,193::INFO::[panic:239] Launching browser with http://127.0.0.1:8080
2025-03-16 20:25:09,503::INFO::[panic:239] Launching browser with http://127.0.0.1:8080
2025-03-16 20:26:39,626::INFO::[panic:239] Launching browser with http://127.0.0.1:8080
SteveS801
Newbie
Newbie
Posts: 6
Joined: March 16th, 2025, 1:24 pm

Re: Do not Launch Browser on Startup

Post by SteveS801 »

sander wrote: March 16th, 2025, 2:30 pm OK, good.

And check the sabnzb.log like this:
2025-03-16 20:18:06,339::INFO::[sabnzbdplus:1157] Arguments = "/usr/bin/sabnzbdplus" "--browser" "1"
2025-03-16 20:18:06,739::INFO::[panic:239] Launching browser with http://127.0.0.1
User avatar
sander
Release Testers
Release Testers
Posts: 9254
Joined: January 22nd, 2008, 2:22 pm

Re: Do not Launch Browser on Startup

Post by sander »

ah ... so from the commandline sabnzbd is starting the webbrowser: "--browser" "1"!

So find where that command is coming from.
SteveS801
Newbie
Newbie
Posts: 6
Joined: March 16th, 2025, 1:24 pm

Re: Do not Launch Browser on Startup

Post by SteveS801 »

I don't understand. I set it in settings not to open and it doesn't obey the settings?
User avatar
sander
Release Testers
Release Testers
Posts: 9254
Joined: January 22nd, 2008, 2:22 pm

Re: Do not Launch Browser on Startup

Post by sander »

SteveS801 wrote: March 16th, 2025, 2:41 pm I don't understand. I set it in settings not to open and it doesn't obey the settings?
The setting is overruled by the commandline parameter. So take care of that.
SteveS801
Newbie
Newbie
Posts: 6
Joined: March 16th, 2025, 1:24 pm

Re: Do not Launch Browser on Startup

Post by SteveS801 »

sander wrote: March 16th, 2025, 2:42 pm
The setting is overruled by the commandline parameter. So take care of that.
Thanks, I found it.

For anyone else reading and having the same issue: I pinned the program to the panel, but it had a command line parameter set. Just right click the main program icon from the menu and go to Properties, then edit

Code: Select all

--browser 1
to '0'
User avatar
sander
Release Testers
Release Testers
Posts: 9254
Joined: January 22nd, 2008, 2:22 pm

Re: Do not Launch Browser on Startup

Post by sander »

SteveS801 wrote: March 16th, 2025, 2:52 pm
sander wrote: March 16th, 2025, 2:42 pm
The setting is overruled by the commandline parameter. So take care of that.
Thanks, I found it.

For anyone else reading and having the same issue: I pinned the program to the panel, but it had a command line parameter set. Just right click the main program icon from the menu and go to Properties, then edit

Code: Select all

--browser 1
to '0'
Just leave it out. Otherwise it will still overwrite what's in sabnzbd.ini (if you ever change it)
SteveS801
Newbie
Newbie
Posts: 6
Joined: March 16th, 2025, 1:24 pm

Re: Do not Launch Browser on Startup

Post by SteveS801 »

That's probably a better solution
Post Reply