[QPKG] sherpa mini-package-manager (CLI) beta

This is the best place for community developers to publish their genius work. Your Apps enrich the QNAP Turbo NAS.
Post Reply
User avatar
OneCD
Guru
Posts: 12039
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: [SCRIPT] sherpa.sh

Post by OneCD »

Zuzler wrote: Sun Jun 21, 2020 5:46 am Thank you so much, v200621 works flawlessly :lol:
Great! :D
Zuzler wrote: Sun Jun 21, 2020 5:46 am One more question, do I still need to install / keep the regular Python 2.x and 3.x from the official AppCenter, or are they made superflous by the installation done by sherpa? In my case it's 2.7.3 and 3.5.0.2
Those are not used by any of the sherpa apps. As long as you don't have anything else that requires them, they can be removed.

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
rs1001
Getting the hang of things
Posts: 72
Joined: Thu Jun 18, 2015 11:44 am

Re: [SCRIPT] sherpa.sh

Post by rs1001 »

Anyone got Sab3 working?

I'm struggling at a very basic level and haven't been able to troubleshoot.
Am pretty sure it just involves a bit of tinkering in the sab3 config.

1. If anyone has a config that works, please do share.

2. Would having both running concurrently (on diferent ports, obviously) cause any issues?

3. Is cheetah an entware package?

-------------------- start requested --------------------
= Sun Jun 21 08:23:39 IST 2020
= daemon is not active
* updating application 'SABnzbd': OK
= result: [0]
= PullGitRepo(): "From git://github.com/sabnzbd/sabnzbd
4420c36..4a9093e develop -> origin/develop
Updating 4420c36..4a9093e
Fast-forward
sabnzbd/nzbstuff.py | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)"
* updating application 'nzbToMedia': OK
= result: [0]
= PullGitRepo(): "Already up to date."
* launching: failed!
= result: [1]
= daemon startup messages: "Not all required Python modules are available, please check requirements.txt
Missing module: Cheetah
You can read more at: https://sabnzbd.org/python3
If you still experience problems, remove all .pyc files in this folder and subfolders"
QNAP TS-653 Pro -- with 16Gb RAM
6 * Western Digital WD60EFRX WD Reds (RAID5) as a Single 27.1TB Volume
Firmware: QTS 5.0.1.2277
User avatar
OneCD
Guru
Posts: 12039
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: [SCRIPT] sherpa.sh

Post by OneCD »

rs1001 wrote: Sun Jun 21, 2020 11:10 am Anyone got Sab3 working?

I'm struggling at a very basic level and haven't been able to troubleshoot.
Am pretty sure it just involves a bit of tinkering in the sab3 config.
Hmm, works fine here. :'

Sherpa does install 'cheetah3' as a prerequisite for SAB3:

Code: Select all

SHERPA_QPKG_PIP3S+=('sabyenc3 cheetah3 feedparser configobj cherrypy chardet')
Can you please download a fresh copy of sherpa, run it in 'debug' mode and reinstall SAB3?

Code: Select all

./sherpa.sh -d sab3
If SAB3 fails to 'start' again, please post the [/share/Public/sherpa.tmp/Py3-modules.install.log] file.

Yes, you can run both SABnzbd 2.3.9 and SABnzbd 3.0.0 at the same time as I've configured them to operate on different ports. But, you might want to limit your NNTP server connections to avoid spamming the SAB logs with warnings about "too-many-connections". ;)

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
rs1001
Getting the hang of things
Posts: 72
Joined: Thu Jun 18, 2015 11:44 am

Re: [SCRIPT] sherpa.sh

Post by rs1001 »

Resolved it.

It was one or both of these things:

