Page 1 of 1
sabnzbd on Raspberry Pi5 (headless) [flatpak]
Posted: December 8th, 2025, 12:39 pm
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.
Re: sabnzbd on Raspberry Pi5 (headless)
Posted: December 8th, 2025, 6:04 pm
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
Re: sabnzbd on Raspberry Pi5 (headless)
Posted: December 9th, 2025, 12:51 am
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
Re: sabnzbd on Raspberry Pi5 (headless) [flatpak]
Posted: December 9th, 2025, 1:58 am
by OneCD
That lonely -f argument doesn’t look right. Try removing it from your command.
Re: sabnzbd on Raspberry Pi5 (headless) [flatpak]
Posted: December 9th, 2025, 5:30 am
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'.
Re: sabnzbd on Raspberry Pi5 (headless) [flatpak]
Posted: December 9th, 2025, 9:50 am
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.