[QPKG] sherpa: a mini-package-manager (CLI)

Indeed but Im old school set and forget type of guy. I had issues previously with incompatible packages etc which is why I rarely upgraded QTS and the packages. If it aint broke dont touch it.

I hear you, but QPKGs need continual updates to keep pace with the packaged application requirements.

If it ain’t broke, it soon will-be. :nerd_face:

I updated Sabnzbd to 5.01 with Sherpa not to long ago, but now I get a prompt in the Sabnzbd web interface that there is a new version 5.03 available. Isn’t Sabnzbd updated automatically with sherpa? I’ve restarted the NAS several times.

Hi mate, and welcome to the forum. :slight_smile:

QPKGs will now (by-default) not update themselves on QPKG start/restart. This should yield more stable applications, and quicker application startup times.

You can re-enable this for the SABnzbd QPKG through sherpa with:

sherpa enable-auto-update sab restart sab

Hi.

I was trying to update sabnzbd manually with

sherpa upgrade sabnzbd

It says that there are no new updates although the sabnzbd webgui says there is. Is it not possible to update to the latest version with this command? I don’t remember seeing prompts to update before when auto update was turned on.

The new update action is still being developed. :wink:

You can run it using the service-script:

/etc/init.d/sabnzbd.sh update

Hi @OneCD,

in trouble again, nothing works for some reason after holidays. Tried, sherpa fix, updates, starts… no help.

Removed and reinstalled sab, but that did not help either.

Sherpa fix

[~] # sherpa fix
sherpa v260620-stable
done: actions complete.

• Package actions started @ 7:13:56 PM, ended @ 7:14:16 PM, elapsed = 20 seconds

• These package actions completed OK:
    install auxiliary PIP in 3 seconds
    reactivate SABnzbd QPKG in 2 seconds
    reactivate SickGear QPKG in 2 seconds

• These package actions were skipped (and why):
    "sign" Entware QPKG in < 1 second (already signed)
    "sign" Par2turbo QPKG in < 1 second (already signed)
    "sign" sherpa QPKG in < 1 second (already signed)
    "sign" Unrar QPKG in < 1 second (already signed)
    "sign" nzbToMedia QPKG in < 1 second (already signed)
    "sign" SABnzbd QPKG in < 1 second (already signed)
    "sign" SickGear QPKG in < 1 second (already signed)
    reactivate ClamAV QPKG in < 1 second (not installed)

• This package action failed (and why):
    reactivate nzbToMedia QPKG in < 1 second (not-found)

Hi mate, let’s see if we can figure it out. :nerd_face:

We’ll do one package at-a-time.

Can you please start SABnzbd (using the service-script) in debug mode?

/etc/init.d/sabnzbd.sh start debug

… then post what you see back here?

i tried to update sabnzbd to Version 5.10, which was just released. but unfortunately it does not wirkt.

i started sabnzbd in debug Mode and this is the output:

/etc/init.d/sabnzbd.sh start debug

  • source: sabnzbd.sh, action: start, time: Mon 10 Aug 2026 5:49:34 PM CEST, load: 0.56
  • package: 260620, service: 260620,
    library: 260620
  • QPKG enabled: true
  • application auto-update: true
  • active git branch: master
  • daemon PID: none
  • file exists: /opt/bin/git

update ‘SABnzbd’ from remote repository:
{ exec: ‘cd /tmp;/opt/bin/git -C “/share/MD1_DATA/.qpkg/SABnzbd/repo-cache” clean -f;/opt/bin/git -C “/share/MD1_DATA/.qpkg/SABnzbd/repo-cache”
reset --hard origin/master;/opt/bin/git -C “/share/MD1_DATA/.qpkg/SABnzbd/repo-cache” pull’
HEAD is now at ab16e13 Set version to 5.1.0
Already up to date.
} exec: completed OK (0)

  • active git branch: master

