Run Sabnzbd as a service on Ubuntu Server 20.04?

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
kakorot
Newbie
Newbie
Posts: 4
Joined: January 17th, 2021, 2:06 pm

Run Sabnzbd as a service on Ubuntu Server 20.04?

Post 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.
Last edited by kakorot on January 18th, 2021, 12:29 pm, edited 1 time in total.
User avatar
sander
Release Testers
Release Testers
Posts: 8811
Joined: January 22nd, 2008, 2:22 pm

Re: Run Sabnzbd as a service?

Post by sander »

Does 'sabnzbdplus' run from the CLI?

Are you on Ubuntu? Which version?
kakorot
Newbie
Newbie
Posts: 4
Joined: January 17th, 2021, 2:06 pm

Re: Run Sabnzbd as a service?

Post by kakorot »

hi sander
yes I can run it from the cli and its installed on Ubuntu Server 20.04
User avatar
sander
Release Testers
Release Testers
Posts: 8811
Joined: January 22nd, 2008, 2:22 pm

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

Post by sander »

So what from viewtopic.php?f=16&t=24875 did you try & verify?
kakorot
Newbie
Newbie
Posts: 4
Joined: January 17th, 2021, 2:06 pm

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

Post 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.
kakorot
Newbie
Newbie
Posts: 4
Joined: January 17th, 2021, 2:06 pm

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

Post 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.
Post Reply