Page 1 of 1
Can't download on QNAP after update to 3.6.0: SABYenc disabled: no correct version found! (Found v4.0.2, expecting v5.4.
Posted: June 10th, 2022, 8:16 am
by yitzi
Hi,
I've been running SABnzbd on my QNAP TS 230 for a couple of years without problems.
After a SABnzbd update to the latest
Version 3.6.0 for my QNAP TS 230 which was also recently updated to version 5 of the QNAP Firmware I am getting the following errors saying that SABnzbd can't download.
This is the error summary
Code: Select all
2022-06-10 11:52:42,086::INFO::[notifier:123] Sending notification: Error - SABYenc disabled: no correct version found! (Found v4.0.2, expecting v5.4.2) (type=error, job_cat=None)
2022-06-10 11:52:42,085::ERROR::[SABnzbd:432] SABYenc disabled: no correct version found! (Found v4.0.2, expecting v5.4.2)
2022-06-10 11:52:42,087::INFO::[SABnzbd:443] Cryptography module (v36.0.1)... found!
2022-06-10 11:52:42,088::INFO::[SABnzbd:448] par2 binary... found (/share/CACHEDEV1_DATA/.qpkg/QSabNZBd3/bin/par2)
2022-06-10 11:52:42,088::INFO::[SABnzbd:455] UNRAR binary... found (/share/CACHEDEV1_DATA/.qpkg/QSabNZBd3/bin/unrar)
2022-06-10 11:52:42,089::INFO::[SABnzbd:463] UNRAR binary version 5.91
2022-06-10 11:52:42,091::INFO::[SABnzbd:471] 7za binary... found (/usr/local/sbin/7z)
2022-06-10 11:52:42,091::INFO::[SABnzbd:473] 7za binary version 16.02
2022-06-10 11:52:42,092::INFO::[SABnzbd:486] nice binary... NOT found!
2022-06-10 11:52:42,093::INFO::[SABnzbd:490] ionice binary... NOT found!
2022-06-10 11:52:42,094::INFO::[notifier:123] Sending notification: Error - Essential modules are missing, downloading cannot start. (type=error, job_cat=None)
2022-06-10 11:52:42,093::ERROR::[SABnzbd:494] Essential modules are missing, downloading cannot start.
I am not extremely well versed in this type of installation so if you have suggestions please give them in a bit more detail with the assumption that I don't know everything there is to know about his type of installation.
Re: Can't download on QNAP after update to 3.6.0: SABYenc disabled: no correct version found! (Found v4.0.2, expecting v
Posted: June 10th, 2022, 9:17 am
by sander
Code: Select all
2022-06-10 11:52:42,086::INFO::[notifier:123] Sending notification: Error - SABYenc disabled: no correct version found! (Found v4.0.2, expecting v5.4.2) (type=error, job_cat=None)
2022-06-10 11:52:42,085::ERROR::[SABnzbd:432] SABYenc disabled: no correct version found! (Found v4.0.2, expecting v5.4.2)"
You must talk to the package maintainer of that QNAP package. Well, that is, assuming you installed Sabznbd as a package (and not from source)
Re: Can't download on QNAP after update to 3.6.0: SABYenc disabled: no correct version found! (Found v4.0.2, expecting v
Posted: June 10th, 2022, 9:37 am
by safihre
How did you install qnap indeed? Which package?
Re: Can't download on QNAP after update to 3.6.0: SABYenc disabled: no correct version found! (Found v4.0.2, expecting v
Posted: June 10th, 2022, 10:04 am
by Andori
I've been battling with this one myself all day, and finally fixed it.
Assuming that is the QnapClub (done by Qoolbox), then this is how I eventually fixed it.
from path:
Code: Select all
cd /share/CACHEDEV1_DATA/.qpkg/QSabNZBd3/SABnzbd
Check current version:
Code: Select all
/share/CACHEDEV1_DATA/.qpkg/QSabNZBd3/bin/python3 -c "import sabyenc3; print("sabyenc3.__version__") "
Then to update:
Code: Select all
/share/CACHEDEV1_DATA/.qpkg/QSabNZBd3/bin/python3 -m pip install -r requirements.txt -U
I rechecked the version at this point, and confirmed it was 5.4.2.
Then finally needs a restart:
Code: Select all
/share/CACHEDEV1_DATA/.qpkg/QSabNZBd3/QSabNZBd3 sh restart
(should be ".sh" not a space, but I won't let me post it with a ".")
Not sure if this bit is relevant, but I'd tried installing Python 3.10 from the App store, but it said it was still using 3.7.8. I then installed python 3.10 via Entware, and had restarted to make sure 3.10 was running when I logged in by SSH. I may have installed too much from Entware as I used:
Re: Can't download on QNAP after update to 3.6.0: SABYenc disabled: no correct version found! (Found v4.0.2, expecting v
Posted: June 10th, 2022, 10:38 am
by yitzi
Thanks
I let the auto update from QnapClub run so it was the same method you used.
I'll give it a go. Appreciate the quick replies.
Re: Can't download on QNAP after update to 3.6.0: SABYenc disabled: no correct version found! (Found v4.0.2, expecting v
Posted: June 10th, 2022, 12:09 pm
by safihre
Interesting that this package does not update the depencies for new versions... That's the minimum I would expect from a package.
Re: Can't download on QNAP after update to 3.6.0: SABYenc disabled: no correct version found! (Found v4.0.2, expecting v
Posted: June 11th, 2022, 7:41 am
by Glassmoustache
Thanks so much for the fix! This has been bugging me all morning!
Re: Can't download on QNAP after update to 3.6.0: SABYenc disabled: no correct version found! (Found v4.0.2, expecting v
Posted: June 11th, 2022, 4:24 pm
by fuman
I tried the command below:
/share/CACHEDEV1_DATA/.qpkg/QSabNZBd3/bin/python3 -m pip install -r requirements.txt -U
And I get this error:
ERROR: Could not open requirements file: [Errno 2] No Such File or directory: 'requirements.txt'
Any recommendations?
Re: Can't download on QNAP after update to 3.6.0: SABYenc disabled: no correct version found! (Found v4.0.2, expecting v
Posted: June 12th, 2022, 12:08 pm
by zoggy
fuman wrote: ↑June 11th, 2022, 4:24 pm
I tried the command below:
/share/CACHEDEV1_DATA/.qpkg/QSabNZBd3/bin/python3 -m pip install -r requirements.txt -U
And I get this error:
ERROR: Could not open requirements file: [Errno 2] No Such File or directory: 'requirements.txt'
Any recommendations?
prob just need to run it from the "/share/CACHEDEV1_DATA/.qpkg/QSabNZBd3" dir not the bin subfolder. just see if there is a requirements.txt file in that folder?
Re: Can't download on QNAP after update to 3.6.0: SABYenc disabled: no correct version found! (Found v4.0.2, expecting v
Posted: June 13th, 2022, 3:07 am
by Andori
zoggy wrote: ↑June 12th, 2022, 12:08 pm
fuman wrote: ↑June 11th, 2022, 4:24 pm
I tried the command below:
/share/CACHEDEV1_DATA/.qpkg/QSabNZBd3/bin/python3 -m pip install -r requirements.txt -U
And I get this error:
ERROR: Could not open requirements file: [Errno 2] No Such File or directory: 'requirements.txt'
Any recommendations?
prob just need to run it from the "/share/CACHEDEV1_DATA/.qpkg/QSabNZBd3" dir not the bin subfolder. just see if there is a requirements.txt file in that folder?
Just spotted a slight error in what I said with regards to the path (I'd pasted it 2x) corrected it now (and added a "cd "). The requirements.txt file is in:
Code: Select all
/share/CACHEDEV1_DATA/.qpkg/QSabNZBd3/SABnzbd
Re: Can't download on QNAP after update to 3.6.0: SABYenc disabled: no correct version found! (Found v4.0.2, expecting v
Posted: June 13th, 2022, 5:13 am
by Andori
So I just spotted that Stephane has posted a 3.6.0.1 (on 12 June), so I updated... and the problem came back.
I tried repeating my original fix, but it failed:
Code: Select all
Requirement already satisfied: sabyenc3==5.4.2 in /share/CACHEDEV1_DATA/.qpkg/QSabNZBd3/lib/python3.7/site-packages (from -r /share/CACHEDEV1_DATA/.qpkg/QSabNZBd3/SABnzbd/requirements.txt (line 3)) (5.4.2)
Then trying to just install SABYenc:
Code: Select all
[/share/CACHEDEV1_DATA/.qpkg/QSabNZBd3/SABnzbd] # /share/CACHEDEV1_DATA/.qpkg/QSabNZBd3/bin/pip3 install sabyenc3==5.4.2
Requirement already satisfied: sabyenc3==5.4.2 in /share/CACHEDEV1_DATA/.qpkg/QSabNZBd3/lib/python3.7/site-packages (5.4.2)
Checking the referenced folder (/share/CACHEDEV1_DATA/.qpkg/QSabNZBd3/lib/python3.7/site-packages), I found:
Code: Select all
sabyenc3-4.0.2.dist-info/
sabyenc3-5.4.2.dist-info/
My fix was to uninstall both versions:
Code: Select all
/share/CACHEDEV1_DATA/.qpkg/QSabNZBd3/bin/pip3 uninstall sabyenc3
I tried adding "==4.0.2" on the end to remove the older one first, but it wanted to uninstall the newer one first, so repeated the command.
I then reinstalled the correct version again:
Code: Select all
/share/CACHEDEV1_DATA/.qpkg/QSabNZBd3/bin/pip3 install sabyenc3==5.4.2
Then I did the restart and all was good.
Re: Can't download on QNAP after update to 3.6.0: SABYenc disabled: no correct version found! (Found v4.0.2, expecting v
Posted: June 13th, 2022, 8:05 am
by yitzi
Thanks this was the perfect fix for me! Thanks very much for the detailed command-line instructions.
Itzik
Andori wrote: ↑June 10th, 2022, 10:04 am
I've been battling with this one myself all day, and finally fixed it.
Assuming that is the QnapClub (done by Qoolbox), then this is how I eventually fixed it.
from path:
Code: Select all
cd /share/CACHEDEV1_DATA/.qpkg/QSabNZBd3/SABnzbd
Check current version:
Code: Select all
/share/CACHEDEV1_DATA/.qpkg/QSabNZBd3/bin/python3 -c "import sabyenc3; print("sabyenc3.__version__") "
Then to update:
Code: Select all
/share/CACHEDEV1_DATA/.qpkg/QSabNZBd3/bin/python3 -m pip install -r requirements.txt -U
I rechecked the version at this point, and confirmed it was 5.4.2.
Then finally needs a restart:
Code: Select all
/share/CACHEDEV1_DATA/.qpkg/QSabNZBd3/QSabNZBd3 sh restart
(should be ".sh" not a space, but I won't let me post it with a ".")
Not sure if this bit is relevant, but I'd tried installing Python 3.10 from the App store, but it said it was still using 3.7.8. I then installed python 3.10 via Entware, and had restarted to make sure 3.10 was running when I logged in by SSH. I may have installed too much from Entware as I used: