Unable to start sabnzbd on CentOS7

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
fayttsuki
Newbie
Newbie
Posts: 4
Joined: October 22nd, 2021, 7:09 pm

Unable to start sabnzbd on CentOS7

Post by fayttsuki »

Hello,

I recently discover sabnzbd and was following the information from the wiki to install sabnzbd from sources.

Every time i try to run systemctl start sabnzbd, i'm getting the error with unhandled Python exception:

https://hastebin . com/focuhajoko . yaml

Any assistance would be greatly appreciated.
User avatar
sander
Release Testers
Release Testers
Posts: 8811
Joined: January 22nd, 2008, 2:22 pm

Re: Unable to start sabnzbd on CentOS7

Post by sander »

So: https://hastebin.com/focuhajoko.yaml

First things first. Can you run Sabnzbd from the CLI? So without systemctl.
User avatar
safihre
Administrator
Administrator
Posts: 5338
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Unable to start sabnzbd on CentOS7

Post by safihre »

Seems you are using Python 3.5 or 3.4. Those are not supported anymore by Python itself and not by SABnzbd.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
fayttsuki
Newbie
Newbie
Posts: 4
Joined: October 22nd, 2021, 7:09 pm

Re: Unable to start sabnzbd on CentOS7

Post by fayttsuki »

Sander,

When I ran sudo service sabnzbd start, it redirect to /bin//systemctl start sabnzbd.service
Same error as the link to hastebin
fayttsuki
Newbie
Newbie
Posts: 4
Joined: October 22nd, 2021, 7:09 pm

Re: Unable to start sabnzbd on CentOS7

Post by fayttsuki »

safihre wrote: October 23rd, 2021, 6:48 am Seems you are using Python 3.5 or 3.4. Those are not supported anymore by Python itself and not by SABnzbd.
I ran python --version and get Python 2.7.5 and python3 --version and get Python 3.6.8
User avatar
sander
Release Testers
Release Testers
Posts: 8811
Joined: January 22nd, 2008, 2:22 pm

Re: Unable to start sabnzbd on CentOS7

Post by sander »

fayttsuki wrote: October 23rd, 2021, 9:33 am Sander,

When I ran sudo service sabnzbd start, it redirect to /bin//systemctl start sabnzbd.service
Same error as the link to hastebin
No, that is not what I meant. Just run sabnzbd like this:

Code: Select all

python3 /some/path/SABnzbd.py
Does that work?
fayttsuki
Newbie
Newbie
Posts: 4
Joined: October 22nd, 2021, 7:09 pm

Re: Unable to start sabnzbd on CentOS7

Post by fayttsuki »

sander wrote: October 23rd, 2021, 10:52 am
fayttsuki wrote: October 23rd, 2021, 9:33 am Sander,

When I ran sudo service sabnzbd start, it redirect to /bin//systemctl start sabnzbd.service
Same error as the link to hastebin
No, that is not what I meant. Just run sabnzbd like this:

Code: Select all

python3 /some/path/SABnzbd.py
Does that work?
It didn't work and pretty much telling me i'm missing module from the requirements.txt file (e.g. Cheetah, feedparser, configobj, etc.) . By this point, I think i pinpoint the issue to missing python3 packages. Long story short, i removed SABnzbd and started a fresh installation using Snapd instead. No issue yet. Thanks for your helps!
Post Reply