sabnzbd on Raspberry Pi5 (headless) [flatpak]

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
Oceanwaves
Newbie
Newbie
Posts: 4
Joined: December 8th, 2025, 11:57 am

sabnzbd on Raspberry Pi5 (headless) [flatpak]

Post by Oceanwaves »

Hello,

I would like to install sabnzbd on my Pi5. It is running Debian Bookworm with no graphical interface (no Gnome, KDE, etc.).

I tried to install it using flatpak. It's running fine, but I cannot access it from my PC using a browser.

I tried

Code: Select all

flatpak override --system --share=network org.sabnzbd.sabnzbd
but this didn't help.

sabnzbd is started using

Code: Select all

/usr/bin/flatpak run org.sabnzbd.sabnzbd -f -s
On the Pi5 I can connect to sabnzbd:

Code: Select all

curl http://localhost:8080
This resource can be found at <a href="/wizard/">/wizard/</a>.
But using a browser I can't connect to <ip of pi5>:8080.

Is there a way to use sabnzbd with flatpak? As I understand a native installation is not recommended. It will install sabnzbd 4.5.0 at the moment, not 4.5.5.
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: sabnzbd on Raspberry Pi5 (headless)

Post by sander »

/usr/bin/flatpak run org.sabnzbd.sabnzbd -f -s

That's incomplete

Try this:

/usr/bin/flatpak run org.sabnzbd.sabnzbd -s 0.0.0.0
Oceanwaves
Newbie
Newbie
Posts: 4
Joined: December 8th, 2025, 11:57 am

Re: sabnzbd on Raspberry Pi5 (headless)

Post by Oceanwaves »

sander wrote: December 8th, 2025, 6:04 pm Try this:

/usr/bin/flatpak run org.sabnzbd.sabnzbd -s 0.0.0.0
That leads to an error:

Code: Select all

Dez 09 06:35:30 pi5 systemd[1]: Started sabnzbd.service - SABnzbd headless server.
Dez 09 06:35:30 pi5 systemd[786]: Started app-flatpak-org.sabnzbd.sabnzbd-41204.scope.
Dez 09 06:35:32 pi5 flatpak[41212]: Fatal error:
Dez 09 06:35:32 pi5 flatpak[41212]:   Cannot access the user profile.
Dez 09 06:35:32 pi5 flatpak[41212]: Please start with sabnzbd.ini file in another location
Dez 09 06:35:32 pi5 systemd[1]: sabnzbd.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Dez 09 06:35:32 pi5 systemd[1]: sabnzbd.service: Failed with result 'exit-code'.
Using

Code: Select all

/usr/bin/flatpak run org.sabnzbd.sabnzbd -f -s 0.0.0.0
sabnzbd starts fine, but is still inaccessible from my browser

(tried to show the output of netcat here, but I can't submit this as I will be blocked.
This website is using a security service to protect itself from online attacks. The action you just performed triggered the security solution. There are several actions that could trigger this block including submitting a certain word or phrase, a SQL command or malformed data.
On pi5 port 8080 is listening:

Code: Select all

# netstat -antop|grep 8080
tcp        0      0 127.0.0.1:8080          0.0.0.0:*               LISTEN      41298/python3        aus (0.00/0/0)
sabnzbd.service looks like this:

Code: Select all

[Unit]
Description=SABnzbd headless server
After=network-online.target
Wants=network-online.target

[Service]
Type=simple
ExecStart=/usr/bin/flatpak run org.sabnzbd.sabnzbd -f -s 0.0.0.0
ExecStop=/usr/bin/flatpak kill org.sabnzbd.sabnzbd
Restart=always
RestartSec=3

[Install]
WantedBy=multi-user.target
User avatar
OneCD
Hero Member
Hero Member
Posts: 631
Joined: March 4th, 2017, 3:47 pm

Re: sabnzbd on Raspberry Pi5 (headless) [flatpak]

Post by OneCD »

That lonely -f argument doesn’t look right. Try removing it from your command.
Stuff I like: Apache bash cron DD-WRT Debian DNSMasq Entware FireFox GitHub ImageMagick Kate KDE LibreELEC Netrunner NFS NVIDIA OpenVPN Orvibo-S20 pfSense Python Raspberry-Pi RAID SABnzbd Transmission Usenet VirtualBox Watcher3 XFCE
Oceanwaves
Newbie
Newbie
Posts: 4
Joined: December 8th, 2025, 11:57 am

Re: sabnzbd on Raspberry Pi5 (headless) [flatpak]

Post by Oceanwaves »

OneCD wrote: December 9th, 2025, 1:58 am That lonely -f argument doesn’t look right. Try removing it from your command.
As I wrote: without the "-f" (ExecStart=/usr/bin/flatpak run org.sabnzbd.sabnzbd -s 0.0.0.0) I get an error when trying to start sabnzbd:

Code: Select all

Dez 09 06:35:30 pi5 systemd[1]: Started sabnzbd.service - SABnzbd headless server.
Dez 09 06:35:30 pi5 systemd[786]: Started app-flatpak-org.sabnzbd.sabnzbd-41204.scope.
Dez 09 06:35:32 pi5 flatpak[41212]: Fatal error:
Dez 09 06:35:32 pi5 flatpak[41212]:   Cannot access the user profile.
Dez 09 06:35:32 pi5 flatpak[41212]: Please start with sabnzbd.ini file in another location
Dez 09 06:35:32 pi5 systemd[1]: sabnzbd.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Dez 09 06:35:32 pi5 systemd[1]: sabnzbd.service: Failed with result 'exit-code'.
Oceanwaves
Newbie
Newbie
Posts: 4
Joined: December 8th, 2025, 11:57 am

Re: sabnzbd on Raspberry Pi5 (headless) [flatpak]

Post by Oceanwaves »

OneCD wrote: December 9th, 2025, 1:58 am That lonely -f argument doesn’t look right. Try removing it from your command.
It's working now! Guess "-f" specifies the ini file sabnzbd uses. Created a base ini file in /etc and specified the path in the service file:

Code: Select all

ExecStart=/usr/bin/flatpak run org.sabnzbd.sabnzbd -f /etc/sabnzbd.ini -s 0.0.0.0
/etc/sabnzbd.ini just contains

Code: Select all

[general]
host = 0.0.0.0
port = 8080

[misc]
host_whitelist = *
Now I can access sabnzbd through browser from pc.
Post Reply