Thanks, a nice way to wake up!
All seems to be working fine now
Thank you! Your support since years is simply phenomenal!
I had to run sherpa fix once after I’ve proceeded as you described and now it works fine again.
I have a question that might reveal my ignorance. But how is it possible that SABnzbd stopped working, even though I haven’t updated either the firmware or SABnzbd? Are certain files or data updated automatically each time, and is there a way to prevent that (if that even makes sense)? You know the old saying: never touch a running system
.
Yes, it’s possible. The default for a long time was to update the application files on each service-script restart (“auto-update”). I changed this default earlier this year, and it’s now set to not update the application files. But it only applies to new installations.
You can check the current setting for SABnzbd with:
/etc/init.d/sabnzbd.sh status
One of the output lines is called application auto-update, and the setting will be true or false.
To disable auto-updating:
/etc/init.d/sabnzbd.sh disable-auto-update
To see the other options available:
/etc/init.d/sabnzbd.sh
Hi,
Good to hear the fix is working for many, but seems it still does not work for me…
[~] # sherpa upgrade new
sherpa v260811-stable (i64)
done: actions complete.
• Package actions started @ 10:37:15 PM, ended @ 10:37:46 PM, elapsed = 31 seconds
• These package actions completed OK:
download SABnzbd QPKG in < 1 second
deactivate SABnzbd QPKG in 1 second
reactivate Par2turbo QPKG in < 1 second
reactivate Unrar QPKG in < 1 second
reactivate Entware QPKG in 1 second
upgrade SABnzbd QPKG in 13 seconds (v260620 -> v260811)
activate SABnzbd QPKG in 1 second
• This package action failed (and why):
clean SABnzbd QPKG in < 1 second (not-found)
[~] # sherpa start inactive
sherpa v260811-stable (i64)
done: actions complete.
• Package actions started @ 10:38:01 PM, ended @ 10:38:13 PM, elapsed = 12 seconds
• These package actions completed OK:
activate SABnzbd QPKG in 1 second
activate SickGear QPKG in 1 second
• No package actions were skipped.
• This package action failed (and why):
activate nzbToMedia QPKG in < 1 second (not-found)
[~] # sherpa status
sherpa v260811-stable (i64)
done: actions complete.
QPKG name: Status: Last action (result): QPKG version: Appl. version: Location:
ClamAV * incompatible author N/A N/A **N/A** **/share/MD0_DATA/.qpkg/ClamAV
Entware • enabled, active unsupported 1.03a 1.03a /share/MD0_DATA/.qpkg/Entware
nzbToMedia • enabled, inactive reinstall (OK) 260620 dynamic /share/MD0_DATA/.qpkg/nzbToMedia
Par2turbo • enabled, active unsupported 1.2.0 1.2.0 /share/MD0_DATA/.qpkg/Par2turbo
SABnzbd • enabled, inactive upgrade (OK) 260811 static /share/MD0_DATA/.qpkg/SABnzbd
sherpa • enabled, active start (OK) 251212 251212 /share/MD0_DATA/.qpkg/sherpa
SickGear • enabled, inactive stop (**OK**) 260620 dynamic /share/MD0_DATA/.qpkg/SickGear
Unrar • enabled, active unsupported 7.0.8 7.01 beta 1 /share/MD0_DATA/.qpkg/Unrar
• Report information:
'inactive' - application process is dead or not-started. Try starting it.
'author incompatible' - QPKG is a non-compatible, identically-named duplicate of a sherpa QPKG.
'*' - QPKG cannot be managed with sherpa.
'enabled' - QPKG will be started at bootup.
'(OK)' - previous action was successful.
'active' - application is alive (and responsive if a daemon).
'dynamic' - application version is the latest available.
'static' - application version auto-update is disabled or unsupported.
'N/A' - not applicable.
'unsupported' - action tracking is unsupported by this QPKG.
To disable this report information panel:
# sherpa report-info off
[~] # sherpa fix
sherpa v260811-stable (i64)
done: actions complete.
• Package actions started @ 10:39:32 PM, ended @ 10:39:55 PM, elapsed = 23 seconds
• These package actions completed OK:
install auxiliary PIP in 7 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)
Please run an about report:
sherpa about
… and post the results back here into a code-block. Select the text and click the </> editor icon. This saves me needing to edit your posts to make them readable. ![]()
[~] # sherpa about
sherpa v260811-stable (i64)
dbug: (II) --------------------------------------------------------------------------------------------------------
dbug: (**) HARDWARE: NAS model: TS-253A
dbug: (**) HARDWARE: CPU: Intel(R) Celeron(R) CPU N3150 @ 1.60GHz
dbug: (**) HARDWARE: available CPU threads: 4
dbug: (**) HARDWARE: CPU architecture: x86_64 (64b)
dbug: (**) HARDWARE: basic CPU SHA1 benchmark: 50.9MB/s
dbug: (**) HARDWARE: RAM: 7.69GiB
dbug: (**) KERNEL: name: GNU/Linux
dbug: (**) KERNEL: version: 5.10.60-qnap
dbug: (**) KERNEL: page size: 4096B
dbug: (**) FIRMWARE: OS: QTS
dbug: (**) FIRMWARE: version: 5.2.10.3568
dbug: (**) FIRMWARE: build date: 20260722 (Wed 22 Jul 2026)
dbug: (**) FIRMWARE: platform: X86_BRASWELL
dbug: (**) OS: state: online
dbug: (**) OS: uptime: 59h:11m:28s
dbug: (**) OS: load averages: 1.17 (1m), 0.88 (5m), 0.82 (15m)
dbug: (**) STORAGE: basic write benchmark: 660MB/s
dbug: (**) STORAGE: /opt: /share/MD0_DATA/.qpkg/Entware
dbug: (**) USERSPACE: libc: (GNU libc) 2.21
dbug: (**) USERSPACE: libc copyright: Copyright (C) 2015 Free Software Foundation, Inc.
dbug: (**) USERSPACE: $EUID: 0
dbug: (NA) USERSPACE: $SUDO_UID: N/A
dbug: (**) USERSPACE: BusyBox version: BusyBox v1.24.1 (2026-07-22 02:14:35 CST) multi-call binary.
dbug: (**) USERSPACE: BusyBox copyright: BusyBox is copyrighted by many authors between 1998-2015.
dbug: (**) USERSPACE: BusyBox function count: 166
dbug: (**) SCRIPT: QPKG version: 251212 (Fri 12 Dec 2025)
dbug: (**) SCRIPT: manager version: v260811-stable (i64)
dbug: (**) SCRIPT: manager epoch: 1786406239 (Tue 11 Aug 2026 2:57:19 AM EEST)
dbug: (**) SCRIPT: objects epoch: 1786406233 (Tue 11 Aug 2026 2:57:13 AM EEST)
dbug: (**) SCRIPT: packages epoch: 1786406107 (Tue 11 Aug 2026 2:55:07 AM EEST)
dbug: (**) QPKG: package release: v260811 (Tue 11 Aug 2026)
dbug: (NA) QPKG: allow unofficial: N/A
dbug: (**) QPKG: require signed: no
dbug: (**) QPKG: architecture: i64 (Intel x86-64)
dbug: (**) QPKG: date Entware installed: 2026-08-09 (Sun 9 Aug 2026)
dbug: (**) QPKG: Entware type: std
dbug: (NA) QPKG: SortMyQPKGs: N/A
dbug: (NA) QPKG: IncreaseTimeouts: N/A
dbug: (II) --------------------------------------------------------------------------------------------------------
Much better. ![]()
And can you confirm: are you still getting the “unbound variable” error when attempting to start SABnzbd?
/etc/init.d/sabnzbd.sh start debug
yes…
[~] # /etc/init.d/sabnzbd.sh start debug
/share/MD0_DATA/.qpkg/SABnzbd/service.lib: line 1819: service_action: unbound variable
Damn. ![]()
Can you please run checksums on the service-script files and post them back here?
md5sum $(getcfg SABnzbd install_path -f /etc/config/qpkg.conf)/*.{sh,lib}
[~] # md5sum $(getcfg SABnzbd install_path -f /etc/config/qpkg.conf)/*.{sh,lib}
af4a85cbbab3d8be81ae99f4a91543c2 /share/MD0_DATA/.qpkg/SABnzbd/sabnzbd.sh
afa193e89bce76f6b4533a068826e3a1 /share/MD0_DATA/.qpkg/SABnzbd/service.lib
So, identical to mine, and exactly what they should-be. ![]()
Next one: please post your environment variables (this might be more than a screenful of text):
set
[~] # set
BASH=/bin/sh
BASH_ARGC=()
BASH_ARGV=()
BASH_LINENO=()
BASH_SOURCE=()
BASH_VERSINFO=([0]="3" [1]="2" [2]="57" [3]="1" [4]="release" [5]="x86_64-QNAP-linux-gnu")
BASH_VERSION='3.2.57(1)-release'
CHECK_OPT_PATH=0
COLUMNS=167
DIRSTACK=()
DMALLOC_OPTIONS=debug=0x34f47d83,inter=100,log=logfile
EDITOR=/bin/vi
EUID=0
GROUPS=()
HISTFILE=/root/.bash_history
HISTFILESIZE=1000
HISTSIZE=1000
HOME=/root
HOSTNAME=QNAP-TS253A
HOSTTYPE=x86_64
IFS='
'
INPUTRC=/etc/inputrc
JAVA_HOME=/usr/local/jre
LANG=en_US.UTF-8
LC_ALL=en_US.UTF-8
LC_CTYPE=en_US.UTF-8
LINES=42
LOGNAME=admin
LS_COLORS='no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.jpg=01;35:*.jpeg=01;35:*.png=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.mpg=01;35:*.mpeg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:'
MACHTYPE=x86_64-QNAP-linux-gnu
MAIL=/var/mail/admin
MAILCHECK=60
OPTERR=1
OPTIND=1
OSTYPE=linux-gnu
PAGER='/bin/more '
PATH=/opt/bin:/opt/sbin:/share/MD0_DATA/.qpkg/container-station/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin/X11:/usr/local/sbin:/usr/local/bin:/usr/local/jre/bin:/Apps/bin:/Apps/sbin
PIPESTATUS=([0]="0")
POSIXLY_CORRECT=y
PPID=18664
PS1='[\w] # '
PS2='> '
PS4='+ '
PWD=/root
SHELL=/bin/sh
SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:monitor:posix
SHLVL=1
SSH_CLIENT='192.168.255.21 49437 22'
SSH_CONNECTION='192.168.255.21 49437 192.168.255.250 22'
SSH_TTY=/dev/pts/0
TEMP=/opt/tmp
TERM=xterm
TERMINFO=/opt/share/terminfo
TMP=/opt/tmp
UID=0
USER=admin
_=/share/MD0_DATA/.qpkg/SABnzbd/service.lib
Also looks good. ![]()
I don’t know why this is happening. ![]()
Let’s disable the check for unbound variables in service.lib and see how far we can get.
If you edit service.lib, the first executable line is:
set -o nounset
Please comment this line out, so it looks like this:
#set -o nounset
… save service.lib, then try starting SABnzbd again:
/etc/init.d/sabnzbd.sh start debug
[/share/MD0_DATA/.qpkg/SABnzbd] # /etc/init.d/sabnzbd.sh start debug
/share/MD0_DATA/.qpkg/SABnzbd/service.lib: line 1944: : No such file or directory
bugr: fstack: main() > source() > InitLibrary($test_backup_path: 'undefined path') > ConfirmVarIsDefined() > ShowAsBug()
= source: sabnzbd.sh, action: , time: , result: FAILED, elapsed: 496245h:10m:07s, load: 0.69
/share/MD0_DATA/.qpkg/SABnzbd/service.lib: line 1944: : No such file or directory
Ah, that’s better. Give me a few minutes, I’ll see if I can recreate the error here…
Next thing for you to check please:
getcfg SHARE_DEF defVolMP -f /etc/config/def_share.info
I’m guessing def_share.info won’t be there.
bingo, nothing
Did you get a file not found error? Or just a blank result?
blank