[SCRIPT] sherpa.sh

This is the best place for community developers to publish their genius work. Your Apps enrich the QNAP Turbo NAS.
Post Reply
rma011db
Starting out
Posts: 11
Joined: Thu Jan 05, 2012 4:07 am

Re: [SCRIPT] sherpa.sh

Post by rma011db » Thu Jul 30, 2020 5:29 am

Hi all,

My name is Rini and i upgrade my old TS-219PII to a TS-231P3.
I did a clean install and wiped all the data on the disks.

On my old 219 i had sabnzbd running and it was working fine.
I installed it on my new 231 and i configured it.

After starting sabnzbd i get an error.

Image

The problem is i don’t know which files are missing.
The nas is running firmware 4.4.3.1354

Please help.

User avatar
OneCD
Ask me anything
Posts: 7580
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: [SCRIPT] sherpa.sh

Post by OneCD » Thu Jul 30, 2020 5:37 am

Hi Rini and welcome to the forum. :)

Can you please post your sherpa debug log?

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage

rma011db
Starting out
Posts: 11
Joined: Thu Jan 05, 2012 4:07 am

Re: [SCRIPT] sherpa.sh

Post by rma011db » Thu Jul 30, 2020 5:43 am

OneCD wrote:Hi Rini and welcome to the forum. :)

Can you please post your sherpa debug log?
Hi OneCD,

Here’s my log.

Code: Select all