1. Duplicate entries in my config which was being backed up and recovering (with the error) -- my idiocy, no issue.
2. Some Python 3 stuff was being downgraded because I had Owatcher (which I don't really use, so removed i)t -- Potentially a conflict here.
QNAP TS-653 Pro -- with 16Gb RAM
6 * Western Digital WD60EFRX WD Reds (RAID5) as a Single 27.1TB Volume
Firmware: QTS 5.0.1.2277
User avatar
OneCD
Guru
Posts: 12039
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: [SCRIPT] sherpa.sh

Post by OneCD »

rs1001 wrote: Mon Jun 22, 2020 1:55 am 2. Some Python 3 stuff was being downgraded because I had Owatcher (which I don't really use, so removed i)t -- Potentially a conflict here.
Yup, turned-out there was a problem with the downgrader, but I was unable to fix it as the Entware website had been down for a few days.

It's fully restored now, and I discovered the 'libffi' package also needs to be downgraded so 'pip3' works correctly. :D

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
pete0r
New here
Posts: 5
Joined: Sun May 11, 2014 1:52 pm

Re: [SCRIPT] sherpa.sh

Post by pete0r »

OneCD wrote: Sun Jun 21, 2020 5:51 am
Zuzler wrote: Sun Jun 21, 2020 5:46 am Thank you so much, v200621 works flawlessly :lol:
I am getting a similar error using 200623

[ fail ] A required NAS system file is missing (/opt/bin/pip3)

i have tried ./sherpa.sh ew but not having any luck - anything else i may have missed?
User avatar
OneCD
Guru
Posts: 12039
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: [SCRIPT] sherpa.sh

Post by OneCD »

pete0r wrote: Thu Jun 25, 2020 7:36 am i have tried ./sherpa.sh ew but not having any luck - anything else i may have missed?
"not having any luck" - do you mean Entware won't reinstall?

Can you please post the sherpa.debug.log?

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
Besty
First post
Posts: 1
Joined: Sun Jul 24, 2011 1:18 am

Re: [SCRIPT] sherpa.sh

Post by Besty »

Hi, thanks for all the time and effort you put into this.

yes i just ran the script on my 4xx series x86-64 qnap and get the same error due to entware install not working.

[ fail ] A required NAS system file is missing (/opt/bin/pip3

Edit: I manually installed Entware 1.00.qpkg, then installed all of the python dependency requirements (including Python PIP3) using OPKG taken from the SABNZB dependencies page and NZBGet installer using Sherpa is now working. I am a complete noobie with linux but my assumption is that one or, some of the python3 dependencies are missing from these old NAS models.
pete0r
New here
Posts: 5
Joined: Sun May 11, 2014 1:52 pm

Re: [SCRIPT] sherpa.sh

Post by pete0r »

OneCD wrote: Thu Jun 25, 2020 10:37 am
pete0r wrote: Thu Jun 25, 2020 7:36 am i have tried ./sherpa.sh ew but not having any luck - anything else i may have missed?
"not having any luck" - do you mean Entware won't reinstall?

Can you please post the sherpa.debug.log?
Thanks for all your help OneCD - Yes having trouble getting it to reinstall - here is the dubug log.

Code: Select all

[ dbug ] (**) SCRIPT:             started: Fri Jun 26 09:16:59 EST 2020
[ dbug ] (**) SCRIPT:             version: 200623
[ 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-659
[ 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: 4 days
[ dbug ] (**) NAS   :         system load: 1 min=0.17, 5 min=0.10, 15 min=0.07
[ dbug ] (**) NAS   :                USER: admin
[ dbug ] (**) NAS   :                EUID: 0
[ dbug ] (**) NAS   :      default volume: /share/MD0_DATA
[ dbug ] (**) NAS   :               $PATH: /opt/bin:/opt/sbin:/Apps/opt/bin:/Apps/opt/
[ dbug ] (**) NAS   :                /opt: <not present>
[ 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:        working 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 ] (II) ------------------------------------------------------------------------
[ dbug ] (<<) LogRuntimeParameters() [0]
[ dbug ] (>>) DownloadQPKGs()
[ dbug ] (>>) DownloadQPKG()
[ dbug ] (II) existing QPKG checksum correct (Entware_1.02std.qpkg)
[ dbug ] (<<) DownloadQPKG() [0]
[ dbug ] (>>) DownloadQPKG()
[ dbug ] (II) existing QPKG checksum correct (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]
[ dbug ] (<<) RemoveUnwantedQPKGs() [0]
[ dbug ] (>>) InstallBase()
[ proc ] installing file (Entware_1.02std.qpkg) - this can take a while ...
[ done ] installed file (Entware_1.02std.qpkg)
[ dbug ] (--) adjusted $PATH
[ dbug ] (vv) $PATH [/opt/bin:/opt/sbin:/opt/bin:/opt/sbin:/Apps/opt/bin:/Apps/opt/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin/X11:/usr/local/sbin:/usr/local/bin:/Apps/bin:/Apps/sbin:/usr/local/jre/bin]
[ dbug ] (>>) PatchBaseInit()
[ dbug ] (--) patch: do the "opt shuffle"
[ dbug ] (<<) PatchBaseInit() [0]
[ dbug ] (<<) InstallBase() [0]
[ dbug ] (>>) InstallBaseAddons()
[ 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 git git-http less nano
[ dbug ] (==) finding IPKG dependencies ...
[ dbug ] (--) complete
[ dbug ] (II) found all IPKG dependencies in 7 iterations
[ dbug ] (II) IPKGs requested + dependencies: ca-bundle ca-certificates file git git-http less libbz2 libc libcurl libgcc liblzma libmagic libncurses libncursesw libopenssl libpthread librt libssp nano terminfo zlib
[ dbug ] (==) excluding IPKGs already installed ...
[ dbug ] (--) complete
[ dbug ] (II) IPKGs to download: ca-bundle ca-certificates file git git-http less libbz2 libcurl liblzma libmagic libncurses libncursesw libopenssl nano zlib
[ dbug ] (==) calculating size of IPKGs to download ...
[ dbug ] (--) complete
[ dbug ] (vv) $IPKG_download_size [12441110]
[ dbug ] (**) STAGE :        elapsed time: 00h:00m:05s
[ dbug ] (II) ------------------------------------------------------------------------
[ done ] 15 IPKGs (12MB) to be downloaded
[ dbug ] (II) ------------------------------------------------------------------------
[ dbug ] (**) STAGE :   start stage timer
[ proc ] downloading & installing 15 IPKGs ...
[ done ] downloaded & installed 15 IPKGs
[ dbug ] (**) STAGE :        elapsed time: 00h:00m:46s
[ dbug ] (II) ------------------------------------------------------------------------
[ dbug ] (<<) InstallIPKGBatch() [0]
[ dbug ] (<<) InstallIPKGs() [0]
[ dbug ] (>>) InstallPy3Modules()
[ fail ] A required NAS system file is missing (/opt/bin/pip3)
[ dbug ] (<<) InstallBaseAddons() [19]
[ dbug ] (>>) Cleanup()
[ dbug ] (<<) Cleanup() [19]
[ dbug ] (>>) ShowResult()
[ fail ] 'Entware' install failed! [19]
[ dbug ] (vv) $suggest_issue [true]
[ dbug ] (II) ------------------------------------------------------------------------
[ dbug ] (**) SCRIPT:            finished: Fri Jun 26 09:19:15 EST 2020
[ dbug ] (**) SCRIPT:        elapsed time: 00h:02m:16s
[ dbug ] (II) ========================================================================
[ dbug ] (<<) ShowResult() [19]
Last edited by OneCD on Fri Jun 26, 2020 7:37 am, edited 1 time in total.
Reason: added code tags
User avatar
OneCD
Guru
Posts: 12039
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: [SCRIPT] sherpa.sh

Post by OneCD »

pete0r wrote: Fri Jun 26, 2020 7:29 am Thanks for all your help OneCD - Yes having trouble getting it to reinstall - here is the dubug log.
Thanks @pete0r, I've just been able to replicate this at my end. Looks like this happens if there are no other sherpa QPKGs installed except for Entware. ;)

Working on it now ...

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
User avatar
OneCD
Guru
Posts: 12039
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: [SCRIPT] sherpa.sh

Post by OneCD »

pete0r wrote: Thu Jun 25, 2020 7:36 am [ fail ] A required NAS system file is missing (/opt/bin/pip3)
Besty wrote: Thu Jun 25, 2020 7:34 pm [ fail ] A required NAS system file is missing (/opt/bin/pip3
OK guys, this should now be fixed. Please download and run sherpa v200626b or later and try again.

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
pete0r
New here
Posts: 5
Joined: Sun May 11, 2014 1:52 pm

Re: [SCRIPT] sherpa.sh

Post by pete0r »

You are brilliant, it worked a treat.

Thank you!
User avatar
OneCD
Guru
Posts: 12039
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: [SCRIPT] sherpa.sh

Post by OneCD »

No worries, thank you for reporting this. :D

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
Shayer
New here
Posts: 2
Joined: Tue Mar 01, 2011 11:59 pm

Re: [SCRIPT] sherpa.sh

Post by Shayer »

i have a message "[ fail ] No valid QPKGs or actions were specified"
after i re-installed Entware: sherpa.sh Entware, but still same message "no valid QPKGs or actions were specified"
I just follow instructions, beginner.

see the log

Code: Select all

 [ dbug ] (II) ========================================================================
[ dbug ] (**) SCRIPT:             started: Sun Jun 28 16:19:56 CEST 2020
[ dbug ] (**) SCRIPT:             version: 200626d
[ 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: TVS-473, QNAP Systems, Inc.
[ dbug ] (**) NAS   :                 RAM: 7600660 kB
[ dbug ] (**) NAS   :    firmware version: 4.4.2
[ dbug ] (**) NAS   :      firmware build: 20200529
[ dbug ] (**) NAS   :              kernel: 4.2.8 x86_64
[ dbug ] (**) NAS   :           OS uptime: 1:09
[ dbug ] (**) NAS   :         system load: 1 min=0.65, 5 min=0.61, 15 min=0.67
[ dbug ] (**) NAS   :                USER: admin
[ dbug ] (**) NAS   :                EUID: 0
[ dbug ] (**) NAS   :      default volume: /share/CACHEDEV1_DATA
[ dbug ] (**) NAS   :               $PATH: /opt/bin:/opt/sbin:/share/CACHEDEV1_DATA/.q
[ dbug ] (**) NAS   :                /opt: /share/CACHEDEV1_DATA/.qpkg/Perl/perl
[ dbug ] (**) NAS   :     /share/Download: CACHEDEV1_DATA/Download
[ dbug ] (**) SCRIPT:  unparsed arguments: SABnzbd
[ 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:        working 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: x64
[ fail ] No valid QPKGs or actions were specified
[ dbug ] (II) ------------------------------------------------------------------------
[ dbug ] (>>) Cleanup()
[ dbug ] (<<) Cleanup() [2]
[ dbug ] (>>) ShowResult()
[ dbug ] (II) ------------------------------------------------------------------------
[ dbug ] (**) SCRIPT:            finished: Sun Jun 28 16:19:56 CEST 2020
[ dbug ] (**) SCRIPT:        elapsed time: 00h:00m:00s
[ dbug ] (II) ========================================================================
[ dbug ] (<<) ShowResult() [2]
[ dbug ] (II) ========================================================================
[ dbug ] (**) SCRIPT:             started: Sun Jun 28 16:31:23 CEST 2020
[ dbug ] (**) SCRIPT:             version: 200626d
[ 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: TVS-473, QNAP Systems, Inc.
[ dbug ] (**) NAS   :                 RAM: 7600660 kB
[ dbug ] (**) NAS   :    firmware version: 4.4.2
[ dbug ] (**) NAS   :      firmware build: 20200529
[ dbug ] (**) NAS   :              kernel: 4.2.8 x86_64
[ dbug ] (**) NAS   :           OS uptime: 1:20
[ dbug ] (**) NAS   :         system load: 1 min=0.39, 5 min=0.51, 15 min=0.58
[ dbug ] (**) NAS   :                USER: admin
[ dbug ] (**) NAS   :                EUID: 0
[ dbug ] (**) NAS   :      default volume: /share/CACHEDEV1_DATA
[ dbug ] (**) NAS   :               $PATH: /opt/bin:/opt/sbin:/share/CACHEDEV1_DATA/.q
[ dbug ] (**) NAS   :                /opt: <not present>
[ dbug ] (**) NAS   :     /share/Download: CACHEDEV1_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:        working 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: x64
[ dbug ] (**) QPKG  :   Entware installer: none
[ fail ] Entware appears to be installed but is not visible.
[ dbug ] (II) ------------------------------------------------------------------------
[ dbug ] (>>) Cleanup()
[ dbug ] (<<) Cleanup() [9]
[ dbug ] (>>) ShowResult()
[ fail ] 'Entware' install failed! [9]
[ dbug ] (vv) $suggest_issue [true]
[ dbug ] (II) ------------------------------------------------------------------------
[ dbug ] (**) SCRIPT:            finished: Sun Jun 28 16:31:23 CEST 2020
[ dbug ] (**) SCRIPT:        elapsed time: 00h:00m:00s
[ dbug ] (II) ========================================================================
[ dbug ] (<<) ShowResult() [9]
[ dbug ] (II) ========================================================================
[ dbug ] (**) SCRIPT:             started: Sun Jun 28 16:32:13 CEST 2020
[ dbug ] (**) SCRIPT:             version: 200626d
[ 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: TVS-473, QNAP Systems, Inc.
[ dbug ] (**) NAS   :                 RAM: 7600660 kB
[ dbug ] (**) NAS   :    firmware version: 4.4.2
[ dbug ] (**) NAS   :      firmware build: 20200529
[ dbug ] (**) NAS   :              kernel: 4.2.8 x86_64
[ dbug ] (**) NAS   :           OS uptime: 1:21
[ dbug ] (**) NAS   :         system load: 1 min=0.36, 5 min=0.47, 15 min=0.56
[ dbug ] (**) NAS   :                USER: admin
[ dbug ] (**) NAS   :                EUID: 0
[ dbug ] (**) NAS   :      default volume: /share/CACHEDEV1_DATA
[ dbug ] (**) NAS   :               $PATH: /opt/bin:/opt/sbin:/share/CACHEDEV1_DATA/.q
[ dbug ] (**) NAS   :                /opt: <not present>
[ dbug ] (**) NAS   :     /share/Download: CACHEDEV1_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:        working 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: x64
[ dbug ] (**) QPKG  :   Entware installer: none
[ fail ] Entware appears to be installed but is not visible.
[ dbug ] (II) ------------------------------------------------------------------------
[ dbug ] (>>) Cleanup()
[ dbug ] (<<) Cleanup() [9]
[ dbug ] (>>) ShowResult()
[ fail ] 'Entware' install failed! [9]
[ dbug ] (vv) $suggest_issue [true]
[ dbug ] (II) ------------------------------------------------------------------------
[ dbug ] (**) SCRIPT:            finished: Sun Jun 28 16:32:13 CEST 2020
[ dbug ] (**) SCRIPT:        elapsed time: 00h:00m:00s
[ dbug ] (II) ========================================================================
[ dbug ] (<<) ShowResult() [9]
[ dbug ] (II) ========================================================================
[ dbug ] (**) SCRIPT:             started: Sun Jun 28 16:51:15 CEST 2020
[ dbug ] (**) SCRIPT:             version: 200626d
[ 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: TVS-473, QNAP Systems, Inc.
[ dbug ] (**) NAS   :                 RAM: 7600660 kB
[ dbug ] (**) NAS   :    firmware version: 4.4.2
[ dbug ] (**) NAS   :      firmware build: 20200529
[ dbug ] (**) NAS   :              kernel: 4.2.8 x86_64
[ dbug ] (**) NAS   :           OS uptime: 12 min
[ dbug ] (**) NAS   :         system load: 1 min=0.20, 5 min=0.59, 15 min=0.47
[ dbug ] (**) NAS   :                USER: admin
[ dbug ] (**) NAS   :                EUID: 0
[ dbug ] (**) NAS   :      default volume: /share/CACHEDEV1_DATA
[ dbug ] (**) NAS   :               $PATH: /opt/bin:/opt/sbin:/share/CACHEDEV1_DATA/.q
[ dbug ] (**) NAS   :                /opt: /share/CACHEDEV1_DATA/.qpkg/Entware
[ dbug ] (**) NAS   :     /share/Download: CACHEDEV1_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:        working 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: x64
[ dbug ] (**) QPKG  :   Entware installer: std
[ dbug ] (II) ------------------------------------------------------------------------
[ dbug ] (>>) DownloadQPKGs()
[ dbug ] (>>) DownloadQPKG()
[ proc ] downloading file (Entware_1.02std.qpkg) ...
[ done ] downloaded file (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, SickChill 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 ] (>>) InstallBase()
[ proc ] installing file (Entware_1.02std.qpkg) - this can take a while ...
[ done ] installed file (Entware_1.02std.qpkg)
[ dbug ] (--) adjusted $PATH
[ dbug ] (vv) $PATH [/opt/bin:/opt/sbin:/opt/bin:/opt/sbin:/share/CACHEDEV1_DATA/.qpkg/container-station/bin:/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 ] (<<) InstallBase() [0]
[ dbug ] (>>) InstallBaseAddons()
[ 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 git git-http less nano 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 less libbz2 libc libcurl libdb47 libexpat libffi libgcc libgdbm liblzma libmagic libncurses libncursesw libopenssl libpthread librt libsqlite3 libssp libtirpc libuuid libxml2 nano 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 ] (==) excluding IPKGs already installed ...
[ dbug ] (--) complete
[ dbug ] (II) IPKGs to download: ca-bundle ca-certificates file git git-http less libbz2 libcurl libdb47 libexpat libffi libgdbm liblzma libmagic libncurses libncursesw libopenssl libsqlite3 libtirpc libuuid libxml2 nano 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 [22060620]
[ dbug ] (**) STAGE :        elapsed time: 00h:00m:03s
[ dbug ] (II) ------------------------------------------------------------------------
[ done ] 50 IPKGs (22MB) to be downloaded
[ dbug ] (II) ------------------------------------------------------------------------
[ dbug ] (**) STAGE :   start stage timer
[ proc ] downloading & installing 50 IPKGs ...
[ done ] downloaded & installed 50 IPKGs
[ dbug ] (**) STAGE :        elapsed time: 00h:00m:20s
[ dbug ] (II) ------------------------------------------------------------------------
[ dbug ] (<<) InstallIPKGBatch() [0]
[ dbug ] (<<) InstallIPKGs() [0]
[ dbug ] (>>) InstallPy3Modules()
[ dbug ] (>>) RestartAllQPKGs()
[ dbug ] (<<) RestartAllQPKGs() [0]
[ dbug ] (<<) InstallBaseAddons() [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 Jun 28 16:52:06 CEST 2020
[ dbug ] (**) SCRIPT:        elapsed time: 00h:00m:51s
[ dbug ] (II) ========================================================================
[ dbug ] (<<) ShowResult() [0]
[ dbug ] (II) ========================================================================
[ dbug ] (**) SCRIPT:             started: Sun Jun 28 16:53:22 CEST 2020
[ dbug ] (**) SCRIPT:             version: 200626d
[ 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: TVS-473, QNAP Systems, Inc.
[ dbug ] (**) NAS   :                 RAM: 7600660 kB
[ dbug ] (**) NAS   :    firmware version: 4.4.2
[ dbug ] (**) NAS   :      firmware build: 20200529
[ dbug ] (**) NAS   :              kernel: 4.2.8 x86_64
[ dbug ] (**) NAS   :           OS uptime: 14 min
[ dbug ] (**) NAS   :         system load: 1 min=0.35, 5 min=0.61, 15 min=0.50
[ dbug ] (**) NAS   :                USER: admin
[ dbug ] (**) NAS   :                EUID: 0
[ dbug ] (**) NAS   :      default volume: /share/CACHEDEV1_DATA
[ dbug ] (**) NAS   :               $PATH: /opt/bin:/opt/sbin:/share/CACHEDEV1_DATA/.q
[ dbug ] (**) NAS   :                /opt: /share/CACHEDEV1_DATA/.qpkg/Entware
[ dbug ] (**) NAS   :     /share/Download: CACHEDEV1_DATA/Download
[ dbug ] (**) SCRIPT:  unparsed arguments: SABnzbd
[ 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:        working 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: x64
[ fail ] No valid QPKGs or actions were specified
[ dbug ] (II) ------------------------------------------------------------------------
[ dbug ] (>>) Cleanup()
[ dbug ] (<<) Cleanup() [2]
[ dbug ] (>>) ShowResult()
[ dbug ] (II) ------------------------------------------------------------------------
[ dbug ] (**) SCRIPT:            finished: Sun Jun 28 16:53:22 CEST 2020
[ dbug ] (**) SCRIPT:        elapsed time: 00h:00m:00s
[ dbug ] (II) ========================================================================
[ dbug ] (<<) ShowResult() [2]
any idea why?

thank you for your help
User avatar
OneCD
Guru
Posts: 12039
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: [SCRIPT] sherpa.sh

Post by OneCD »

Hi and welcome to the forum. :)
Shayer wrote: Sun Jun 28, 2020 11:05 pm i have a message "[ fail ] No valid QPKGs or actions were specified"
Oops, my bad. This is now fixed.

Please download sherpa v200629 or later and try again.

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
Post Reply

Return to “Community Apps”