Errors trying to update to 4.1.0 on Debian 12

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
road hazard
Newbie
Newbie
Posts: 12
Joined: August 10th, 2019, 8:48 pm

Errors trying to update to 4.1.0 on Debian 12

Post by road hazard »

Decided to update to SAB 4.1.0 today. I shut down the app via the web GUI, went into the SAB folder and did:

Code: Select all

git checkout master
git pull
..... started SAB back up and got hit with these errors:

Code: Select all

Essential modules are missing, downloading cannot start.
ERROR a few seconds ago SABCTools disabled: no correct version found! (Found v7.0.2, expecting v7.1.2)
So I went back out to the CLI and typed:

Code: Select all

python3 -m pip install -r requirements.txt -U
...and got this:

Code: Select all

To update SABnzbd, use web interface to shutdown the server

cd into the sab folder

git checkout master

git pull

use the startup applications program to run sab



Defaulting to user installation because normal site-packages is not writeable
Ignoring pywin32: markers 'sys_platform == "win32"' don't match your environment
Ignoring pyobjc: markers 'sys_platform == "darwin"' don't match your environment
Collecting sabctools==7.1.2
  Downloading sabctools-7.1.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (559 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 559.9/559.9 kB 5.6 MB/s eta 0:00:00
Requirement already satisfied: cheetah3==3.2.6.post1 in /home/gene/.local/lib/python3.11/site-packages (from -r requirements.txt (line 4)) (3.2.6.post1)
Requirement already satisfied: cffi==1.15.1 in /home/gene/.local/lib/python3.11/site-packages (from -r requirements.txt (line 5)) (1.15.1)
Requirement already satisfied: pycparser==2.21 in /home/gene/.local/lib/python3.11/site-packages (from -r requirements.txt (line 6)) (2.21)
Requirement already satisfied: feedparser==6.0.10 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 7)) (6.0.10)
Requirement already satisfied: configobj==5.0.8 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 8)) (5.0.8)
Requirement already satisfied: cheroot==10.0.0 in /home/gene/.local/lib/python3.11/site-packages (from -r requirements.txt (line 9)) (10.0.0)
Requirement already satisfied: six==1.16.0 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 10)) (1.16.0)
Requirement already satisfied: cherrypy==18.8.0 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 11)) (18.8.0)
Collecting jaraco.functools==3.9.0
  Downloading jaraco.functools-3.9.0-py3-none-any.whl (9.5 kB)
Collecting jaraco.collections==4.3.0
  Downloading jaraco.collections-4.3.0-py3-none-any.whl (11 kB)
Requirement already satisfied: jaraco.text==3.8.1 in /home/gene/.local/lib/python3.11/site-packages (from -r requirements.txt (line 14)) (3.8.1)
Collecting jaraco.classes==3.3.0
  Downloading jaraco.classes-3.3.0-py3-none-any.whl (5.9 kB)
Requirement already satisfied: jaraco.context==4.3.0 in /home/gene/.local/lib/python3.11/site-packages (from -r requirements.txt (line 16)) (4.3.0)
Collecting more-itertools==10.1.0
  Downloading more_itertools-10.1.0-py3-none-any.whl (55 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 55.8/55.8 kB 4.8 MB/s eta 0:00:00
Requirement already satisfied: zc.lockfile==3.0.post1 in /home/gene/.local/lib/python3.11/site-packages (from -r requirements.txt (line 18)) (3.0.post1)
Requirement already satisfied: python-dateutil==2.8.2 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 19)) (2.8.2)
Collecting tempora==5.5.0
  Downloading tempora-5.5.0-py3-none-any.whl (13 kB)
Collecting pytz==2023.3.post1
  Downloading pytz-2023.3.post1-py2.py3-none-any.whl (502 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 502.5/502.5 kB 48.3 MB/s eta 0:00:00
Requirement already satisfied: sgmllib3k==1.0.0 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 22)) (1.0.0)
Collecting portend==3.2.0
  Downloading portend-3.2.0-py3-none-any.whl (5.3 kB)
