Can't download on QNAP after update to 3.6.0: SABYenc disabled: no correct version found! (Found v4.0.2, expecting v5.4.

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
yitzi
Newbie
Newbie
Posts: 9
Joined: November 20th, 2019, 2:29 am

Can't download on QNAP after update to 3.6.0: SABYenc disabled: no correct version found! (Found v4.0.2, expecting v5.4.

Post 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.
User avatar
sander
Release Testers
Release Testers
Posts: 9070
Joined: January 22nd, 2008, 2:22 pm

Re: Can't download on QNAP after update to 3.6.0: SABYenc disabled: no correct version found! (Found v4.0.2, expecting v

Post 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)
User avatar
safihre
Administrator
Administrator
Posts: 5523
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Can't download on QNAP after update to 3.6.0: SABYenc disabled: no correct version found! (Found v4.0.2, expecting v

Post by safihre »

How did you install qnap indeed? Which package?
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Andori
Newbie
Newbie
Posts: 5
Joined: June 10th, 2022, 9:40 am

Re: Can't download on QNAP after update to 3.6.0: SABYenc disabled: no correct version found! (Found v4.0.2, expecting v

Post 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:

Code: Select all

opkg install python3
Last edited by Andori on June 13th, 2022, 3:07 am, edited 2 times in total.
yitzi
Newbie
Newbie
Posts: 9
Joined: November 20th, 2019, 2:29 am

Re: Can't download on QNAP after update to 3.6.0: SABYenc disabled: no correct version found! (Found v4.0.2, expecting v

Post 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.
User avatar
safihre
Administrator
Administrator
Posts: 5523
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Can't download on QNAP after update to 3.6.0: SABYenc disabled: no correct version found! (Found v4.0.2, expecting v

Post by safihre »

Interesting that this package does not update the depencies for new versions... That's the minimum I would expect from a package.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Glassmoustache
Newbie
Newbie
Posts: 1
Joined: June 11th, 2022, 7:40 am

Re: Can't download on QNAP after update to 3.6.0: SABYenc disabled: no correct version found! (Found v4.0.2, expecting v

Post by Glassmoustache »

Thanks so much for the fix! This has been bugging me all morning!
fuman
Newbie
Newbie
Posts: 4
Joined: June 10th, 2022, 6:49 pm

Re: Can't download on QNAP after update to 3.6.0: SABYenc disabled: no correct version found! (Found v4.0.2, expecting v

Post 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?
zoggy
Release Testers
Release Testers
Posts: 75
Joined: February 8th, 2011, 3:08 pm

Re: Can't download on QNAP after update to 3.6.0: SABYenc disabled: no correct version found! (Found v4.0.2, expecting v

Post 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?
Andori
Newbie
Newbie
Posts: 5
Joined: June 10th, 2022, 9:40 am

Re: Can't download on QNAP after update to 3.6.0: SABYenc disabled: no correct version found! (Found v4.0.2, expecting v

Post 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
Andori
Newbie
Newbie
Posts: 5
Joined: June 10th, 2022, 9:40 am

Re: Can't download on QNAP after update to 3.6.0: SABYenc disabled: no correct version found! (Found v4.0.2, expecting v

Post 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.
yitzi
Newbie
Newbie
Posts: 9
Joined: November 20th, 2019, 2:29 am

Re: Can't download on QNAP after update to 3.6.0: SABYenc disabled: no correct version found! (Found v4.0.2, expecting v

Post 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:

Code: Select all

opkg install python3
Post Reply