Page 1 of 1
SABYenc 4.0.0? - SOLVED
Posted: February 21st, 2021, 4:12 pm
by naviathan
I'm installing sabnzbd from the git Master and I'm having issues getting it to start properly. The service starts, but in the UI I get this:
SABYenc module... NOT found! Expecting v4.0.0 -
https://sabnzbd.org/sabyenc
I checked and version 3.3.6 is installed so I tried updating pip and then update sabyenc, but it says it's current. Where do I get version 4.0.0?
Re: SABYenc 4.0.0?
Posted: February 21st, 2021, 5:43 pm
by Puzzled
You need to install sabyenc3, not sabyenc. Run
python3 -m pip install -r requirements.txt
to get what you need.
Re: SABYenc 4.0.0?
Posted: February 22nd, 2021, 8:17 am
by naviathan
Perfect! Thank you!
Re: SABYenc 4.0.0? - SOLVED
Posted: February 3rd, 2022, 8:48 am
by JeremyCreekit
I'm having a similar problem on my Asustor NAS. I get these errors on load:
Code: Select all
ERROR 2022-02-01 20:38 Essential modules are missing, downloading cannot start.
ERROR 2022-02-01 20:38 SABYenc module... NOT found! Expecting v4.0.0 - https://sabnzbd.org/sabyenc
When I try to run the following code, I get the below error. Any idea what's going on? I have confirmed that
Error message:
Code: Select all
admin@StudyNAS:/volume1/home/admin $ pip3 install sabyenc3==4.0.0
Traceback (most recent call last):
File "/opt/bin/pip3", line 5, in <module>
from pip._internal.cli.main import main
File "/opt/lib/python3.9/site-packages/pip/_internal/cli/main.py", line 9, in <module>
from pip._internal.cli.autocompletion import autocomplete
File "/opt/lib/python3.9/site-packages/pip/_internal/cli/autocompletion.py", line 10, in <module>
from pip._internal.cli.main_parser import create_main_parser
File "/opt/lib/python3.9/site-packages/pip/_internal/cli/main_parser.py", line 8, in <module>
from pip._internal.cli import cmdoptions
File "/opt/lib/python3.9/site-packages/pip/_internal/cli/cmdoptions.py", line 23, in <module>
from pip._internal.cli.parser import ConfigOptionParser
File "/opt/lib/python3.9/site-packages/pip/_internal/cli/parser.py", line 12, in <module>
from pip._internal.configuration import Configuration, ConfigurationError
File "/opt/lib/python3.9/site-packages/pip/_internal/configuration.py", line 20, in <module>
from pip._internal.exceptions import (
File "/opt/lib/python3.9/site-packages/pip/_internal/exceptions.py", line 8, in <module>
from pip._vendor.requests.models import Request, Response
File "/opt/lib/python3.9/site-packages/pip/_vendor/requests/__init__.py", line 135, in <module>
from . import utils
File "/opt/lib/python3.9/site-packages/pip/_vendor/requests/utils.py", line 41, in <module>
DEFAULT_CA_BUNDLE_PATH = certs.where()
File "/opt/lib/python3.9/site-packages/pip/_vendor/certifi/core.py", line 51, in where
_CACERT_PATH = str(_CACERT_CTX.__enter__())
File "/opt/lib/python3.9/contextlib.py", line 117, in __enter__
File "/opt/lib/python3.9/importlib/resources.py", line 175, in _path_from_reader
File "<frozen importlib._bootstrap_external>", line 1055, in open_resource
FileNotFoundError: [Errno 2] No such file or directory: '/opt/lib/python3.9/site-packages/pip/_vendor/certifi/cacert.pem'
Details of my installation:
Version: develop [1c27ebc]
Uptime: 17h
Config File: /usr/local/AppCentral/sabnzbdplus/config/sabnzbd.ini
Parameters: "SABnzbd.py" "-f" "/usr/local/AppCentral/sabnzbdplus/config/sabnzbd.ini" "--browser" "0" "--daemon" "--pid" "/usr/local/AppCentral/sabnzbdplus"
Python Version: 3.9.6 (default, Aug 22 2021, 06:41:01) [GCC 8.4.0] [UTF-8]
OpenSSL: OpenSSL 1.1.1k 25 Mar 2021
Multicore Par2 Not available Speed up repairs by installing multicore Par2, it is available for many platforms.
https://sabnzbd.org/wiki/installation/multicore-par2
SABYenc: Not available
Thanks!
Re: SABYenc 4.0.0? - SOLVED
Posted: February 3rd, 2022, 9:57 am
by sander
Remarks:
SAByenc is at 4.0.2, so why hard-specify 4.0.0.
And "FileNotFoundError: [Errno 2] No such file or directory: '/opt/lib/python3.9/site-packages/pip/_vendor/certifi/cacert.pem'" ... not good, and/but not related to sabyenc.
isn't there a handy SABnzbd package for Asustor?
Re: SABYenc 4.0.0? - SOLVED
Posted: February 6th, 2022, 4:13 pm
by JeremyCreekit
Thanks @sander. I'm just specifying the version that the app asks for, although my main issue is installing any version of SABYenc at all!
I've tried reverting back to a previous SABnzbd Plus package from Asustor's website (specifically this one:
https://appdownload.asustor.com) by running first shutting down the app (via the App Central in the ADM OS), and then running this command (I'm not running a Docker version):
Code: Select all
wget -Osabnzbdplus_20201009_any.apk https://appdownload.asustor.com/0010_14587_1602270668_sabnzbdplus_20201009_any.apk && apkg --install sabnzbdplus_20201009_any.apk
...and then restarting SABnzbd Plus, but nothing changes.
My current hypothesis is that I can't manually install SABYenc because I am trying to install it with the wrong version of Python. However, I can't find the path to the correct Python version.
Any suggestions welcome!
Re: SABYenc 4.0.0? - SOLVED
Posted: February 7th, 2022, 3:28 am
by JeremyCreekit
SOLVED my problem. From the maintainer of the Asustor package:
The problem is that the Develop branch of SABnzbd has conflicts.
The requirements.txt specifically calls for sabyenc3==4.0.2 but then the service is looking for version 4.0.0!
I assume Sabnzbd will fix this at some point. Until then, switch to master
Via ssh:
```
cd /usr/local/AppCentral/sabnzbdplus/sabnzbdplus/
git pull
git checkout master
```
Then stop/start the app and all should be working again.
Re: SABYenc 4.0.0? - SOLVED
Posted: February 7th, 2022, 5:04 am
by sander
Re: SABYenc 4.0.0? - Still experiencing issues.
Posted: February 11th, 2022, 11:51 am
by mcsteve
Unfortunately I am still experiencing this error. I am no genius when it comes to Linux but have been able to muddle my way through thanks to all of the great forums and Wiki's. After the last QNAP update (Firmware Ver 5.0.0.1932) SABnzbd stopped working. I brought everything up to the latest versions including Entaware and Par2 with Python3 (3.8.6) but SABnzbd continues to give the error:
"Essential modules are missing, downloading cannot start." and
"SABYenc module... NOT found! Expecting v4.0.0...".
When I run "pip install -r requirements.txt --no-binary sabyenc3" the following is returned regarding sabyenc:
"Requirement already satisfied: sabyenc3>=4.0.0 in /share/CACHEDEV1_DATA/.qpkg/Entware/lib/python3.10/site-packages (from -r requirements.txt (line 1)) (4.0.2)"
Below is the log file from my last 2 restarts which appears to show no other errors. Additional help would definitely be appreciated.
Code: Select all
>>>>>>>>>> datetime:'Fri Feb 11 11:05:41 EST 2022',request:'starting',QPKG:'220209b',app:'3.5.0' <<<<<<<<<<
daemon: NOT active
file (/opt/bin/git): exists
update 'SABnzbd' from remote repository: OK
current git branch: master
file (/opt/bin/python3): exists
load UI ports from application: OK
start daemon: OK
file (/var/run/SABnzbd.pid): exists
daemon: IS active
daemon PID: 15028
daemon listening address: 0.0.0.0
check for UI port 8900 response: UI port responded after 0 seconds
HTTP port 8900: OK
update QPKG icon with UI ports: OK
>>>>>>>>>> datetime:'Fri Feb 11 11:11:30 EST 2022',request:'stopping',QPKG:'220209b',app:'3.5.0' <<<<<<<<<<
daemon: IS active
daemon PID: 15028
stop daemon with SIGTERM: stopped OK in 1 seconds
daemon: NOT active
>>>>>>>>>> datetime:'Fri Feb 11 11:11:55 EST 2022',request:'starting',QPKG:'220209b',app:'3.5.0' <<<<<<<<<<
daemon: NOT active
file (/opt/bin/git): exists
update 'SABnzbd' from remote repository: OK
current git branch: master
file (/opt/bin/python3): exists
load UI ports from application: OK
start daemon: OK
file (/var/run/SABnzbd.pid): exists
daemon: IS active
daemon PID: 10657
daemon listening address: 0.0.0.0
check for UI port 8900 response: UI port responded after 0 seconds
HTTP port 8900: OK
update QPKG icon with UI ports: OK
Re: SABYenc 4.0.0? - SOLVED
Posted: February 11th, 2022, 12:36 pm
by sander
Probably better to report here:
https://github.com/sabnzbd/sabnzbd/comm ... #r66156871
The Asustor package maker Clinton-Hall is not here in this forum, AFAIK
Re: SABYenc 4.0.0? - SOLVED
Posted: February 11th, 2022, 12:54 pm
by mcsteve
Thanks for the suggestion. I'll post there as well and will continue to hope for those who have solved.
Re: SABYenc 4.0.0? - SOLVED
Posted: February 11th, 2022, 1:20 pm
by sander
Oh ... Asustor and QNAP ... is that the same? Or at least the same package store and package maker?
Re: SABYenc 4.0.0? - SOLVED
Posted: February 11th, 2022, 1:28 pm
by OneCD
No, Asustor and QNAP are separate.
I've responded to @mcsteve on the QNAP forum.
Re: SABYenc 4.0.0? - SOLVED
Posted: February 11th, 2022, 1:56 pm
by mcsteve
Thanks OneCD.... All appears to be good again. Now, If I can just figure out why what you told me to do worked I can add another brick to my knowledge wall