Lost access to Sabnzbd. [proxmox, Sabnzbd LXC]

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
DukeOfAwesome
Newbie
Newbie
Posts: 6
Joined: August 11th, 2024, 7:12 am

Lost access to Sabnzbd. [proxmox, Sabnzbd LXC]

Post by DukeOfAwesome »

System:
Proxmox Host 8.2.4
Sabnzbd LXC installed via tteck's sabnzbd-lxc script.

It's a relatively new setup, been up and running for 2 weeks. This morning i all of a sudden lost access to sabnzbd. Sonarr has about 40 files in queue but since then has lost connection to the service.

when i run netstat i dont see the service running. short of deleting the ini file and starting fresh what can i do to try to revive the system?

Code: Select all

root@sabnzbd:~# netstat -apon | grep -i LISTEN | grep -vi listening
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      317/master           off (0.00/0/0)
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      1/init               off (0.00/0/0)
root@sabnzbd:~# 
User avatar
sander
Release Testers
Release Testers
Posts: 8989
Joined: January 22nd, 2008, 2:22 pm

Re: Lost access to Sabnzbd.

Post by sander »

start sabnzbd?
DukeOfAwesome
Newbie
Newbie
Posts: 6
Joined: August 11th, 2024, 7:12 am

Re: Lost access to Sabnzbd.

Post by DukeOfAwesome »

sander wrote: August 11th, 2024, 3:51 pmstart sabnzbd?
Shouldn't it start automatically upon reboot?
I dont know what command to send to force start it.
User avatar
sander
Release Testers
Release Testers
Posts: 8989
Joined: January 22nd, 2008, 2:22 pm

Re: Lost access to Sabnzbd.

Post by sander »

> Shouldn't it start automatically upon reboot?

Depends on how you configured it.

> I dont know what command to send to force start it.

Depends how you installed it.
User avatar
sander
Release Testers
Release Testers
Posts: 8989
Joined: January 22nd, 2008, 2:22 pm

Re: Lost access to Sabnzbd. [proxmox, Sabnzbd LXC]

Post by sander »

I've put [proxmox, Sabnzbd LXC] into the title. Maybe that attracts some people who know proxmox

I tried proxmox for an hour and then gave up: too difficult for my simple mind.
DukeOfAwesome
Newbie
Newbie
Posts: 6
Joined: August 11th, 2024, 7:12 am

Re: Lost access to Sabnzbd. [proxmox, Sabnzbd LXC]

Post by DukeOfAwesome »

Thank you sander.
I've messed around with it a bit more.
I've created multiple new containers and all of them startup for the initial boot. However when i reboot the machine after adding mounted drives for it to use it fails to start properly. This happens on a freshly built container everytime. After a reboot the service fails to start.

Code: Select all

root@sabnzbd:~# systemctl status sabnzbd
× sabnzbd.service - SABnzbd
     Loaded: loaded (/etc/systemd/system/sabnzbd.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Tue 2024-08-13 17:16:35 CDT; 1min 57s ago
   Duration: 602ms
    Process: 297 ExecStart=python3 SABnzbd py -s 0.0.0.0:7777 (code=exited, status=2)                     //I had to delete the period before py because i'm not allowed to post links...??
   Main PID: 297 (code=exited, status=2)
        CPU: 593ms

Aug 13 17:16:35 sabnzbd systemd[1]: sabnzbd.service: Scheduled restart job, restart counter is at 5.
Aug 13 17:16:35 sabnzbd systemd[1]: Stopped sabnzbd.service - SABnzbd.
Aug 13 17:16:35 sabnzbd systemd[1]: sabnzbd.service: Start request repeated too quickly.
Aug 13 17:16:35 sabnzbd systemd[1]: sabnzbd.service: Failed with result 'exit-code'.
Aug 13 17:16:35 sabnzbd systemd[1]: Failed to start sabnzbd.service - SABnzbd.
Last edited by DukeOfAwesome on August 13th, 2024, 5:47 pm, edited 2 times in total.
User avatar
sander
Release Testers
Release Testers
Posts: 8989
Joined: January 22nd, 2008, 2:22 pm

Re: Lost access to Sabnzbd. [proxmox, Sabnzbd LXC]

Post by sander »

"python3 SABnzbd py -s 0.0.0.0 7777" I don't think that startup parameters are allowed.

This is allowed:

"python3 SABnzbd py -s 0.0.0.0:7777"

BTW: 7777 is not the default SABnzbd port; that's 8080. So: did you change that yourself? Of is that proxmox / LXC behaviour?
DukeOfAwesome
Newbie
Newbie
Posts: 6
Joined: August 11th, 2024, 7:12 am

Re: Lost access to Sabnzbd. [proxmox, Sabnzbd LXC]

Post by DukeOfAwesome »

Sorry i was trying to figure out what in that was causing the site to deny my post because i couldn't post links. Turns out it was the SABnzbd.py
I corrected the output of the status prompt. And that's the default port in the script. And yes that's the port i'm trying to access in the browser.
User avatar
sander
Release Testers
Release Testers
Posts: 8989
Joined: January 22nd, 2008, 2:22 pm

Re: Lost access to Sabnzbd. [proxmox, Sabnzbd LXC]

Post by sander »

Ah, yes.

Then I can't help. I can only see/guess: your system tries to start SABnzbd (5 times?), but that fails.

You already said you tried fresh installs, which didn't help. Then I don't know. Maybe there is more logging on your proxmox, but as said: I don't know proxmox.
DukeOfAwesome
Newbie
Newbie
Posts: 6
Joined: August 11th, 2024, 7:12 am

Re: Lost access to Sabnzbd. [proxmox, Sabnzbd LXC]

Post by DukeOfAwesome »

Is there a log somewhere that i can check to see why it's exiting?
User avatar
sander
Release Testers
Release Testers
Posts: 8989
Joined: January 22nd, 2008, 2:22 pm

Re: Lost access to Sabnzbd. [proxmox, Sabnzbd LXC]

Post by sander »

Yes: sabnzbd.log

And linux: syslog and journal
DukeOfAwesome
Newbie
Newbie
Posts: 6
Joined: August 11th, 2024, 7:12 am

Re: Lost access to Sabnzbd. [proxmox, Sabnzbd LXC]

Post by DukeOfAwesome »

I managed to get a workaround
changing

Code: Select all

python3 SABnzbd py -s 0.0.0.0:7777
to

Code: Select all

python3 SABnzbd py -s 192.168.1.91:7777
works. for some reason when binding to all interfaces it fails
Post Reply