load ports from configuration file: OK
start daemon:
{ exec: ‘/share/MD1_DATA/.qpkg/SABnzbd/venv/bin/python3 /share/MD1_DATA/.qpkg/SABnzbd/repo-cache/SABnzbd.py
–daemon --browser 0 --config-file /share/MD1_DATA/.qpkg/SABnzbd/config/config.ini --pidfile /var/run/SABnzbd.pid’
Traceback (most recent call last):
File “/share/MD1_DATA/.qpkg/SABnzbd/repo-cache/SABnzbd.py”, line 66, in
import sabnzbd
File “/share/MD1_DATA/.qpkg/SABnzbd/repo-cache/sabnzbd/init.py”, line 84, in
import sabnzbd.misc as misc
File “/share/MD1_DATA/.qpkg/SABnzbd/repo-cache/sabnzbd/misc.py”, line
48, in
from hachoir.parser import createParser as hachoir_create_parser
ModuleNotFoundError: No module named ‘hachoir’
} exec: completed with errors (1)
w there has been a daemon launch failure
= source: sabnzbd.sh, action: start, time: Mon 10 Aug 2026 5:49:41 PM CEST, result: FAILED, elapsed: 7,207ms, load: 0.63
[~] #

it seems some work is needed for sabnzbd to work again…

[~] # /etc/init.d/sabnzbd.sh start debug

/share/MD0_DATA/.qpkg/SABnzbd/service.lib: line 1819: service_action: unbound variable

Hello OneCD,

my Sabnzbd has also stopped working:

I tried fix / reinstall, nothing worked.

Any idea what wrong?
activate SABnzbd QPKG in 5m:03s (file /opt/bin/git not found (exceeded timeout: 300 seconds))

[~] # /etc/init.d/sabnzbd.sh start debug

  • source: sabnzbd.sh, action: start, time: Mon 10 Aug 2026 9:23:38 PM CEST, load: 5.90
  • package: 260620, service: 260620, library: 260620
  • QPKG enabled: true
  • application auto-update: true
  • active git branch: master
  • daemon PID: none
  • file exists: /opt/bin/git

update ‘SABnzbd’ from remote repository:
{ exec: ‘cd /tmp;/opt/bin/git -C “/share/CACHEDEV1_DATA/.qpkg/SABnzbd/repo-cache” clean -f;/opt/bin/git -C “/share/CACHEDEV1_DATA/.qpkg/SABnzbd/repo-cache” reset --hard origin/master;/opt/bin/git -C “/share/CACHEDEV1_DATA/.qpkg/SABnzbd/repo-cache” pull’
HEAD is now at ab16e13 Set version to 5.1.0
Already up to date.
} exec: completed OK (0)

  • active git branch: master

load ports from configuration file: OK
start daemon:
{ exec: ‘/share/CACHEDEV1_DATA/.qpkg/SABnzbd/venv/bin/python3 /share/CACHEDEV1_DATA/.qpkg/SABnzbd/repo-cache/SABnzbd.py --daemon --browser 0 --config-file /share/CACHEDEV1_DATA/.qpkg/SABnzbd/config/config.ini --pidfile /var/run/SABnzbd.pid’
Traceback (most recent call last):
File “/share/CACHEDEV1_DATA/.qpkg/SABnzbd/repo-cache/SABnzbd.py”, line 66, in
import sabnzbd
File “/share/CACHEDEV1_DATA/.qpkg/SABnzbd/repo-cache/sabnzbd/init.py”, line 84, in
import sabnzbd.misc as misc
File “/share/CACHEDEV1_DATA/.qpkg/SABnzbd/repo-cache/sabnzbd/misc.py”, line 48, in
from hachoir.parser import createParser as hachoir_create_parser
ModuleNotFoundError: No module named ‘hachoir’
} exec: completed with errors (1)
w there has been a daemon launch failure
= source: sabnzbd.sh, action: start, time: Mon 10 Aug 2026 9:23:49 PM CEST, result: FAILED, elapsed: 0h:00m:11s, load: 5.70

===English translation added by Dolbyman===

Hello OneCD,

After many years of trouble-free use and regular updates via the brilliant Sherpa script (thank you so much!), I also encountered the problem described here today on a QNAP TS-673.

I’ve already tried fix, clean, start, reinstall, and upgrade new, all without success. The output looks like this:

sherpa upgrade new

sherpa v260620-stable
done: actions complete.

[/] # sherpa upgrade new
sherpa v260620-stable
done: actions complete.

• Package actions started @ 9:56:32 PM, ended @ 9:57:11 PM, elapsed = 39 seconds

