Page 1 of 1

Run Sabnzbd as a service on Ubuntu Server 20.04?

Posted: January 17th, 2021, 2:16 pm
by kakorot
Just installed Sabnzbd, followed the instructions here /wiki/installation/install-ubuntu-repo and ended up with
Job for sabnzbdplus.service failed because the control process exited with error code
I did read other threads suggesting to reinstall the application, which I have done multiple times to no avail.
viewtopic.php?f=16&t=24875) (not allowed to post links yet)

Any clues on to how to resolve this issue?

Thanks.

Re: Run Sabnzbd as a service?

Posted: January 17th, 2021, 3:04 pm
by sander
Does 'sabnzbdplus' run from the CLI?

Are you on Ubuntu? Which version?

Re: Run Sabnzbd as a service?

Posted: January 18th, 2021, 12:27 pm
by kakorot
hi sander
yes I can run it from the cli and its installed on Ubuntu Server 20.04

Re: Run Sabnzbd as a service on Ubuntu Server 20.04?

Posted: January 20th, 2021, 11:06 am
by sander
So what from viewtopic.php?f=16&t=24875 did you try & verify?

Re: Run Sabnzbd as a service on Ubuntu Server 20.04?

Posted: January 22nd, 2021, 3:12 pm
by kakorot
All of it except this part "sabnzbd/linux/[email protected]" did find a "find / -type d -name "sabnzbd" 2>/dev/null
" and all I got was "/usr/share/sabnzbdplus/sabnzbd" and there is no linux dir in there.

Unlike the OP of the other post, I am not in a position to reinstall Ubuntu. I dont mind a Sabnzbdplus reinstall but i havent made any changes that require that.

Re: Run Sabnzbd as a service on Ubuntu Server 20.04?

Posted: January 22nd, 2021, 3:53 pm
by kakorot
Update: Seems like I am getting closer.
Reinstalled Sabnzbd and updated the config file in the /etc/default/sabnzbplus as before and now it nearly gets there.

Code: Select all

sabnzbdplus.service - LSB: SABnzbd+ binary newsgrabber
     Loaded: loaded (/etc/init.d/sabnzbdplus; generated)
     Active: active (exited) since Fri 2021-01-22 20:51:06 UTC; 2s ago
       Docs: man:systemd-sysv-generator(8)
    Process: 150049 ExecStart=/etc/init.d/sabnzbdplus start (code=exited, status=0/SUCCESS)

Jan 22 20:51:06 htps systemd[1]: Starting LSB: SABnzbd+ binary newsgrabber...
Jan 22 20:51:06 htps systemd[1]: Started LSB: SABnzbd+ binary newsgrabber.
But it exits...

Update second reinstall but this time I did sudo purge sabnzbdplus and started from there and also had to comment out
CONFIG, HOST, PORT, EXTRAOPTS and just have the username. for it to work.