Hello OneCD,
Always followed the issues and support you give to the community with great respect. Unfortunately sabnzbd on my old NAS (TS-859 with firmware 4.2.6 20200611) stopped working. Installation of sabnzbd, sickchill, watcher were done in the past with sherpa script as well and I think I need your expertise.
In my attempt to repair my installation I started with the instructions at the base of this "sherpa subforum" and will share sherpa.debug.log as well:
Code: Select all
[~] # /etc/init.d/sabnzbd.sh start
= (SABnzbdplus) is not active
* updating (SABnzbdplus): OK
* updating language support (SABnzbdplus): Traceback (most recent call last):
File "tools/make_mo.py", line 295, in <module>
make_templates()
File "tools/make_mo.py", line 217, in make_templates
translate_tmpl("email", lng)
File "tools/make_mo.py", line 193, in translate_tmpl
with open(EMAIL_DIR + "/%s-en.tmpl" % prefix, "r", encoding="utf-8") as src:
TypeError: 'encoding' is an invalid keyword argument for this function
failed!
result=[1]
Email MO files
Compile locale/da/LC_MESSAGES/SABemail.mo
Compile locale/de/LC_MESSAGES/SABemail.mo
Compile locale/en/LC_MESSAGES/SABemail.mo
Compile locale/es/LC_MESSAGES/SABemail.mo
Compile locale/fi/LC_MESSAGES/SABemail.mo
Compile locale/fr/LC_MESSAGES/SABemail.mo
Compile locale/he/LC_MESSAGES/SABemail.mo
Compile locale/nb/LC_MESSAGES/SABemail.mo
Compile locale/nl/LC_MESSAGES/SABemail.mo
Compile locale/pl/LC_MESSAGES/SABemail.mo
Compile locale/pt_BR/LC_MESSAGES/SABemail.mo
Compile locale/ro/LC_MESSAGES/SABemail.mo
Compile locale/ru/LC_MESSAGES/SABemail.mo
Compile locale/sr/LC_MESSAGES/SABemail.mo
Compile locale/sv/LC_MESSAGES/SABemail.mo
Compile locale/zh_CN/LC_MESSAGES/SABemail.mo
Create email templates from MO files
Create email template for da
* updating (nzbToMedia): OK
* starting (SABnzbdplus): failed!
result=[1]
Sorry, requires Python 3.5 or above
You can read more at: https://sabnzbd.org/python3
[~] # cd /share/Public
[/share/Public] # curl -skLO https://git.io/sherpa.sh && chmod +x sherpa.sh
[/share/Public] # ./sherpa.sh SABnzbd
sherpa.sh (200802b)
[ done ] downloaded QPKG (Par2_0.8.1.0_x86.qpkg)
[ done ] downloaded QPKG (SABnzbd_200718c.qpkg)
[ done ] installed QPKG (Par2_0.8.1.0_x86.qpkg)
[ done ] updated 'Entware' package list
[ done ] 13 IPKGs (31MB) to be downloaded
[ done ] downloaded & installed 13 IPKGs [ fail ] A required NAS system file is missing (/opt/bin/pip3)
* Ugh! The usual fix is to let sherpa reinstall Entware at least once.
./sherpa.sh ew
If it happens again after reinstalling Entware, please create a new issue for th is on GitHub.
[ fail ] 'SABnzbd' install failed! [21]
* Please consider creating a new issue for this on GitHub:
https://github.com/OneCDOnly/sherpa/issues
* Alternatively, post on the QNAP NAS Community Forum:
https://forum.qnap.com/viewtopic.php?f=320&t=132373
* Remember to include a copy of your sherpa runtime debug log for analysis.
- To display the runtime debug log:
cat sherpa.debug.log
[/share/Public] # ./sherpa.sh Entware
sherpa.sh (200802b)
[ done ] downloaded QPKG (Entware_1.02std.qpkg)
[ note ] Reinstalling Entware will revert all IPKGs to defaults and only those r equired to support your sherpa apps will be reinstalled.
[ note ] The currently installed IPKG list will be saved to (/share/Public/Entwa re.previously.installed.list)
[ warn ] Also, the SABnzbdplus and Headphones packages CANNOT BE REINSTALLED as Python 2.7.16 is no-longer available.
[ quiz ] Press (y) if you agree to remove all current Entware IPKGs and their co nfigs, or any other key to abort: y
[ proc ] uninstalling 'Entware' ...
[ done ] uninstalled 'Entware'
[ done ] installed QPKG (Entware_1.02std.qpkg)
[ done ] 'Entware' package list is up-to-date
[ done ] 52 IPKGs (22MB) to be downloaded
[ done ] downloaded & installed 52 IPKGs
[ done ] 'Watcher3' selected so downgraded Python 3 IPKGs
[ done ] downloaded & installed 'Python 3' modules
[ warn ] Could not restart service 'SickChill' [1]
[ done ] restarted service 'OWatcher3'
[ done ] 'Entware' has been successfully reinstalled!
- To display the runtime debug log:
cat sherpa.debug.log
[/share/Public] #
Code: Select all
[ dbug ] (II) ========================================================================
[ dbug ] (**) SCRIPT: started: Sun Aug 2 13:33:55 CEST 2020
[ dbug ] (**) SCRIPT: version: 200802b
[ dbug ] (II) ------------------------------------------------------------------------
[ dbug ] (II) Markers: (**) detected, (II) information, (WW) warning, (LL) log file,
[ dbug ] (II) (EE) error, (==) processing, (--) done, (>>) f entry, (<<) f exit,
[ dbug ] (II) (vv) variable name & value, ($1) positional argument value.
[ dbug ] (II) ------------------------------------------------------------------------
[ dbug ] (**) NAS : model: TS-859
[ dbug ] (**) NAS : RAM: 2045300 kB
[ dbug ] (**) NAS : firmware version: 4.2.6
[ dbug ] (**) NAS : firmware build: 20200611
[ dbug ] (**) NAS : kernel: 3.4.6 x86_64
[ dbug ] (**) NAS : OS uptime: 29 days
[ dbug ] (**) NAS : system load: 1 min=0.97, 5 min=1.07, 15 min=0.74
[ dbug ] (**) NAS : USER: admin
[ dbug ] (**) NAS : EUID: 0
[ dbug ] (**) NAS : default volume: /share/MD0_DATA
[ dbug ] (**) NAS : $PATH: /opt/bin:/opt/sbin:/bin:/sbin:/usr/bin:/usr
[ dbug ] (**) NAS : /opt: /share/MD0_DATA/.qpkg/Entware
[ dbug ] (**) NAS : /share/Download: MD0_DATA/Download
[ dbug ] (**) SCRIPT: unparsed arguments: SABnzbd
[ dbug ] (**) SCRIPT: app(s) to install: SABnzbd
[ dbug ] (**) SCRIPT: app(s) to uninstall
[ dbug ] (**) SCRIPT: app(s) to reinstall
[ dbug ] (**) SCRIPT: app(s) to update
[ dbug ] (**) SCRIPT: app(s) to backup
[ dbug ] (**) SCRIPT: app(s) to restore
[ dbug ] (**) SCRIPT: work path: /share/Public/sherpa.tmp
[ dbug ] (**) QPKG : download path: /share/Public/sherpa.tmp/qpkg-downloads
[ dbug ] (**) IPKG : download path: /share/Public/sherpa.tmp/ipkg-downloads
[ dbug ] (**) QPKG : arch: x86
[ dbug ] (**) QPKG : Entware installer: std
[ dbug ] (II) ------------------------------------------------------------------------
[ dbug ] (>>) DownloadQPKGs()
[ dbug ] (>>) DownloadQPKG()
[ proc ] downloading QPKG (Par2_0.8.1.0_x86.qpkg) ...
[ done ] downloaded QPKG (Par2_0.8.1.0_x86.qpkg)
[ dbug ] (<<) DownloadQPKG() [0]
[ dbug ] (>>) DownloadQPKG()
[ dbug ] (II) existing QPKG checksum correct (Par2_0.8.1.0_x86.qpkg)
[ dbug ] (<<) DownloadQPKG() [0]
[ dbug ] (>>) DownloadQPKG()
[ proc ] downloading QPKG (SABnzbd_200718c.qpkg) ...
[ done ] downloaded QPKG (SABnzbd_200718c.qpkg)
[ dbug ] (<<) DownloadQPKG() [0]
[ dbug ] (<<) DownloadQPKGs() [0]
[ dbug ] (>>) RemoveUnwantedQPKGs()
[ dbug ] (**) QPKG : 'Optware': not installed [250]
[ dbug ] (**) QPKG : 'Entware-3x': not installed [250]
[ dbug ] (**) QPKG : 'Entware-ng': not installed [250]
[ dbug ] (<<) RemoveUnwantedQPKGs() [0]
[ dbug ] (>>) InstallQPKGIndeps()
[ dbug ] (--) adjusted $PATH
[ dbug ] (vv) $PATH [/opt/bin:/opt/sbin:/opt/bin:/opt/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin/X11:/usr/local/sbin:/usr/local/bin]
[ dbug ] (>>) PatchBaseInit()
[ dbug ] (II) patch: do the "opt shuffle" - already done
[ dbug ] (<<) PatchBaseInit() [0]
[ dbug ] (<<) InstallQPKGIndeps() [0]
[ dbug ] (>>) InstallQPKGIndepsAddons()
[ proc ] installing QPKG (Par2_0.8.1.0_x86.qpkg) - this can take a while ...
[ done ] installed QPKG (Par2_0.8.1.0_x86.qpkg)
[ dbug ] (>>) InstallIPKGs()
[ dbug ] (>>) UpdateEntware()
[ proc ] updating 'Entware' package list ...
[ done ] updated 'Entware' package list
[ dbug ] (<<) UpdateEntware() [0]
[ dbug ] (>>) InstallIPKGBatch()
[ dbug ] (II) ------------------------------------------------------------------------
[ dbug ] (**) STAGE : start stage timer
[ proc ] calculating number and total size of IPKGs required ...
[ dbug ] (II) IPKGs requested: ca-certificates coreutils-nice ffprobe gcc git git-http ionice jq less nano p7zip python3 python3-cryptography python3-dev python3-pip python3-pyopenssl unrar
[ dbug ] (==) finding IPKG dependencies ...
[ dbug ] (--) complete
[ dbug ] (II) found all IPKG dependencies in 13 iterations
[ dbug ] (II) IPKGs requested + dependencies: alsa-lib ar binutils ca-bundle ca-certificates ca-certs coreutils coreutils-nice ffprobe file gcc git git-http ionice jq lame-lib less libatomic libbfd libbz2 libc libcurl libdb47 libexpat libffi libffmpeg-full libgcc libgdbm libgmp libgnutls libiconv-full libintl-full liblzma libmagic libncurses libncursesw libnettle libopcodes libopenssl libopus libpthread librt libsqlite3 libssp libstdcpp libtirpc libuuid libx264 libxml2 nano objdump oniguruma p7zip python-pip-conf python3 python3-asyncio python3-base python3-cffi python3-cgi python3-cgitb python3-codecs python3-cryptography python3-ctypes python3-dbm python3-decimal python3-dev python3-distutils python3-email python3-gdbm python3-lib2to3 python3-light python3-logging python3-lzma python3-multiprocessing python3-ncurses python3-openssl python3-pip python3-pkg-resources python3-ply python3-pycparser python3-pydoc python3-pyopenssl python3-setuptools python3-six python3-sqlite3 python3-unittest python3-urllib python3-xml terminfo unrar zlib
[ dbug ] (**) STAGE : elapsed time: 00h:00m:05s
[ dbug ] (II) ------------------------------------------------------------------------
[ dbug ] (==) excluding IPKGs already installed ...
[ dbug ] (--) complete
[ dbug ] (II) IPKGs to download: libatomic libgmp libgnutls libnettle python3-cffi python3-cryptography python3-dev python3-lib2to3 python3-pkg-resources python3-ply python3-pycparser python3-pyopenssl python3-six
[ dbug ] (==) calculating size of IPKGs to download ...
[ dbug ] (--) complete
[ dbug ] (vv) $IPKG_download_size [30532932]
[ done ] 13 IPKGs (31MB) to be downloaded
[ dbug ] (II) ------------------------------------------------------------------------
[ dbug ] (**) STAGE : start stage timer
[ proc ] downloading & installing 13 IPKGs ...
[ done ] downloaded & installed 13 IPKGs
[ dbug ] (**) STAGE : elapsed time: 00h:00m:22s
[ dbug ] (II) ------------------------------------------------------------------------
[ dbug ] (<<) InstallIPKGBatch() [0]
[ dbug ] (<<) InstallIPKGs() [0]
[ dbug ] (>>) InstallPy3Modules()
[ fail ] A required NAS system file is missing (/opt/bin/pip3)
[ dbug ] (<<) InstallQPKGIndepsAddons() [21]
[ dbug ] (>>) Cleanup()
[ dbug ] (<<) Cleanup() [21]
[ dbug ] (>>) ShowResult()
[ fail ] 'SABnzbd' install failed! [21]
[ dbug ] (vv) $suggest_issue [true]
[ dbug ] (II) ------------------------------------------------------------------------
[ dbug ] (**) SCRIPT: finished: Sun Aug 2 13:34:34 CEST 2020
[ dbug ] (**) SCRIPT: elapsed time: 00h:00m:39s
[ dbug ] (II) ========================================================================
[ dbug ] (<<) ShowResult() [21]
[ dbug ] (II) ========================================================================
[ dbug ] (**) SCRIPT: started: Sun Aug 2 13:36:34 CEST 2020
[ dbug ] (**) SCRIPT: version: 200802b
[ dbug ] (II) ------------------------------------------------------------------------
[ dbug ] (II) Markers: (**) detected, (II) information, (WW) warning, (LL) log file,
[ dbug ] (II) (EE) error, (==) processing, (--) done, (>>) f entry, (<<) f exit,
[ dbug ] (II) (vv) variable name & value, ($1) positional argument value.
[ dbug ] (II) ------------------------------------------------------------------------
[ dbug ] (**) NAS : model: TS-859
[ dbug ] (**) NAS : RAM: 2045300 kB
[ dbug ] (**) NAS : firmware version: 4.2.6
[ dbug ] (**) NAS : firmware build: 20200611
[ dbug ] (**) NAS : kernel: 3.4.6 x86_64
[ dbug ] (**) NAS : OS uptime: 29 days
[ dbug ] (**) NAS : system load: 1 min=0.97, 5 min=1.08, 15 min=0.80
[ dbug ] (**) NAS : USER: admin
[ dbug ] (**) NAS : EUID: 0
[ dbug ] (**) NAS : default volume: /share/MD0_DATA
[ dbug ] (**) NAS : $PATH: /opt/bin:/opt/sbin:/bin:/sbin:/usr/bin:/usr
[ dbug ] (**) NAS : /opt: /share/MD0_DATA/.qpkg/Entware
[ dbug ] (**) NAS : /share/Download: MD0_DATA/Download
[ dbug ] (**) SCRIPT: unparsed arguments: Entware
[ dbug ] (**) SCRIPT: app(s) to install: Entware
[ dbug ] (**) SCRIPT: app(s) to uninstall
[ dbug ] (**) SCRIPT: app(s) to reinstall
[ dbug ] (**) SCRIPT: app(s) to update
[ dbug ] (**) SCRIPT: app(s) to backup
[ dbug ] (**) SCRIPT: app(s) to restore
[ dbug ] (**) SCRIPT: work path: /share/Public/sherpa.tmp
[ dbug ] (**) QPKG : download path: /share/Public/sherpa.tmp/qpkg-downloads
[ dbug ] (**) IPKG : download path: /share/Public/sherpa.tmp/ipkg-downloads
[ dbug ] (**) QPKG : arch: x86
[ dbug ] (**) QPKG : Entware installer: std
[ dbug ] (II) ------------------------------------------------------------------------
[ dbug ] (>>) DownloadQPKGs()
[ dbug ] (>>) DownloadQPKG()
[ proc ] downloading QPKG (Entware_1.02std.qpkg) ...
[ done ] downloaded QPKG (Entware_1.02std.qpkg)
[ dbug ] (<<) DownloadQPKG() [0]
[ dbug ] (<<) DownloadQPKGs() [0]
[ dbug ] (>>) RemoveUnwantedQPKGs()
[ dbug ] (**) QPKG : 'Optware': not installed [250]
[ dbug ] (**) QPKG : 'Entware-3x': not installed [250]
[ dbug ] (**) QPKG : 'Entware-ng': not installed [250]
[ note ] Reinstalling Entware will revert all IPKGs to defaults and only those required to support your sherpa apps will be reinstalled.
[ note ] The currently installed IPKG list will be saved to (/share/Public/Entware.previously.installed.list)
[ warn ] Also, the SABnzbdplus and Headphones packages CANNOT BE REINSTALLED as Python 2.7.16 is no-longer available.
[ quiz ] Press (y) if you agree to remove all current Entware IPKGs and their configs, or any other key to abort
[ dbug ] (vv) $response [y]
[ dbug ] (--) saved current Entware IPKG list to (/share/Public/Entware.previously.installed.list)
[ proc ] uninstalling 'Entware' ...
[ done ] uninstalled 'Entware'
[ dbug ] (<<) RemoveUnwantedQPKGs() [0]
[ dbug ] (>>) InstallQPKGIndeps()
[ proc ] installing QPKG (Entware_1.02std.qpkg) - this can take a while ...
[ done ] installed QPKG (Entware_1.02std.qpkg)
[ dbug ] (--) adjusted $PATH
[ dbug ] (vv) $PATH [/opt/bin:/opt/sbin:/opt/bin:/opt/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin/X11:/usr/local/sbin:/usr/local/bin]
[ dbug ] (>>) PatchBaseInit()
[ dbug ] (--) patch: do the "opt shuffle"
[ dbug ] (<<) PatchBaseInit() [0]
[ dbug ] (<<) InstallQPKGIndeps() [0]
[ dbug ] (>>) InstallQPKGIndepsAddons()
[ dbug ] (>>) InstallIPKGs()
[ dbug ] (>>) UpdateEntware()
[ dbug ] (II) 'Entware' package list was updated less than 60 minutes ago
[ done ] 'Entware' package list is up-to-date
[ dbug ] (<<) UpdateEntware() [0]
[ dbug ] (>>) InstallIPKGBatch()
[ dbug ] (II) ------------------------------------------------------------------------
[ dbug ] (**) STAGE : start stage timer
[ proc ] calculating number and total size of IPKGs required ...
[ dbug ] (II) IPKGs requested: ca-certificates git git-http jq less nano python3 python3-pip
[ dbug ] (==) finding IPKG dependencies ...
[ dbug ] (--) complete
[ dbug ] (II) found all IPKG dependencies in 13 iterations
[ dbug ] (II) IPKGs requested + dependencies: ca-bundle ca-certificates ca-certs file git git-http jq less libbz2 libc libcurl libdb47 libexpat libffi libgcc libgdbm liblzma libmagic libncurses libncursesw libopenssl libpthread librt libsqlite3 libssp libtirpc libuuid libxml2 nano oniguruma python-pip-conf python3 python3-asyncio python3-base python3-cgi python3-cgitb python3-codecs python3-ctypes python3-dbm python3-decimal python3-distutils python3-email python3-gdbm python3-light python3-logging python3-lzma python3-multiprocessing python3-ncurses python3-openssl python3-pip python3-pkg-resources python3-pydoc python3-setuptools python3-sqlite3 python3-unittest python3-urllib python3-xml terminfo zlib
[ dbug ] (**) STAGE : elapsed time: 00h:00m:03s
[ dbug ] (II) ------------------------------------------------------------------------
[ dbug ] (==) excluding IPKGs already installed ...
[ dbug ] (--) complete
[ dbug ] (II) IPKGs to download: ca-bundle ca-certificates file git git-http jq less libbz2 libcurl libdb47 libexpat libffi libgdbm liblzma libmagic libncurses libncursesw libopenssl libsqlite3 libtirpc libuuid libxml2 nano oniguruma python-pip-conf python3 python3-asyncio python3-base python3-cgi python3-cgitb python3-codecs python3-ctypes python3-dbm python3-decimal python3-distutils python3-email python3-gdbm python3-light python3-logging python3-lzma python3-multiprocessing python3-ncurses python3-openssl python3-pip python3-pkg-resources python3-pydoc python3-setuptools python3-sqlite3 python3-unittest python3-urllib python3-xml zlib
[ dbug ] (==) calculating size of IPKGs to download ...
[ dbug ] (--) complete
[ dbug ] (vv) $IPKG_download_size [22378267]
[ done ] 52 IPKGs (22MB) to be downloaded
[ dbug ] (II) ------------------------------------------------------------------------
[ dbug ] (**) STAGE : start stage timer
[ proc ] downloading & installing 52 IPKGs ...
[ done ] downloaded & installed 52 IPKGs
[ dbug ] (**) STAGE : elapsed time: 00h:00m:26s
[ dbug ] (II) ------------------------------------------------------------------------
[ dbug ] (<<) InstallIPKGBatch() [0]
[ dbug ] (<<) InstallIPKGs() [0]
[ dbug ] (>>) DowngradePy3()
[ proc ] 'Watcher3' selected so downgrading Python 3 IPKGs ...
[ done ] 'Watcher3' selected so downgraded Python 3 IPKGs
[ dbug ] (<<) DowngradePy3() [0]
[ dbug ] (>>) InstallPy3Modules()
[ proc ] downloading & installing 'Python 3' modules ...
[ done ] downloaded & installed 'Python 3' modules
[ dbug ] (<<) InstallPy3Modules() [0]
[ dbug ] (>>) RestartAllDepQPKGs()
[ proc ] restarting service 'SickChill' ...
[ warn ] Could not restart service 'SickChill' [1]
= command: '/share/MD0_DATA/.qpkg/SickChill/sickchill.sh restart'
! result: [1]
= stdout begins next line: ▼
= (SickChill) is active
* stopping (SickChill) with SIGTERM: waiting for upto 100 seconds: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, OK
* updating (SickChill): OK
* starting (SickChill): failed!
result=[127]
/share/MD0_DATA/.qpkg/SickChill/sickchill.sh: line 129: /opt/bin/python2.7: No such file or directory
= stdout complete: ▲
[ proc ] restarting service 'OWatcher3' ...
[ done ] restarted service 'OWatcher3'
[ dbug ] (<<) RestartAllDepQPKGs() [0]
[ dbug ] (<<) InstallQPKGIndepsAddons() [0]
[ dbug ] (>>) InstallTargetQPKG()
[ dbug ] (<<) InstallTargetQPKG() [0]
[ dbug ] (>>) Cleanup()
[ dbug ] (<<) Cleanup() [0]
[ dbug ] (>>) ShowResult()
[ done ] 'Entware' has been successfully reinstalled!
[ dbug ] (II) ------------------------------------------------------------------------
[ dbug ] (**) SCRIPT: finished: Sun Aug 2 13:39:29 CEST 2020
[ dbug ] (**) SCRIPT: elapsed time: 00h:02m:55s
[ dbug ] (II) ========================================================================
[ dbug ] (<<) ShowResult() [0]
Hopefully you have time to help to fix this old config.