Error when installing SABNZBD

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
ianarman
Newbie
Newbie
Posts: 2
Joined: January 1st, 2021, 4:24 am

Error when installing SABNZBD

Post by ianarman »

Hello,


I'm following the following instructions to install SABNZBD on a VM

How to Install SABnzbd Usenet Client on Ubuntu 16.04/18.04
SABnzbd is available from the default Ubuntu repository. So you can open up a terminal and install it with apt.

sudo apt install sabnzbdplus
SABnzbd is being actively developed. It’s recommended to run the following commands to install the latest stable version (2.3.9 at the time of this writing) from the SABnzbd PPA.

sudo add-apt-repository ppa:jcfp/nobetas

sudo add-apt-repository ppa:jcfp/sab-addons

sudo apt update

sudo apt install sabnzbdplus python-sabyenc par2-tbb

sudo service sabnzbdplus start

sudo netstat -lnpt | grep 8080

sudo nano /etc/systemd/system/sabnzbd.service

[Unit]
Description=SABnzbd Usenet Client
After=network.target

[Service]
Type=simple
User=sabnzbd
Group=sabnzbd
ExecStart=/usr/bin/python3 -OO /usr/bin/sabnzbdplus --browser 0
ExecStop=/usr/bin/pkill sabnzbdplus
Restart=always
SyslogIdentifier=SABnzbd Usenet Client

[Install]
WantedBy=multi-user.target
Then reload Systemd.

sudo systemctl daemon-reload
sudo adduser --system --home /home/sabnzbd --group sabnzbd

sudo systemctl start sabnzbd

sudo systemctl enable sabnzbd

systemctl status sabnzbd



```````````````````````
systemctl status sabnzbd
````````````````````````

I receive the following error message:


``````````````````````````````````
● sabnzbd.service - SABnzbd Usenet Client
Loaded: loaded (/etc/systemd/system/sabnzbd.service; enabled; vendor preset: enabled)
Active: inactive (dead)

Jan 01 04:22:33 sabnzbd SABnzbd Usenet Client[4325]: ^
Jan 01 04:22:33 sabnzbd SABnzbd Usenet Client[4325]: SyntaxError: Missing parentheses in call to 'print'
Jan 01 04:22:33 sabnzbd systemd[1]: sabnzbd.service: Main process exited, code=exited, status=1/FAILURE
Jan 01 04:22:33 sabnzbd SABnzbd Usenet Client[4328]: pkill: killing pid 4119 failed: Operation not permitted
Jan 01 04:22:33 sabnzbd systemd[1]: sabnzbd.service: Unit entered failed state.
Jan 01 04:22:33 sabnzbd systemd[1]: sabnzbd.service: Failed with result 'exit-code'.
Jan 01 04:22:33 sabnzbd systemd[1]: sabnzbd.service: Service hold-off time over, scheduling restart.
Jan 01 04:22:33 sabnzbd systemd[1]: Stopped SABnzbd Usenet Client.
Jan 01 04:22:33 sabnzbd systemd[1]: sabnzbd.service: Start request repeated too quickly.
Jan 01 04:22:33 sabnzbd systemd[1]: Failed to start SABnzbd Usenet Client.


``````````````````````````````````````

User avatar
jcfp
Release Testers
Release Testers
Posts: 891
Joined: February 7th, 2008, 12:45 pm

Re: Error when installing SABNZBD

Post by jcfp »

  • Stop using outdated ubuntu versions, base your vm on the latest ubuntu long term support release (20.04/focal);
  • Stop using broken instructions from random blogs, follow the ones on the sabnzbd wiki instead;
  • Stop adding broken systemd service files, the sabnzbdplus package comes with a perfectly functional init.d script (instructions are in the previous step) that works fine with systemd too.

Post Reply