• These package actions completed OK:
download Unrar QPKG in < 1 second
download Par2turbo QPKG in 1 second
deactivate SABnzbd QPKG in 1 second
deactivate Par2turbo QPKG in < 1 second
deactivate Unrar QPKG in < 1 second
upgrade Par2turbo QPKG in 11 seconds (v1.1.0 → v1.2.0)
upgrade Unrar QPKG in 11 seconds (v6.2.5 → v7.0.8)
reactivate Par2turbo QPKG in < 1 second
reactivate Unrar QPKG in < 1 second
reactivate Entware QPKG in 1 second

• This package action failed (and why):
activate SABnzbd QPKG in 3 seconds (not-found)

It looks like SABnzbd isn’t found on the NAS.

Thanks in advance for your help!

Best regards, Jörg.

So I’ve updated hachoir and ran a debug again. It still doesn’t work but I get a differen error:

[~] # /etc/init.d/sabnzbd.sh start debug

  • source: sabnzbd.sh, action: start, time: Mon 10 Aug 2026 10:04:34 PM CEST, load: 3.15
  • package: 260620, service: 260620, library: 260620
  • QPKG enabled: true
  • application auto-update: true
  • active git branch: master
  • daemon PID: none
  • file exists: /opt/bin/git

update ‘SABnzbd’ from remote repository:
{ exec: ‘cd /tmp;/opt/bin/git -C “/share/CACHEDEV1_DATA/.qpkg/SABnzbd/repo-cache” clean -f;/opt/bin/git -C “/share/CACHEDEV1_DATA/.qpkg/SABnzbd/repo-cache” reset --hard origin/master;/opt/bin/git -C “/share/CACHEDEV1_DATA/.qpkg/SABnzbd/repo-cache” pull’
HEAD is now at ab16e13 Set version to 5.1.0
Already up to date.
} exec: completed OK (0)

  • active git branch: master

load ports from configuration file: OK
start daemon:
{ exec: ‘/share/CACHEDEV1_DATA/.qpkg/SABnzbd/venv/bin/python3 /share/CACHEDEV1_DATA/.qpkg/SABnzbd/repo-cache/SABnzbd.py --daemon --browser 0 --config-file /share/CACHEDEV1_DATA/.qpkg/SABnzbd/config/config.ini --pidfile /var/run/SABnzbd.pid’
Traceback (most recent call last):
File “/share/CACHEDEV1_DATA/.qpkg/SABnzbd/repo-cache/SABnzbd.py”, line 66, in
import sabnzbd
File “/share/CACHEDEV1_DATA/.qpkg/SABnzbd/repo-cache/sabnzbd/init.py”, line 84, in
import sabnzbd.misc as misc
File “/share/CACHEDEV1_DATA/.qpkg/SABnzbd/repo-cache/sabnzbd/misc.py”, line 1877, in
rarfile.rar3_s2k = lru_cache(maxsize=128)(sabctools.rarfile_rar3_s2k)
^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module ‘sabctools’ has no attribute ‘rarfile_rar3_s2k’
} exec: completed with errors (1)
w there has been a daemon launch failure
= source: sabnzbd.sh, action: start, time: Mon 10 Aug 2026 10:04:39 PM CEST, result: FAILED, elapsed: 4,733ms, load: 3.05

Translated your post, please check what language section you are posting in before you post.

===Translated yet again by Dolbyman===
I don’t mean to be rude, but about 200 posts before mine were also written in German, including OneCD’s opening post. So I didn’t even realize I was actually in the English section.

That’s because the QNAP forum uses AI to translate posts to your set language.
To avoid confusion you might want to change the following setting so you always see the original language:
In Preferences click on Interface and click on the checkbox Show original content instead of translated content.
Save the change and you see all posts in their original language

@OneCD: I’m having the same problem with SABnzbd.

Nope you have AI translation active (a pest and bane of existence), please switch it off and you will see that this is the English section of this forum.

image

Briefly, for the SABnzbd users: a new major application release just occurred (5.1.0), and I’m presently building a new set of SABnzbd QPKGs with all the new Python modules needed. I am working on making these available ASAP.

I’ll address each post separately after the new SABnzbd QPKGs are complete.

I’ve read everyone’s posts, and they all appear related to the recent SABnzbd upgrade.

New QPKGs have been released for all NAS arches, including support for the new SABnzbd v5.1.0.

To upgrade:

sherpa upgrade new

Then, to ensure any inactive QPKGs are started:

sherpa start inactive

Please advise of any issues. :nerd_face: