Page 1 of 1

Unable to start sabnzbd on CentOS7

Posted: October 22nd, 2021, 7:33 pm
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.

Re: Unable to start sabnzbd on CentOS7

Posted: October 23rd, 2021, 1:18 am
by sander
So: https://hastebin.com/focuhajoko.yaml

First things first. Can you run Sabnzbd from the CLI? So without systemctl.

Re: Unable to start sabnzbd on CentOS7

Posted: October 23rd, 2021, 6:48 am
by safihre
Seems you are using Python 3.5 or 3.4. Those are not supported anymore by Python itself and not by SABnzbd.

Re: Unable to start sabnzbd on CentOS7

Posted: October 23rd, 2021, 9:33 am
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

Re: Unable to start sabnzbd on CentOS7

Posted: October 23rd, 2021, 9:34 am
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

Re: Unable to start sabnzbd on CentOS7

Posted: October 23rd, 2021, 10:52 am
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?

Re: Unable to start sabnzbd on CentOS7

Posted: October 24th, 2021, 12:01 am
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!