[ dbug ] (II) ========================================================================
[ dbug ] (**) SCRIPT:             started: Wed Jul 29 21:11:04 BST 2020
[ dbug ] (**) SCRIPT:             version: 200729
[ 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-231P3, QNAP Systems, Inc.
[ dbug ] (**) NAS   :                 RAM: 2061924 kB
[ dbug ] (**) NAS   :    firmware version: 4.4.3
[ dbug ] (**) NAS   :      firmware build: 20200702
[ dbug ] (**) NAS   :              kernel: 4.2.8 armv7l
[ dbug ] (**) NAS   :           OS uptime: 4:55
[ dbug ] (**) NAS   :         system load: 1 min=0.50, 5 min=0.71, 15 min=0.75
[ dbug ] (**) NAS   :                USER: admin
[ dbug ] (**) NAS   :                EUID: 0
[ dbug ] (**) NAS   :      default volume: /share/CACHEDEV1_DATA
[ dbug ] (**) NAS   :               $PATH: /bin:/sbin:/usr/bin:/usr/sbin:/usr/bin/X11:
[ dbug ] (**) NAS   :                /opt: <not present>
[ dbug ] (**) NAS   :     /share/Download: CACHEDEV1_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: none
[ dbug ] (II) ------------------------------------------------------------------------
[ dbug ] (>>) DownloadQPKGs()
[ dbug ] (>>) DownloadQPKG()
[ proc ] downloading QPKG (Entware_1.02std.qpkg) ...
[ done ] downloaded QPKG (Entware_1.02std.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()
[ 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:/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 coreutils-nice ffprobe gcc git git-http ionice 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 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 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 shine terminfo unrar zlib
[ dbug ] (**) STAGE :        elapsed time: 00h:00m:02s
[ dbug ] (II) ------------------------------------------------------------------------
[ dbug ] (==) excluding IPKGs already installed ...
[ dbug ] (--) complete
[ dbug ] (II) IPKGs to download: alsa-lib ar binutils ca-bundle ca-certificates coreutils coreutils-nice ffprobe file gcc git git-http ionice less libatomic libbfd libbz2 libcurl libdb47 libexpat libffi libffmpeg-full libgdbm libgmp libgnutls libiconv-full libintl-full liblzma libmagic libncurses libncursesw libnettle libopcodes libopenssl libopus libsqlite3 libtirpc libuuid libx264 libxml2 nano objdump 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 shine unrar zlib
[ dbug ] (==) calculating size of IPKGs to download ...
[ dbug ] (--) complete
[ dbug ] (vv) $IPKG_download_size [97658115]
[ done ] 81 IPKGs (98MB) to be downloaded
[ dbug ] (II) ------------------------------------------------------------------------
[ dbug ] (**) STAGE :   start stage timer
[ proc ] downloading & installing 81 IPKGs ...
[ done ] downloaded & installed 81 IPKGs
[ dbug ] (**) STAGE :        elapsed time: 00h:01m:00s
[ dbug ] (II) ------------------------------------------------------------------------
[ dbug ] (<<) InstallIPKGBatch() [0]
[ dbug ] (<<) InstallIPKGs() [0]
[ dbug ] (>>) InstallPy3Modules()
[ proc ] downloading & installing Python 3 modules ...
[ done ] downloaded & installed Python 3 modules
[ dbug ] (<<) InstallPy3Modules() [0]
[ dbug ] (<<) InstallQPKGIndepsAddons() [0]
[ dbug ] (>>) InstallTargetQPKG()
[ proc ] installing QPKG (SABnzbd_200718c.qpkg) - this can take a while ...
[ done ] installed QPKG (SABnzbd_200718c.qpkg)
[ dbug ] (<<) InstallTargetQPKG() [0]
[ dbug ] (>>) Cleanup()
[ dbug ] (<<) Cleanup() [0]
[ dbug ] (>>) ShowResult()
[ done ] 'SABnzbd' has been successfully installed! 
[ dbug ] (II) ------------------------------------------------------------------------
[ dbug ] (**) SCRIPT:            finished: Wed Jul 29 21:14:30 BST 2020
[ dbug ] (**) SCRIPT:        elapsed time: 00h:03m:26s
[ dbug ] (II) ========================================================================
[ dbug ] (<<) ShowResult() [0]
[ dbug ] (II) ========================================================================
[ dbug ] (**) SCRIPT:             started: Wed Jul 29 21:17:45 BST 2020
[ dbug ] (**) SCRIPT:             version: 200729
[ 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-231P3, QNAP Systems, Inc.
[ dbug ] (**) NAS   :                 RAM: 2061924 kB
[ dbug ] (**) NAS   :    firmware version: 4.4.3
[ dbug ] (**) NAS   :      firmware build: 20200702
[ dbug ] (**) NAS   :              kernel: 4.2.8 armv7l
[ dbug ] (**) NAS   :           OS uptime: 5:02
[ dbug ] (**) NAS   :         system load: 1 min=0.68, 5 min=0.76, 15 min=0.78
[ dbug ] (**) NAS   :                USER: admin
[ dbug ] (**) NAS   :                EUID: 0
[ dbug ] (**) NAS   :      default volume: /share/CACHEDEV1_DATA
[ dbug ] (**) NAS   :               $PATH: /bin:/sbin:/usr/bin:/usr/sbin:/usr/bin/X11:
[ dbug ] (**) NAS   :                /opt: /share/CACHEDEV1_DATA/.qpkg/Entware
[ dbug ] (**) NAS   :     /share/Download: CACHEDEV1_DATA/Download
[ dbug ] (**) SCRIPT:  unparsed arguments: Git
[ dbug ] (**) SCRIPT:   app(s) to install
[ 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: none
[ fail ] No valid QPKGs or actions were specified
[ dbug ] (II) ------------------------------------------------------------------------
[ dbug ] (>>) Cleanup()
[ dbug ] (<<) Cleanup() [2]
[ dbug ] (>>) ShowResult()
[ dbug ] (II) ------------------------------------------------------------------------
[ dbug ] (**) SCRIPT:            finished: Wed Jul 29 21:17:46 BST 2020
[ dbug ] (**) SCRIPT:        elapsed time: 00h:00m:01s
[ dbug ] (II) ========================================================================
[ dbug ] (<<) ShowResult() [2]
[ dbug ] (II) ========================================================================
[ dbug ] (**) SCRIPT:             started: Wed Jul 29 21:18:07 BST 2020
[ dbug ] (**) SCRIPT:             version: 200729
[ 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-231P3, QNAP Systems, Inc.
[ dbug ] (**) NAS   :                 RAM: 2061924 kB
[ dbug ] (**) NAS   :    firmware version: 4.4.3
[ dbug ] (**) NAS   :      firmware build: 20200702
[ dbug ] (**) NAS   :              kernel: 4.2.8 armv7l
[ dbug ] (**) NAS   :           OS uptime: 5:02
[ dbug ] (**) NAS   :         system load: 1 min=0.64, 5 min=0.74, 15 min=0.77
[ dbug ] (**) NAS   :                USER: admin
[ dbug ] (**) NAS   :                EUID: 0
[ dbug ] (**) NAS   :      default volume: /share/CACHEDEV1_DATA
[ dbug ] (**) NAS   :               $PATH: /bin:/sbin:/usr/bin:/usr/sbin:/usr/bin/X11:
[ dbug ] (**) NAS   :                /opt: /share/CACHEDEV1_DATA/.qpkg/Entware
[ dbug ] (**) NAS   :     /share/Download: CACHEDEV1_DATA/Download
[ dbug ] (**) SCRIPT:  unparsed arguments: Python
[ dbug ] (**) SCRIPT:   app(s) to install
[ 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: none
[ fail ] No valid QPKGs or actions were specified
[ dbug ] (II) ------------------------------------------------------------------------
[ dbug ] (>>) Cleanup()
[ dbug ] (<<) Cleanup() [2]
[ dbug ] (>>) ShowResult()
[ dbug ] (II) ------------------------------------------------------------------------
[ dbug ] (**) SCRIPT:            finished: Wed Jul 29 21:18:07 BST 2020
[ dbug ] (**) SCRIPT:        elapsed time: 00h:00m:00s
[ dbug ] (II) ========================================================================
[ dbug ] (<<) ShowResult() [2]
[ dbug ] (II) ========================================================================
[ dbug ] (**) SCRIPT:             started: Wed Jul 29 21:19:16 BST 2020
[ dbug ] (**) SCRIPT:             version: 200729
[ 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-231P3, QNAP Systems, Inc.
[ dbug ] (**) NAS   :                 RAM: 2061924 kB
[ dbug ] (**) NAS   :    firmware version: 4.4.3
[ dbug ] (**) NAS   :      firmware build: 20200702
[ dbug ] (**) NAS   :              kernel: 4.2.8 armv7l
[ dbug ] (**) NAS   :           OS uptime: 5:03
[ dbug ] (**) NAS   :         system load: 1 min=0.54, 5 min=0.69, 15 min=0.75
[ dbug ] (**) NAS   :                USER: admin
[ dbug ] (**) NAS   :                EUID: 0
[ dbug ] (**) NAS   :      default volume: /share/CACHEDEV1_DATA
[ dbug ] (**) NAS   :               $PATH: /bin:/sbin:/usr/bin:/usr/sbin:/usr/bin/X11:
[ dbug ] (**) NAS   :                /opt: /share/CACHEDEV1_DATA/.qpkg/Entware
[ dbug ] (**) NAS   :     /share/Download: CACHEDEV1_DATA/Download
[ dbug ] (**) SCRIPT:  unparsed arguments: Git v2.22.0
[ dbug ] (**) SCRIPT:   app(s) to install
[ 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: none
[ fail ] No valid QPKGs or actions were specified
[ dbug ] (II) ------------------------------------------------------------------------
[ dbug ] (>>) Cleanup()
[ dbug ] (<<) Cleanup() [2]
[ dbug ] (>>) ShowResult()
[ dbug ] (II) ------------------------------------------------------------------------
[ dbug ] (**) SCRIPT:            finished: Wed Jul 29 21:19:16 BST 2020
[ dbug ] (**) SCRIPT:        elapsed time: 00h:00m:00s
[ dbug ] (II) ========================================================================
[ dbug ] (<<) ShowResult() [2]
Last edited by OneCD on Thu Jul 30, 2020 5:54 am, edited 1 time in total.
Reason: added code tags

User avatar
OneCD
Ask me anything
Posts: 7580
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: [SCRIPT] sherpa.sh

Post by OneCD » Thu Jul 30, 2020 5:58 am

rma011db wrote:
Thu Jul 30, 2020 5:43 am
Here’s my log.
Looks good. Except that you didn't need to specify Git or Python, as they are automatically installed as required. ;)

Can you please post the SABnzbd service log?

Code: Select all

/etc/init.d/sabnzbd3.sh history

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage

rma011db
Starting out
Posts: 11
Joined: Thu Jan 05, 2012 4:07 am

Re: [SCRIPT] sherpa.sh

Post by rma011db » Thu Jul 30, 2020 4:25 pm

Is hope this is the right one...

> no settings file found: using default
-------------------- start requested --------------------
= Wed Jul 29 21:13:58 BST 2020
= daemon is not active
* cloning 'SABnzbd' from remote repository: OK
* updating 'SABnzbd' language translations: OK
* cloning 'nzbToMedia' from remote repository: OK
* starting daemon: OK
* checking for UI port 8900 response: UI port responded after 0 seconds
= 'SABnzbd' UI is now listening on HTTP port 8900
-------------------- stop requested --------------------
= Wed Jul 29 21:20:48 BST 2020
* checking for UI port 8900 response: UI port responded after 0 seconds
= daemon is active
* stopping daemon with SIGTERM: stopped OK in 1 seconds
-------------------- start requested --------------------
= Wed Jul 29 21:21:29 BST 2020
= daemon is not active
* updating 'SABnzbd' from remote repository: OK
* updating 'nzbToMedia' from remote repository: OK
* starting daemon: OK
* checking for UI port 8900 response: UI port responded after 0 seconds
= 'SABnzbd' UI is now listening on HTTP port 8900

User avatar
OneCD
Ask me anything
Posts: 7580
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: [SCRIPT] sherpa.sh

Post by OneCD » Thu Jul 30, 2020 4:27 pm

Yup, that’s the one. And it looks OK.

Hmm... :'

Do you have more than one SABnzbd QPKG installed on your NAS?

When you connect to the SABnzbd web UI, is it on port 8900?

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage

rma011db
Starting out
Posts: 11
Joined: Thu Jan 05, 2012 4:07 am

Re: [SCRIPT] sherpa.sh

Post by rma011db » Thu Jul 30, 2020 4:36 pm

OneCD wrote:Yup, that’s the one. And it looks OK.

Hmm... :'

Do you have more than one SABnzbd QPKG installed on your NAS?

When you connect to the SABnzbd web UI, is it on port 8900?
Yes, it’s on 8900.

rma011db
Starting out
Posts: 11
Joined: Thu Jan 05, 2012 4:07 am

Re: [SCRIPT] sherpa.sh

Post by rma011db » Thu Jul 30, 2020 4:38 pm

rma011db wrote:
OneCD wrote:Yup, that’s the one. And it looks OK.

Hmm... :'

Do you have more than one SABnzbd QPKG installed on your NAS?

When you connect to the SABnzbd web UI, is it on port 8900?
Yes, it’s on 8900.
Shall i re-initialize the NAS and do a clean sabnzbd install?

rma011db
Starting out
Posts: 11
Joined: Thu Jan 05, 2012 4:07 am

Re: [SCRIPT] sherpa.sh

Post by rma011db » Thu Jul 30, 2020 4:50 pm

rma011db wrote:
rma011db wrote:
OneCD wrote:Yup, that’s the one. And it looks OK.

Hmm... :'

Do you have more than one SABnzbd QPKG installed on your NAS?

When you connect to the SABnzbd web UI, is it on port 8900?
Yes, it’s on 8900.
Shall i re-initialize the NAS and do a clean sabnzbd install?
I choose to re-initialize the NAS. I’ll keep you posted.

rma011db
Starting out
Posts: 11
Joined: Thu Jan 05, 2012 4:07 am

Re: [SCRIPT] sherpa.sh

Post by rma011db » Thu Jul 30, 2020 6:49 pm

I did a complete reinstall of the NAS. All standard settings. After the setup was completed i ran the sherpa.sh script.
Same errors.....
sabnzbd error.png
Here's the debug log.

Code: Select all

[/share/Public] # cat sherpa.debug.log
[ dbug ] (II) ==================================================================                                                                                        ======
[ dbug ] (**) SCRIPT:             started: Thu Jul 30 12:38:06 CEST 2020
[ dbug ] (**) SCRIPT:             version: 200730c
[ dbug ] (II) ------------------------------------------------------------------                                                                                        ------
[ dbug ] (II) Markers: (**) detected, (II) information, (WW) warning, (LL) log f                                                                                        ile,
[ 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-231P3, QNAP Systems, Inc.
[ dbug ] (**) NAS   :                 RAM: 2061924 kB
[ dbug ] (**) NAS   :    firmware version: 4.4.3
[ dbug ] (**) NAS   :      firmware build: 20200702
[ dbug ] (**) NAS   :              kernel: 4.2.8 armv7l
[ dbug ] (**) NAS   :           OS uptime: 1:32
[ dbug ] (**) NAS   :         system load: 1 min=1.95, 5 min=2.36, 15 min=2.20
[ dbug ] (**) NAS   :                USER: admin
[ dbug ] (**) NAS   :                EUID: 0
[ dbug ] (**) NAS   :      default volume: /share/CACHEDEV1_DATA
[ dbug ] (**) NAS   :               $PATH: /bin:/sbin:/usr/bin:/usr/sbin:/usr/bi                                                                                        n/X11:
[ dbug ] (**) NAS   :                /opt: <not present>
[ dbug ] (**) NAS   :     /share/Download: CACHEDEV1_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-downloa                                                                                        ds
[ dbug ] (**) IPKG  :       download path: /share/Public/sherpa.tmp/ipkg-downloa                                                                                        ds
[ dbug ] (**) QPKG  :                arch: none
[ dbug ] (II) ------------------------------------------------------------------                                                                                        ------
[ dbug ] (>>) DownloadQPKGs()
[ dbug ] (>>) DownloadQPKG()
[ proc ] downloading QPKG (Entware_1.02std.qpkg) ...
[ done ] downloaded QPKG (Entware_1.02std.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()
[ 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:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin/X                                                                                        11:/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 coreutils-nice ffprobe gcc git gi                                                                                        t-http ionice less nano p7zip python3 python3-cryptography python3-dev python3-p                                                                                        ip 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 ion                                                                                        ice 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 p7zip                                                                                         python-pip-conf python3 python3-asyncio python3-base python3-cffi python3-cgi p                                                                                        ython3-cgitb python3-codecs python3-cryptography python3-ctypes python3-dbm pyth                                                                                        on3-decimal python3-dev python3-distutils python3-email python3-gdbm python3-lib                                                                                        2to3 python3-light python3-logging python3-lzma python3-multiprocessing python3-                                                                                        ncurses python3-openssl python3-pip python3-pkg-resources python3-ply python3-py                                                                                        cparser python3-pydoc python3-pyopenssl python3-setuptools python3-six python3-s                                                                                        qlite3 python3-unittest python3-urllib python3-xml shine terminfo unrar zlib
[ dbug ] (**) STAGE :        elapsed time: 00h:00m:02s
[ dbug ] (II) ------------------------------------------------------------------                                                                                        ------
[ dbug ] (==) excluding IPKGs already installed ...
[ dbug ] (--) complete
[ dbug ] (II) IPKGs to download: alsa-lib ar binutils ca-bundle ca-certificates                                                                                         coreutils coreutils-nice ffprobe file gcc git git-http ionice less libatomic lib                                                                                        bfd libbz2 libcurl libdb47 libexpat libffi libffmpeg-full libgdbm libgmp libgnut                                                                                        ls libiconv-full libintl-full liblzma libmagic libncurses libncursesw libnettle                                                                                         libopcodes libopenssl libopus libsqlite3 libtirpc libuuid libx264 libxml2 nano o                                                                                        bjdump p7zip python-pip-conf python3 python3-asyncio python3-base python3-cffi p                                                                                        ython3-cgi python3-cgitb python3-codecs python3-cryptography python3-ctypes pyth                                                                                        on3-dbm python3-decimal python3-dev python3-distutils python3-email python3-gdbm                                                                                         python3-lib2to3 python3-light python3-logging python3-lzma python3-multiprocess                                                                                        ing python3-ncurses python3-openssl python3-pip python3-pkg-resources python3-pl                                                                                        y python3-pycparser python3-pydoc python3-pyopenssl python3-setuptools python3-s                                                                                        ix python3-sqlite3 python3-unittest python3-urllib python3-xml shine unrar zlib
[ dbug ] (==) calculating size of IPKGs to download ...
[ dbug ] (--) complete
[ dbug ] (vv) $IPKG_download_size [97658115]
[ done ] 81 IPKGs (98MB) to be downloaded
[ dbug ] (II) ------------------------------------------------------------------                                                                                        ------
[ dbug ] (**) STAGE :   start stage timer
[ proc ] downloading & installing 81 IPKGs ...
[ done ] downloaded & installed 81 IPKGs
[ dbug ] (**) STAGE :        elapsed time: 00h:01m:01s
[ dbug ] (II) ------------------------------------------------------------------                                                                                        ------
[ dbug ] (<<) InstallIPKGBatch() [0]
[ dbug ] (<<) InstallIPKGs() [0]
[ dbug ] (>>) InstallPy3Modules()
[ proc ] downloading & installing 'Python 3' modules ...
[ done ] downloaded & installed 'Python 3' modules
[ dbug ] (<<) InstallPy3Modules() [0]
[ dbug ] (<<) InstallQPKGIndepsAddons() [0]
[ dbug ] (>>) InstallTargetQPKG()
[ proc ] installing QPKG (SABnzbd_200718c.qpkg) - this can take a while ...
[ done ] installed QPKG (SABnzbd_200718c.qpkg)
[ dbug ] (<<) InstallTargetQPKG() [0]
[ dbug ] (>>) Cleanup()
[ dbug ] (<<) Cleanup() [0]
[ dbug ] (>>) ShowResult()
[ done ] 'SABnzbd' has been successfully installed!
[ dbug ] (II) ------------------------------------------------------------------                                                                                        ------
[ dbug ] (**) SCRIPT:            finished: Thu Jul 30 12:41:33 CEST 2020
[ dbug ] (**) SCRIPT:        elapsed time: 00h:03m:27s
[ dbug ] (II) ==================================================================                                                                                        ======
[ dbug ] (<<) ShowResult() [0]
[/share/Public] #
You do not have the required permissions to view the files attached to this post.
Last edited by OneCD on Fri Jul 31, 2020 4:11 am, edited 1 time in total.
Reason: added code tags

redmercury2006
Starting out
Posts: 13
Joined: Wed May 11, 2011 10:14 pm

Re: [SCRIPT] sherpa.sh

Post by redmercury2006 » Fri Jul 31, 2020 1:52 am

OneCD wrote:
Thu Jul 30, 2020 4:55 am

Oops, I forgot about nzbToMedia. :oops:

I think the problem is Clinton still uses '#!/usr/bin/env python' as the nzbToMedia.py hashbang. As it's not specific, it calls whichever Python environment is found first in $PATH. This can result in it finding the Python 2.7.5 shipped with QTS. I don't know why it doesn't respect the $PATH that is established before launching SABnzbd. My Python skills are deficient.

Not sure how to fix this without modifying nzbToMedia.py - which is possible, but causes problems later-on when syncing with the repo on GitHub.

I'm open to suggestions.
yep. that‘s the problem - but i‘ve changed the .py files accordingly and sab still manages to run it via py2 ... haven‘t found a way to go around this. it‘s strange since sab3 is running via py3 :)

but if it would work - maybe a script using awk / sed changing the python part to python3 would work as a quick n dirty fix. and it‘s always in the 2nd line.. :?

*edit

ok. there is no python in /opt/bin - hence the fallback to the QTS python..

wanted to try a symlink, but now Sickchill somehow managed to kill itself. maybe somethin in the repo, so i‘ll first wait some hours.. ;)

Code: Select all

output: "Traceback (most recent call last):
  File "SickChill.py", line 37, in <module>
    import sickchill.start
  File "/share/CE_CACHEDEV1_DATA/.qpkg/SickChill/SickChill/sickchill/__init__.py", line 5, in <module>
    from .show.indexers import indexer, ShowIndexer
  File "/share/CE_CACHEDEV1_DATA/.qpkg/SickChill/SickChill/sickchill/show/indexers/__init__.py", line 20, in <module>
    from .handler import ShowIndexer
  File "/share/CE_CACHEDEV1_DATA/.qpkg/SickChill/SickChill/sickchill/show/indexers/handler.py", line 24, in <module>
    from sickbeard import logger
  File "/share/CE_CACHEDEV1_DATA/.qpkg/SickChill/SickChill/sickbeard/logger.py", line 37, in <module>
    from sickchill import settings
  File "/share/CE_CACHEDEV1_DATA/.qpkg/SickChill/SickChill/sickchill/settings.py", line 24, in <module>    from .init_helpers import setup_gettext, setup_lib_path
  File "/share/CE_CACHEDEV1_DATA/.qpkg/SickChill/SickChill/sickchill/init_helpers.py", line 46
    'LANGUAGE' in os.environ or 'LC_ALL' in os.environ or 'LC_MESSAGES' in os.environ or 'LANG' in os.environ or os.environ['LC_MESSAGES'] = 'en_US.UTF-8'
    ^
SyntaxError: can't assign to operator"
= result: [1]
[~] #

User avatar
OneCD
Ask me anything
Posts: 7580
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: [SCRIPT] sherpa.sh

Post by OneCD » Fri Jul 31, 2020 4:15 am

rma011db wrote:
Thu Jul 30, 2020 6:49 pm
I did a complete reinstall of the NAS. All standard settings. After the setup was completed i ran the sherpa.sh script.
Same errors.....
A bit drastic, but OK. :D

Can you please post the SABnzbd logs? If you've not seen them before, you can use the SAB UI that's available (the one showing the 2 errors). Click on the spanner/wrench icon near the top-right, and a new box will appear. Click on the "Show Logging" button.

Then copy-paste all the contents into your next post. And if you use the forum <code> tags, it's easier to read. ;)

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage

User avatar
OneCD
Ask me anything
Posts: 7580
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: [SCRIPT] sherpa.sh

Post by OneCD » Fri Jul 31, 2020 4:18 am

redmercury2006 wrote:
Fri Jul 31, 2020 1:52 am
yep. that‘s the problem - but i‘ve changed the .py files accordingly and sab still manages to run it via py2 ... haven‘t found a way to go around this. it‘s strange since sab3 is running via py3 :)
Ah. :(
redmercury2006 wrote:
Fri Jul 31, 2020 1:52 am
wanted to try a symlink, but now Sickchill somehow managed to kill itself. maybe somethin in the repo, so i‘ll first wait some hours.. ;)
Yes, it may not be 'stable' at the moment - there's too much developer work going on.

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage

rma011db
Starting out
Posts: 11
Joined: Thu Jan 05, 2012 4:07 am

Re: [SCRIPT] sherpa.sh

Post by rma011db » Fri Jul 31, 2020 4:34 am

OneCD wrote:
rma011db wrote:
Thu Jul 30, 2020 6:49 pm
I did a complete reinstall of the NAS. All standard settings. After the setup was completed i ran the sherpa.sh script.
Same errors.....
A bit drastic, but OK. :D

Can you please post the SABnzbd logs? If you've not seen them before, you can use the SAB UI that's available (the one showing the 2 errors). Click on the spanner/wrench icon near the top-right, and a new box will appear. Click on the "Show Logging" button.

Then copy-paste all the contents into your next post. And if you use the forum <code> tags, it's easier to read. ;)
Here’s the log.

And already thanks for your help.

Code: Select all


--------------------------------

The log includes a copy of your sabnzbd.ini with
all usernames, passwords and API-keys removed.

--------------------------------
2020-07-30 21:44:29,267::INFO::[SABnzbd:1136] --------------------------------
2020-07-30 21:44:29,269::INFO::[SABnzbd:1137] SABnzbd.py-3.0.0-develop (rev=unknown)
2020-07-30 21:44:29,270::INFO::[SABnzbd:1138] Full executable path = /share/CACHEDEV1_DATA/.qpkg/SABnzbd/SABnzbd/SABnzbd.py
2020-07-30 21:44:29,272::INFO::[SABnzbd:1148] Platform = posix
2020-07-30 21:44:29,272::INFO::[SABnzbd:1149] Python-version = 3.8.3 (default, Jun 12 2020, 20:24:48) 
[GCC 8.4.0]
2020-07-30 21:44:29,273::INFO::[SABnzbd:1150] Arguments = "SABnzbd.py" "--daemon" "--browser" "0" "--config-file" "/share/CACHEDEV1_DATA/.qpkg/SABnzbd/config/config.ini" "--pidfile" "/var/run/SABnzbd.pid"
2020-07-30 21:44:29,273::INFO::[SABnzbd:1154] Not inside a docker container
2020-07-30 21:44:29,274::INFO::[SABnzbd:1157] Preferred encoding = UTF-8
2020-07-30 21:44:29,274::INFO::[SABnzbd:1169] SSL version = OpenSSL 1.1.1g  21 Apr 2020
2020-07-30 21:44:29,275::INFO::[SABnzbd:1217] Using INI file /share/CACHEDEV1_DATA/.qpkg/SABnzbd/config/config.ini
2020-07-30 21:44:29,277::INFO::[filesystem:305] download_dir directory: /share/Download/incomplete does not exist, try to create it
2020-07-30 21:44:29,277::INFO::[filesystem:564] Creating directories: /share/Download/incomplete (mask=448)
2020-07-30 21:44:29,283::INFO::[__init__:961] [N/A] /share/CACHEDEV1_DATA/.qpkg/SABnzbd/config/<USERNAME>/rss_data.sab missing
2020-07-30 21:44:29,284::INFO::[__init__:961] [N/A] /share/CACHEDEV1_DATA/.qpkg/SABnzbd/config/<USERNAME>/totals10.sab missing
2020-07-30 21:44:29,870::INFO::[postproc:138] Loading postproc queue
2020-07-30 21:44:29,871::INFO::[__init__:961] [N/A] /share/CACHEDEV1_DATA/.qpkg/SABnzbd/config/<USERNAME>/postproc2.sab missing
2020-07-30 21:44:29,872::INFO::[__init__:961] [N/A] /share/CACHEDEV1_DATA/.qpkg/SABnzbd/config/<USERNAME>/queue10.sab missing
2020-07-30 21:44:29,873::INFO::[__init__:961] [N/A] /share/CACHEDEV1_DATA/.qpkg/SABnzbd/config/<USERNAME>/watched_data2.sab missing
2020-07-30 21:44:29,874::INFO::[__init__:961] [N/A] /share/CACHEDEV1_DATA/.qpkg/SABnzbd/config/<USERNAME>/Rating.sab missing
2020-07-30 21:44:29,876::INFO::[scheduler:216] Setting schedule for midnight BPS reset
2020-07-30 21:44:29,894::INFO::[config:857] Writing settings to INI file /share/CACHEDEV1_DATA/.qpkg/SABnzbd/config/config.ini
2020-07-30 21:44:29,913::INFO::[__init__:350] All processes started
2020-07-30 21:44:29,914::INFO::[SABnzbd:292] Template location for Glitter is /share/CACHEDEV1_DATA/.qpkg/SABnzbd/SABnzbd/interfaces/Glitter
2020-07-30 21:44:29,914::INFO::[SABnzbd:292] Template location for Config is /share/CACHEDEV1_DATA/.qpkg/SABnzbd/SABnzbd/interfaces/Config
2020-07-30 21:44:29,936::INFO::[SABnzbd:393] SABYenc module (v4.0.2)... found!
2020-07-30 21:44:29,937::INFO::[SABnzbd:412] Cryptography module (v2.9.2)... found!
2020-07-30 21:44:29,937::ERROR::[SABnzbd:419] par2 binary... NOT found!
2020-07-30 21:44:29,938::INFO::[SABnzbd:424] UNRAR binary... found (/opt/bin/unrar)
2020-07-30 21:44:29,938::INFO::[SABnzbd:432] UNRAR binary version 5.90
2020-07-30 21:44:29,939::INFO::[SABnzbd:440] 7za binary... found (/opt/bin/7za)
2020-07-30 21:44:29,939::INFO::[SABnzbd:451] nice binary... found (/opt/bin/nice)
2020-07-30 21:44:29,939::INFO::[SABnzbd:455] ionice binary... found (/opt/bin/ionice)
2020-07-30 21:44:29,940::ERROR::[SABnzbd:461] Essential modules are missing, downloading cannot start.
2020-07-30 21:44:29,943::INFO::[SABnzbd:1403] Starting web-interface on 0.0.0.0:8900
2020-07-30 21:44:29,944::INFO::[_cplogging:213] [30/Jul/2020:21:44:29] ENGINE Bus STARTING
2020-07-30 21:44:30,058::INFO::[_cplogging:213] [30/Jul/2020:21:44:30] ENGINE Serving on http://0.0.0.0:8900
2020-07-30 21:44:30,058::INFO::[_cplogging:213] [30/Jul/2020:21:44:30] ENGINE Bus STARTED
2020-07-30 21:50:56,333::INFO::[happyeyeballs:152] Quickest IP address for news.sunnyusenet.com (port 119, ssl 0, preferipv6 True) is 185.90.196.173
2020-07-30 21:51:00,264::INFO::[config:857] Writing settings to INI file /share/CACHEDEV1_DATA/.qpkg/SABnzbd/config/config.ini
2020-07-30 22:29:40,610::INFO::[config:857] Writing settings to INI file /share/CACHEDEV1_DATA/.qpkg/SABnzbd/config/config.ini
2020-07-30 22:29:42,735::INFO::[interface:1142] Restart requested by interface
2020-07-30 22:29:43,736::INFO::[__init__:389] SABnzbd shutting down...
2020-07-30 22:29:43,737::INFO::[directunpacker:524] Aborting all DirectUnpackers
2020-07-30 22:29:43,737::INFO::[urlgrabber:91] URLGrabber shutting down
2020-07-30 22:29:43,738::INFO::[dirscanner:108] Dirscanner shutting down
2020-07-30 22:29:43,739::INFO::[nzbqueue:225] Saving queue
2020-07-30 22:29:43,741::INFO::[postproc:132] Saving postproc queue
2020-07-30 22:29:43,742::INFO::[__init__:458] All processes stopped
2020-07-30 22:29:43,742::INFO::[_cplogging:213] [30/Jul/2020:22:29:43] ENGINE Bus STOPPING
2020-07-30 22:29:43,749::INFO::[_cplogging:213] [30/Jul/2020:22:29:43] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('0.0.0.0', 8900)) shut down
2020-07-30 22:29:43,750::INFO::[_cplogging:213] [30/Jul/2020:22:29:43] ENGINE Bus STOPPED
2020-07-30 22:29:43,750::INFO::[_cplogging:213] [30/Jul/2020:22:29:43] ENGINE Bus EXITING
2020-07-30 22:29:43,751::INFO::[_cplogging:213] [30/Jul/2020:22:29:43] ENGINE Bus EXITED
2020-07-30 22:29:43,751::INFO::[_cplogging:213] [30/Jul/2020:22:29:43] ENGINE Re-spawning /opt/bin/python3 SABnzbd.py --daemon --browser 0 --config-file /share/CACHEDEV1_DATA/.qpkg/SABnzbd/config/config.ini --pidfile /var/run/SABnzbd.pid
2020-07-30 22:29:47,640::INFO::[SABnzbd:1136] --------------------------------
2020-07-30 22:29:47,642::INFO::[SABnzbd:1137] SABnzbd.py-3.0.0-develop (rev=unknown)
2020-07-30 22:29:47,642::INFO::[SABnzbd:1138] Full executable path = /share/CACHEDEV1_DATA/.qpkg/SABnzbd/SABnzbd/SABnzbd.py
2020-07-30 22:29:47,644::INFO::[SABnzbd:1148] Platform = posix
2020-07-30 22:29:47,645::INFO::[SABnzbd:1149] Python-version = 3.8.3 (default, Jun 12 2020, 20:24:48) 
[GCC 8.4.0]
2020-07-30 22:29:47,645::INFO::[SABnzbd:1150] Arguments = "SABnzbd.py" "--daemon" "--browser" "0" "--config-file" "/share/CACHEDEV1_DATA/.qpkg/SABnzbd/config/config.ini" "--pidfile" "/var/run/SABnzbd.pid"
2020-07-30 22:29:47,646::INFO::[SABnzbd:1154] Not inside a docker container
2020-07-30 22:29:47,646::INFO::[SABnzbd:1157] Preferred encoding = UTF-8
2020-07-30 22:29:47,647::INFO::[SABnzbd:1169] SSL version = OpenSSL 1.1.1g  21 Apr 2020
2020-07-30 22:29:47,648::INFO::[SABnzbd:1217] Using INI file /share/CACHEDEV1_DATA/.qpkg/SABnzbd/config/config.ini
2020-07-30 22:29:47,658::INFO::[postproc:138] Loading postproc queue
2020-07-30 22:29:47,661::INFO::[__init__:961] [N/A] /share/CACHEDEV1_DATA/.qpkg/SABnzbd/config/<USERNAME>/Rating.sab missing
2020-07-30 22:29:47,663::INFO::[scheduler:216] Setting schedule for midnight BPS reset
2020-07-30 22:29:47,664::INFO::[__init__:350] All processes started
2020-07-30 22:29:47,665::INFO::[SABnzbd:292] Template location for Glitter is /share/CACHEDEV1_DATA/.qpkg/SABnzbd/SABnzbd/interfaces/Glitter
2020-07-30 22:29:47,666::INFO::[SABnzbd:292] Template location for Config is /share/CACHEDEV1_DATA/.qpkg/SABnzbd/SABnzbd/interfaces/Config
2020-07-30 22:29:47,685::INFO::[SABnzbd:393] SABYenc module (v4.0.2)... found!
2020-07-30 22:29:47,686::INFO::[SABnzbd:412] Cryptography module (v2.9.2)... found!
2020-07-30 22:29:47,687::ERROR::[SABnzbd:419] par2 binary... NOT found!
2020-07-30 22:29:47,687::INFO::[SABnzbd:424] UNRAR binary... found (/opt/bin/unrar)
2020-07-30 22:29:47,688::INFO::[SABnzbd:432] UNRAR binary version 5.90
2020-07-30 22:29:47,689::INFO::[SABnzbd:440] 7za binary... found (/opt/bin/7za)
2020-07-30 22:29:47,690::INFO::[SABnzbd:451] nice binary... found (/opt/bin/nice)
2020-07-30 22:29:47,690::INFO::[SABnzbd:455] ionice binary... found (/opt/bin/ionice)
2020-07-30 22:29:47,690::ERROR::[SABnzbd:461] Essential modules are missing, downloading cannot start.
2020-07-30 22:29:47,696::INFO::[SABnzbd:1403] Starting web-interface on 192.168.0.3:8900
2020-07-30 22:29:47,696::INFO::[_cplogging:213] [30/Jul/2020:22:29:47] ENGINE Bus STARTING
2020-07-30 22:29:47,817::INFO::[_cplogging:213] [30/Jul/2020:22:29:47] ENGINE Serving on http://192.168.0.3:8900
2020-07-30 22:29:47,818::INFO::[_cplogging:213] [30/Jul/2020:22:29:47] ENGINE Bus STARTED
__version__ = 19
__encoding__ = utf-8
[misc]
port = 8900
https_port = 9195
enable_https = 0
queue_complete = ""
folder_rename = 1
password_file = ""
rss_rate = 60
https_key = server.key
cleanup_list = ,
cache_limit = 450M
ignore_unrar_dates = 0
par_option = ""
web_color = Default
replace_spaces = 0
web_color2 = ""
dirscan_speed = 5
enable_filejoin = 1
create_group_folders = 0
never_repair = 0
no_penalties = 0
bandwidth_limit = 0
disable_api_key = 0
email_to = <REMOVED>
password=<PASSWORD>
permissions = 766
auto_disconnect = 1
enable_date_sorting = 0
replace_dots = 0
movie_sort_extra = -cd%1
ionice = ""
enable_unzip = 1
download_free = ""
email_dir = ""
pre_script = None
email_full = 0
<USERNAME>_dir = <USERNAME>
tv_sort_countries = 1
date_categories = tv,
ssl_type = v23
sfv_check = 1
date_sort_string = ""
schedlines = ,
host = 192.168.0.3
ignore_samples = 0
enable_tsjoin = 1
auto_browser = 0
pause_on_post_processing = 0
enable_unrar = 1
email_rss = 0
email_account = <REMOVED>
email_server = ""
allow_streaming = 0
config_lock = 0
api_warnings = 1
tv_sort_string = ""
username=<USER>
unpack_check = 0
size_limit = ""
enable_par_cleanup = 1
safe_postproc = 1
replace_illegal = 1
par2_multicore = 1
warned_old_queue = 0
language = en
check_new_rel = 1
no_dupes = 0
top_only = 1
quick_check = 1
movie_sort_string = ""
email_from = ""
movie_extra_folder = 0
email_endjob = 0
tv_categories = ,
pause_on_pwrar = 1
login_realm = SABnzbd
send_group = 0
refresh_rate = 0
movie_categories = movies,
email_pwd = <REMOVED>
ignore_wrong_unrar = 0
nice = ""
enable_movie_sorting = 0
https_cert = server.cert
web_dir2 = ""
fail_on_crc = 0
auto_sort = ""
ampm = 0
web_dir = Glitter
queue_complete_pers = 0
enable_tv_sorting = 0
folder_max_length = 256
win_menu = 1
allow_64bit_tools = 1
movie_rename_limit = 100M
notified_new_skin = 1
rating_filter_enable = 0
rating_enable = 0
inet_exposure = 0
enable_recursive = 1
selftest_host = self-test.sabnzbd.org
pre_check = 0
allow_duplicate_files = 0
load_balancing = 2
rating_filter_abort_video = 0
osx_speed = 1
dirscan_dir = ""
quota_period = m
enable_7zip = 1
rating_filter_pause_audio = 0
rss_filenames = 0
quota_day = ""
ssl_ciphers = ""
use_pickle = 0
https_chain = ""
warn_empty_nzb = 1
history_limit = 10
rating_filter_pause_encrypted_confirm = 0
warned_old_queue9 = 0
enable_all_par = 0
enable_https_verification = 1
ipv6_hosting = 0
enable_bonjour = 1
quota_size = ""
wait_ext_drive = 5
ipv6_servers = 1
quick_check_ext_ignore = nfo, sfv, srr
log_dir = logs
rating_filter_pause_encrypted = 0
queue_limit = 20
nzb_backup_dir = /share/Download/sabnzbd/nzbs
nr_decoders = 2
osx_menu = 1
show_sysload = 2
fail_hopeless_jobs = 1
sanitize_safe = 0
req_completion_rate = 100.2
rating_filter_abort_encrypted_confirm = 0
rating_filter_pause_spam_confirm = 0
fixed_ports = 1
html_login = 1
fsys_type = 0
allow_incomplete_nzb = 0
rating_filter_abort_keywords = ""
enable_meta = 1
quota_resume = 0
wait_for_dfolder = 0
rating_filter_abort_encrypted = 0
prospective_par_download = 1
rating_filter_pause_keywords = ""
warn_dupl_jobs = 1
rating_filter_abort_spam_confirm = 0
no_series_dupes = 0
propagation_delay = 0
download_dir = /share/Download/incomplete
new_nzb_on_failure = 0
complete_dir = /share/Download/complete
rating_filter_pause_downvoted = 0
rating_filter_abort_audio = 0
nomedia_marker = ""
max_art_opt = 0
bandwidth_max = ""
local_ranges = ,
keep_awake = 1
unwanted_extensions = ,
max_art_tries = 3
rss_odd_titles = nzbindex.nl/, nzbindex.com/, nzbclub.com/
rating_filter_pause_spam = 0
backup_for_duplicates = 1
sched_converted = 2
prio_sort_list = ,
rating_filter_abort_downvoted = 0
script_can_fail = 0
script_dir = /share/Download/nzbToMedia
bandwidth_perc = 0
empty_postproc = 0
rating_host = api.oznzb.com
rating_filter_pause_video = 0
api_logging = 1
action_on_unwanted_extensions = 0
rating_api_key = <REMOVED>
flat_unpack = 0
rating_filter_abort_spam = 0
start_paused = 0
overwrite_files = 0
direct_unpack_tested = 0
api_key = <HASH>1bfeef6
nzb_key = <HASH>ee94e93
win_process_prio = 3
fast_fail = 1
series_propercheck = 1
direct_unpack = 0
direct_unpack_threads = 3
history_retention = 0
x_frame_options = 1
require_modern_tls = 0
num_decoders = 3
url_base = /sabnzbd
host_whitelist = nas,
max_url_retries = 10
email_cats = *,
[logging]
log_new = 0
max_log_size = 5242880
log_level = 1
log_backups = 5
enable_cherrypy_logging = 0
[newzbin]
username=<USER>
bookmark_rate = 60
bookmarks = 0
password=<PASSWORD>
unbookmark = 1
[nzbmatrix]
username=<USER>
apikey = ""
del_bookmark = 1
[categories]
[[*]]
name = *
order = 0
pp = 3
script = CharTranslator.py
dir = ""
newzbin = ""
priority = 0
[ncenter]
ncenter_prio_download = 0
ncenter_prio_warning = 0
ncenter_prio_new_login = 0
ncenter_prio_queue_done = 1
ncenter_prio_startup = 1
ncenter_prio_failed = 1
ncenter_prio_disk_full = 1
ncenter_prio_error = 0
ncenter_enable = 0
ncenter_prio_complete = 1
ncenter_prio_pp = 0
ncenter_prio_other = 0
ncenter_cats = *,
ncenter_prio_pause_resume = 0
[nscript]
nscript_prio_warning = 0
nscript_prio_complete = 1
nscript_prio_other = 0
nscript_prio_queue_done = 1
nscript_prio_failed = 1
nscript_prio_pp = 0
nscript_prio_new_login = 0
nscript_script = ""
nscript_prio_download = 0
nscript_prio_error = 0
nscript_prio_startup = 1
nscript_parameters = ""
nscript_enable = 0
nscript_prio_disk_full = 1
nscript_cats = *,
nscript_prio_pause_resume = 0
[pushover]
pushover_prio_error = 1
pushover_enable = 0
pushover_prio_complete = -1
pushover_prio_warning = 1
pushover_prio_startup = -3
pushover_prio_queue_done = -1
pushover_prio_other = -3
pushover_prio_pp = -3
pushover_prio_disk_full = 1
pushover_device = ""
pushover_token = <REMOVED>
pushover_prio_new_login = -3
pushover_prio_failed = -1
pushover_prio_download = -2
pushover_userkey = <REMOVED>
pushover_emergency_expire = 3600
pushover_emergency_retry = 60
pushover_cats = *,
pushover_prio_pause_resume = -2
[growl]
growl_prio_disk_full = 1
growl_enable = 0
growl_prio_new_login = 0
growl_prio_other = 0
growl_prio_download = 0
growl_server = <REMOVED>
growl_prio_startup = 1
growl_prio_failed = 1
growl_prio_queue_done = 1
growl_prio_warning = 0
growl_prio_error = 0
growl_prio_complete = 1
growl_prio_pp = 0
growl_password = <REMOVED>
[prowl]
prowl_prio_disk_full = 1
prowl_prio_error = -3
prowl_prio_download = -3
prowl_enable = 0
prowl_prio_failed = 1
prowl_prio_pp = -3
prowl_prio_new_login = -3
prowl_apikey = <REMOVED>
prowl_prio_startup = -3
prowl_prio_warning = -3
prowl_prio_other = -3
prowl_prio_complete = 0
prowl_prio_queue_done = 0
prowl_cats = *,
prowl_prio_pause_resume = -3
[acenter]
acenter_prio_warning = 0
acenter_prio_disk_full = 1
acenter_prio_new_login = 0
acenter_prio_error = 0
acenter_prio_failed = 1
acenter_prio_startup = 0
acenter_prio_queue_done = 1
acenter_enable = 0
acenter_prio_complete = 1
acenter_prio_download = 0
acenter_prio_pp = 0
acenter_prio_other = 0
acenter_cats = *,
acenter_prio_pause_resume = 0
[ntfosd]
ntfosd_prio_queue_done = 1
ntfosd_enable = 1
ntfosd_prio_error = 0
ntfosd_prio_startup = 1
ntfosd_prio_complete = 1
ntfosd_prio_pp = 0
ntfosd_prio_warning = 0
ntfosd_prio_other = 0
ntfosd_prio_disk_full = 1
ntfosd_prio_new_login = 0
ntfosd_prio_download = 0
ntfosd_prio_failed = 1
ntfosd_cats = *,
ntfosd_prio_pause_resume = 0
[pushbullet]
pushbullet_prio_download = 0
pushbullet_prio_queue_done = 0
pushbullet_enable = 0
pushbullet_prio_complete = 1
pushbullet_prio_warning = 0
pushbullet_device = ""
pushbullet_prio_failed = 1
pushbullet_prio_other = 0
pushbullet_apikey = <REMOVED>
pushbullet_prio_disk_full = 1
pushbullet_prio_new_login = 0
pushbullet_prio_pp = 0
pushbullet_prio_startup = 0
pushbullet_prio_error = 0
pushbullet_cats = *,
pushbullet_prio_pause_resume = 0
[servers]
[[news.sunnyusenet.com]]
name = news.sunnyusenet.com
displayname = news.sunnyusenet.com
host = news.sunnyusenet.com
port = 119
timeout = 60
username=<USER>
password=<PASSWORD>
connections = 8
ssl = 0
ssl_verify = 2
ssl_ciphers = ""
enable = 1
optional = 0
retention = 0
send_group = 0
priority = 0
notes = ""


User avatar
OneCD
Ask me anything
Posts: 7580
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: [SCRIPT] sherpa.sh

Post by OneCD » Fri Jul 31, 2020 4:53 am

rma011db wrote:
Fri Jul 31, 2020 4:34 am
Here’s the log.

Code: Select all

2020-07-30 21:44:29,937::ERROR::[SABnzbd:419] par2 binary... NOT found!
So, the only item outstanding is PAR2.

Looking back at your sherpa logs, it seems PAR2 wasn't installed, as sherpa couldn't work out which PAR2 package suits your NAS architecture. That may be because your NAS model has only just been released. ;)

Let's gather some information about your NAS. Can you please post the content of your [platform.conf] file?

Code: Select all

cat /etc/platform.conf

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage

Post Reply

Return to “Community Apps”