Collecting chardet==5.2.0
  Downloading chardet-5.2.0-py3-none-any.whl (199 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 199.4/199.4 kB 32.6 MB/s eta 0:00:00
Requirement already satisfied: PySocks==1.7.1 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 25)) (1.7.1)
Requirement already satisfied: puremagic==1.15 in /home/gene/.local/lib/python3.11/site-packages (from -r requirements.txt (line 26)) (1.15)
Requirement already satisfied: guessit==3.7.1 in /home/gene/.local/lib/python3.11/site-packages (from -r requirements.txt (line 27)) (3.7.1)
Requirement already satisfied: babelfish==0.6.0 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 28)) (0.6.0)
Requirement already satisfied: rebulk==3.2.0 in /home/gene/.local/lib/python3.11/site-packages (from -r requirements.txt (line 29)) (3.2.0)
Collecting cryptography==41.0.4
  Downloading cryptography-41.0.4-cp37-abi3-manylinux_2_28_x86_64.whl (4.4 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.4/4.4 MB 56.7 MB/s eta 0:00:00
Collecting ujson==5.8.0
  Downloading ujson-5.8.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (53 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 53.9/53.9 kB 10.0 MB/s eta 0:00:00
Requirement already satisfied: notify2==0.3.1 in /home/gene/.local/lib/python3.11/site-packages (from -r requirements.txt (line 46)) (0.3.1)
Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (from zc.lockfile==3.0.post1->-r requirements.txt (line 18)) (66.1.1)
Installing collected packages: sabctools, pytz, ujson, more-itertools, chardet, jaraco.functools, jaraco.classes, cryptography, tempora, portend, jaraco.collections
  Attempting uninstall: sabctools
    Found existing installation: sabctools 7.0.2
    Uninstalling sabctools-7.0.2:
      Successfully uninstalled sabctools-7.0.2
  Attempting uninstall: pytz
    Found existing installation: pytz 2023.3
    Uninstalling pytz-2023.3:
      Successfully uninstalled pytz-2023.3
  Attempting uninstall: more-itertools
    Found existing installation: more-itertools 9.1.0
    Uninstalling more-itertools-9.1.0:
      Successfully uninstalled more-itertools-9.1.0
  WARNING: The script chardetect is installed in '/home/gene/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  Attempting uninstall: jaraco.functools
    Found existing installation: jaraco.functools 3.6.0
    Uninstalling jaraco.functools-3.6.0:
      Successfully uninstalled jaraco.functools-3.6.0
  Attempting uninstall: jaraco.classes
    Found existing installation: jaraco.classes 3.2.3
    Uninstalling jaraco.classes-3.2.3:
      Successfully uninstalled jaraco.classes-3.2.3
  Attempting uninstall: cryptography
    Found existing installation: cryptography 40.0.2
    Uninstalling cryptography-40.0.2:
      Successfully uninstalled cryptography-40.0.2
  Attempting uninstall: tempora
    Found existing installation: tempora 5.2.2
    Uninstalling tempora-5.2.2:
      Successfully uninstalled tempora-5.2.2
  WARNING: The script calc-prorate is installed in '/home/gene/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  Attempting uninstall: jaraco.collections
    Found existing installation: jaraco.collections 4.1.0
    Uninstalling jaraco.collections-4.1.0:
      Successfully uninstalled jaraco.collections-4.1.0
Successfully installed chardet-5.2.0 cryptography-41.0.4 jaraco.classes-3.3.0 jaraco.collections-4.3.0 jaraco.functools-3.9.0 more-itertools-10.1.0 portend-3.2.0 pytz-2023.3.post1 sabctools-7.1.2 tempora-5.5.0 ujson-5.8.0
I'm a bit of a Linux newbie and SAB updates have gone perfectly fine for me in the past. Any ideas?
User avatar
OneCD
Hero Member
Hero Member
Posts: 557
Joined: March 4th, 2017, 3:47 pm

Re: Errors trying to update to 4.1.0 on Debian 12

Post by OneCD »

Try upgrading just the 'sabctools' module:

Code: Select all

python3 -m pip install --upgrade sabctools
Stuff I like: Apache bash cron DD-WRT Debian DNSMasq Entware FireFox GitHub ImageMagick Kate KDE LibreELEC Netrunner NFS NVIDIA OpenVPN Orvibo-S20 pfSense Python Raspberry-Pi RAID SABnzbd Transmission Usenet VirtualBox Watcher3 XFCE
User avatar
sander
Release Testers
Release Testers
Posts: 8832
Joined: January 22nd, 2008, 2:22 pm

Re: Errors trying to update to 4.1.0 on Debian 12

Post by sander »

I'm a bit of a Linux newbie
Curious: why did you choose Debian then? Debian is not the easiest Linux.

Anyway:
Successfully installed ... sabctools-7.1.2 ...
... looks good to me. So start ./SABnzbd.py again?
road hazard
Newbie
Newbie
Posts: 12
Joined: August 10th, 2019, 8:48 pm

Re: Errors trying to update to 4.1.0 on Debian 12

Post by road hazard »

OneCD wrote: September 29th, 2023, 3:52 pm Try upgrading just the 'sabctools' module:

Code: Select all

python3 -m pip install --upgrade sabctools
SAB is still busted :(

Code: Select all

python3 -m pip install --upgrade sabctools --break-system-packages
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: sabctools in /home/gene/.local/lib/python3.11/site-packages (7.1.2)
Collecting sabctools
  Downloading sabctools-8.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (562 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 562.9/562.9 kB 8.2 MB/s eta 0:00:00
Installing collected packages: sabctools
  Attempting uninstall: sabctools
    Found existing installation: sabctools 7.1.2
    Uninstalling sabctools-7.1.2:
      Successfully uninstalled sabctools-7.1.2
Successfully installed sabctools-8.0.0
How do I revert to the previous version? Couldn't find anything in the FAQ or Wiki (unless I'm blind :) )
road hazard
Newbie
Newbie
Posts: 12
Joined: August 10th, 2019, 8:48 pm

Re: Errors trying to update to 4.1.0 on Debian 12

Post by road hazard »

sander wrote: September 29th, 2023, 3:56 pm
I'm a bit of a Linux newbie
Curious: why did you choose Debian then? Debian is not the easiest Linux.

Anyway:
Successfully installed ... sabctools-7.1.2 ...
... looks good to me. So start ./SABnzbd.py again?
I picked Debian because I distro hopped for about a year and just liked everything about it (mainly the rock stable performance).

Yep..... it says 7.1.2 is installed but keeps finding 7.0.2 and refuses to launch.
User avatar
sander
Release Testers
Release Testers
Posts: 8832
Joined: January 22nd, 2008, 2:22 pm

Re: Errors trying to update to 4.1.0 on Debian 12

Post by sander »

Then that sabctools 7.0.2 is probably installed elsewhere. Find out where by doing this:

Code: Select all

$ python3
Python 3.9.2 (default, Feb 28 2021, 17:03:44) 
[GCC 10.2.1 20210110] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import sabctools
>>> sabctools.version
'7.1.0'
>>> sabctools.__path__
['/home/sander/.local/lib/python3.9/site-packages/sabctools']
>>>
road hazard
Newbie
Newbie
Posts: 12
Joined: August 10th, 2019, 8:48 pm

Re: Errors trying to update to 4.1.0 on Debian 12

Post by road hazard »

I guess never mind? Cleared the errors and restarted the server and everything looks OK?!?!

So the big question is..... leave SABCTools 8 installed or remove them and put 7.1.2 back in?
Post Reply