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

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
Ask me anything
Posts: 8975
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

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

Post by OneCD » Mon Mar 01, 2021 6:03 pm

potestus wrote:
Mon Mar 01, 2021 6:01 pm
Might need help with symlink.. I'm sure I had access to the root in the old days from the file station?
Something for you to research. ;)

No, File Station never had access to the root filesystem.

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage

User avatar
GTunney
Been there, done that
Posts: 682
Joined: Tue Oct 14, 2014 4:16 pm

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

Post by GTunney » Tue Mar 02, 2021 2:47 am

Not sure if this is something that might help with my SSL issue, just saw this in the logs from today.

Code: Select all

2021-03-01 16:07:01,625::INFO::[notifier:122] Sending notification: Error - [01/Mar/2021:16:07:01] ENGINE Error in HTTPServer.serve
Traceback (most recent call last):
  File "/opt/lib/python3.9/site-packages/cheroot/server.py", line 1810, in serve
    self._connections.run(self.expiration_interval)
  File "/opt/lib/python3.9/site-packages/cheroot/connections.py", line 201, in run
    self._run(expiration_interval)
  File "/opt/lib/python3.9/site-packages/cheroot/connections.py", line 218, in _run
    new_conn = self._from_server_socket(self.server.socket)
  File "/opt/lib/python3.9/site-packages/cheroot/connections.py", line 271, in _from_server_socket
    s, ssl_env = self.server.ssl_adapter.wrap(s)
  File "/opt/lib/python3.9/site-packages/cheroot/ssl/builtin.py", line 277, in wrap
    s = self.context.wrap_socket(
  File "/opt/lib/python3.9/ssl.py", line 500, in wrap_socket
  File "/opt/lib/python3.9/ssl.py", line 1040, in _create
  File "/opt/lib/python3.9/ssl.py", line 1309, in do_handshake
ssl.SSLError: [SSL: BAD_KEY_SHARE] bad key share (_ssl.c:1122)
 (type=error, job_cat=None)
2021-03-01 16:07:01,625::ERROR::[_cplogging:213] [01/Mar/2021:16:07:01] ENGINE Error in HTTPServer.serve
Traceback (most recent call last):
  File "/opt/lib/python3.9/site-packages/cheroot/server.py", line 1810, in serve
    self._connections.run(self.expiration_interval)
  File "/opt/lib/python3.9/site-packages/cheroot/connections.py", line 201, in run
    self._run(expiration_interval)
  File "/opt/lib/python3.9/site-packages/cheroot/connections.py", line 218, in _run
    new_conn = self._from_server_socket(self.server.socket)
  File "/opt/lib/python3.9/site-packages/cheroot/connections.py", line 271, in _from_server_socket
    s, ssl_env = self.server.ssl_adapter.wrap(s)
  File "/opt/lib/python3.9/site-packages/cheroot/ssl/builtin.py", line 277, in wrap
    s = self.context.wrap_socket(
  File "/opt/lib/python3.9/ssl.py", line 500, in wrap_socket
  File "/opt/lib/python3.9/ssl.py", line 1040, in _create
  File "/opt/lib/python3.9/ssl.py", line 1309, in do_handshake
ssl.SSLError: [SSL: BAD_KEY_SHARE] bad key share (_ssl.c:1122)
Model: TS-653B 8GB
Disks: 3 x 4TB Western Digital WD40EFRX - RAID 5
Total Storage: 7.2TB
Applications: Plex MS | QCouchPotato | QSabnzbd+ | QSickrage | QHeadphones | HTPC Manager | Kodi v18.4 MySQL
Other Devices: Netgear D7000 AC1900 VDSL Router | FTTC - 80/20 | Netgear GS108 Gigabit Switch

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

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

Post by OneCD » Tue Mar 02, 2021 5:10 am

GTunney wrote:
Tue Mar 02, 2021 2:47 am
Not sure if this is something that might help with my SSL issue, just saw this in the logs from today.
Great! :)

Can you please add this information to your topic on the SABnzbd forum?

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage

User avatar
dirkonline
Easy as a breeze
Posts: 278
Joined: Mon Oct 18, 2010 4:08 pm

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

Post by dirkonline » Thu Mar 04, 2021 12:02 am

FYI - unrelated to sherpa but possibly helpful for the people reading along here for those using SABnzdb + Medusa and use PostProcessing via nzbtomedia


Due to recent refactoring of nzbtomedia you may run into failed Post-Processing of tv downloads. Message in SAB "SickBeard: Failed to post-process - Returned log from SickBeard was not as expected.!"

You might have to change your autoProcessMedia.cfg settings in the

[SickBeard]
#### autoProcessing for TV Series
#### tv - category that gets called for post-processing with SB

part of the cobnfig to:

Code: Select all

apikey = YOUR MEDUSA API KEY 

Code: Select all

fork = medusa-apiv2
how to -> https://github.com/pymedusa/Medusa/wiki/NZBtoMedia

User avatar
dirkonline
Easy as a breeze
Posts: 278
Joined: Mon Oct 18, 2010 4:08 pm

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

Post by dirkonline » Sun Mar 07, 2021 6:05 pm

Cheers OneCD :) I hope you are and family are well!

I just ran into an issue during my weekly upgrade of the apps. Sherpa warned about an outdated Python3, so I followed the recommended action. Unfortunately, it failed at reinstalling Entware. Sherpa Paste did not generate a link for the debug log so I just copied it here:
Any idea how I might fix this? Help is, as always, greatly appreciated :)

Code: Select all

/share/CACHEDEV1_DATA/.qpkg/HybridBackup/CloudConnector3] # sherpa reinstall ew
proc: init ... 
proc: checking installed QPKGs ... 
sherpa 210304  a mini-package-manager for QNAP NAS
proc: validating parameters ... /bin/grep: invalid option -- 'm'
BusyBox v1.01 (2021.01.06-19:25+0000) multi-call binary
Usage: grep [-ihHnqvs] PATTERN [FILEs...]
Search for PATTERN in each FILE or standard input.
Options:
-Hprefix output lines with filename where match was found
-hsuppress the prefixing filename on output
-iignore case distinctions
-llist names of files that match
-nprint line number with output lines
-qbe quiet. Returns 0 if result was found, 1 otherwise
-vselect non-matching lines
-ssuppress file open/read error messages
reco: your Python 3 is out-of-date. Suggest reinstalling Entware: 'sherpa reinstall ew' 
proc: checking for packages to update package cache with ... 
proc: updating package cache with 2 QPKGs ... 33% (1/2) 
proc: updating package cache with 1 QPKG ... 50% (1/1) 
proc: checking for packages to backup ... 
proc: checking for optional packages to stop ... 
proc: stopping 11 optional QPKGs ... 8% (1/11) 
proc: stopping 10 optional QPKGs ... 9% (1/10) 
proc: stopping 9 optional QPKGs ... 10% (1/9) 
proc: stopping 8 optional QPKGs ... 11% (1/8) 
proc: stopping 8 optional QPKGs ... 22% (2/8) 
proc: stopping 8 optional QPKGs ... 33% (3/8) 
proc: stopping 7 optional QPKGs ... 38% (3/7) 
proc: stopping 6 optional QPKGs ... 43% (3/6) 
proc: stopping 6 optional QPKGs ... 57% (4/6) 
proc: stopping 5 optional QPKGs ... 67% (4/5) 
proc: stopping 4 optional QPKGs ... 80% (4/4) 
proc: stopping 3 optional QPKGs ... 100% (3/3) 
done: stopped 3 optional QPKGs                       
proc: checking for essential packages to stop ... 
proc: stopping 1 essential QPKG ... 50% (1/1) 
proc: stopping 1 essential QPKG ... 100% (1/1) 
done: stopped 1 essential QPKG                       
proc: checking for optional packages to uninstall ... 
proc: checking for addon packages to uninstall ... 
proc: checking for essential packages to uninstall ... 
proc: uninstalling 1 essential QPKG ... 50% (1/1) 
proc: uninstalling 1 essential QPKG ... 100% (1/1) 
done: uninstalled 1 essential QPKG                       
proc: checking for essential packages to upgrade ... 
proc: checking for essential packages to reinstall ... 
proc: checking for essential packages to install ... 
proc: installing 2 essential QPKGs (might take a while) ... 33% (1/2) 
proc: installing essential IPKGs ... 
done: installed essential IPKGs            
proc: installing 2 essential QPKGs (might take a while) ... 67% (2/2) 
proc: installing 1 essential QPKG (might take a while) ... 100% (1/1) 
done: installed 1 essential QPKG                                            
proc: checking for essential packages to restore configuration for ... 
proc: checking for essential packages to start ... 
proc: starting 2 essential QPKGs (might take a while) ... 33% (1/2) 
proc: starting 1 essential QPKG (might take a while) ... 50% (1/1) 
proc: starting 1 essential QPKG (might take a while) ... 100% (1/1) 
done: started 1 essential QPKG                                            
proc: checking for essential packages to restart ... 
proc: checking for addon packages to install ... 
proc: calculating IPKG dependencies ... 
proc: downloading & installing 81 IPKGs ... 0% (0B/104MB) 0% (366kB/104MB) 1% (1MB/104MB)   2% (3MB/104MB) 3% (3MB/104MB) 4% (4MB/104MB) 5% (6MB/104MB) 11% (12MB/104MB) 11% (12MB/104MB) stalled for 4 seconds 12% (12MB/104MB)                       21% (22MB/104MB) 36% (37MB/104MB) 39% (40MB/104MB) 46% (48MB/104MB) 46% (48MB/104MB) stalled for 4 seconds 46% (48MB/104MB) stalled for 5 seconds 46% (48MB/104MB) stalled for 6 seconds 46% (48MB/104MB) stalled for 7 seconds 46% (48MB/104MB) stalled for 8 seconds 46% (48MB/104MB) stalled for 9 seconds 46% (48MB/104MB) stalled for 10 seconds 46% (48MB/104MB) stalled for 11 seconds 46% (48MB/104MB) stalled for 12 seconds 46% (48MB/104MB) stalled for 13 seconds 46% (48MB/104MB) stalled for 14 seconds 46% (48MB/104MB) stalled for 15 seconds 46% (48MB/104MB) stalled for 16 seconds 46% (48MB/104MB) stalled for 17 seconds 46% (48MB/104MB) stalled for 18 seconds 46% (48MB/104MB) stalled for 19 seconds 46% (48MB/104MB) stalled for 20 seconds 46% (48MB/104MB) stalled for 21 seconds 46% (48MB/104MB) stalled for 22 seconds 46% (48MB/104MB) stalled for 23 seconds 46% (48MB/104MB) stalled for 24 seconds 53% (55MB/104MB)                        54% (57MB/104MB) 56% (58MB/104MB) 56% (59MB/104MB) 57% (59MB/104MB) 57% (60MB/104MB) 58% (61MB/104MB) 61% (64MB/104MB) 63% (66MB/104MB) 65% (68MB/104MB) 67% (69MB/104MB) 67% (70MB/104MB) 68% (71MB/104MB) 69% (72MB/104MB) 71% (74MB/104MB) 84% (87MB/104MB) 97% (101MB/104MB) 98% (102MB/104MB) 98% (102MB/104MB) stalled for 4 seconds 98% (102MB/104MB)                       98% (102MB/104MB) stalled for 4 seconds 98% (102MB/104MB) stalled for 5 seconds 98% (102MB/104MB) stalled for 6 seconds 98% (102MB/104MB) stalled for 7 seconds 98% (102MB/104MB) stalled for 8 seconds 99% (104MB/104MB)                       0% (0B/104MB)     done!         
done: downloaded & installed 81 IPKGs             
proc: checking for addon packages to install ... 
proc: installing 1 PIP group (might take a while) ... 50% (1/1) 
eror: Download & install 'Python3' modules failed ! result_code: [1]  
proc: installing 2 PIP groups (might take a while) ... 33% (1/2) 
proc: installing 2 PIP groups (might take a while) ... 67% (2/2) 
proc: installing 2 PIP groups (might take a while) ... 100% (1/2) 
warn: installed 2 PIP groups, but 1 PIP group failed              
proc: checking for optional packages to upgrade ... 
proc: checking for optional packages to reinstall ... 
proc: checking for optional packages to install ... 
proc: checking for optional packages to restore configuration for ... 
proc: checking for optional packages to start ... 
proc: starting 4 optional QPKGs (might take a while) ... 20% (1/4) 
proc: starting 4 optional QPKGs (might take a while) ... 40% (2/4) 
proc: starting 4 optional QPKGs (might take a while) ... 60% (3/4) 
eror: 'SABnzbd' service operation failed. Check (/var/log/SABnzbd.log) for more information 
proc: starting 4 optional QPKGs (might take a while) ... 80% (4/4) 
proc: starting 3 optional QPKGs (might take a while) ... 100% (3/3) 
done: started 3 optional QPKGs                                            
proc: checking for optional packages to restart ... 
proc: restarting 8 optional QPKGs (might take a while) ... 11% (1/8) 
proc: restarting 7 optional QPKGs (might take a while) ... 13% (1/7) 
proc: restarting 6 optional QPKGs (might take a while) ... 14% (1/6) 
proc: restarting 5 optional QPKGs (might take a while) ... 17% (1/5) 
proc: restarting 4 optional QPKGs (might take a while) ... 20% (1/4) 
proc: restarting 3 optional QPKGs (might take a while) ... 25% (1/3) 
proc: restarting 2 optional QPKGs (might take a while) ... 33% (1/2) 
proc: restarting 1 optional QPKG (might take a while) ... 50% (1/1) 
[/share/CACHEDEV1_DATA/.qpkg/HybridBackup/CloudConnector3] # 
[/share/CACHEDEV1_DATA/.qpkg/HybridBackup/CloudConnector3] # sherpa log
proc: init ... 
   3302 dbug: (>>) QPKG.Restart
   3303 dbug: (WW) unable to restart 'Deluge-server' as it's not installed
   3304 dbug: (<<) QPKG.Restart|2|0|110ms
   3305 proc: restarting 7 optional QPKGs (might take a while) ... 13% (1/7)
   3306 dbug: (>>) QPKG.Restart
   3307 dbug: (WW) unable to restart 'Deluge-web' as it's not installed
   3308 dbug: (<<) QPKG.Restart|2|0|124ms
   3309 proc: restarting 6 optional QPKGs (might take a while) ... 14% (1/6)
   3310 dbug: (>>) QPKG.Restart
   3311 dbug: (WW) unable to restart 'LazyLibrarian' as it's not installed
   3312 dbug: (<<) QPKG.Restart|2|0|123ms
   3313 proc: restarting 5 optional QPKGs (might take a while) ... 17% (1/5)
   3314 dbug: (>>) QPKG.Restart
   3315 dbug: (WW) unable to restart 'Mylar3' as it's not installed
   3316 dbug: (<<) QPKG.Restart|2|0|95ms
   3317 proc: restarting 4 optional QPKGs (might take a while) ... 20% (1/4)
   3318 dbug: (>>) QPKG.Restart
   3319 dbug: (WW) unable to restart 'NZBGet' as it's not installed
   3320 dbug: (<<) QPKG.Restart|2|0|89ms
   3321 proc: restarting 3 optional QPKGs (might take a while) ... 25% (1/3)
   3322 dbug: (>>) QPKG.Restart
   3323 dbug: (WW) unable to restart 'SickChill' as it's not installed
   3324 dbug: (<<) QPKG.Restart|2|0|102ms
   3325 proc: restarting 2 optional QPKGs (might take a while) ... 33% (1/2)
   3326 dbug: (>>) QPKG.Restart
   3327 dbug: (WW) unable to restart 'OSickGear' as it's not installed
   3328 dbug: (<<) QPKG.Restart|2|0|137ms
   3329 proc: restarting 1 optional QPKG (might take a while) ... 50% (1/1)
   3330 dbug: (>>) QPKG.Restart
   3331 dbug: (WW) unable to restart 'OTransmission' as it's not installed
   3332 dbug: (<<) QPKG.Restart|2|0|101ms
   3333 dbug: (<<) Tier.Processor|0|0|1,726ms
   3334 dbug: (>>) QPKGs.States.List
   3335 dbug: (II) ----------------------------------------------------------------------------------------------------
   3336 dbug: (II)      QPKG:         Installed: (7) sherpa,Par2,OMedusa,nzbToMedia,SABnzbd,SortMyQPKGs,Entware
   3337 dbug: (II)      QPKG:      NotInstalled: (11) Deluge-server,Deluge-web,HideThatBanner,LazyLibrarian,Mylar3,NZBGet,RunLast,s    3337 ha3sum,SickChill,OSickGear,OTransmission
   3338 dbug: (II)      QPKG:           Started: (7) sherpa,SortMyQPKGs,Entware,Par2,OMedusa,nzbToMedia,SABnzbd
   3339 dbug: (II)      QPKG:          BackedUp: (3) OMedusa,nzbToMedia,SABnzbd
   3340 dbug: (II) ----------------------------------------------------------------------------------------------------
   3341 dbug: (<<) QPKGs.States.List|0|0|301ms
   3342 dbug: (<<) Tiers.Processor|0|0|00h:04m:27s
   3343 dbug: (II) ----------------------------------------------------------------------------------------------------
   3344 dbug: (**)    SCRIPT:          finished: Sun Mar  7 10:51:36 CET 2021
   3345 dbug: (**)    SCRIPT:      elapsed time: 00h:04m:34s
   3346 dbug: (II) ====================================================================================================
[/share/CACHEDEV1_DATA/.qpkg/HybridBackup/CloudConnector3] # sherpa logcd \
> l
sh: cd: l: No such file or directory
[/share/CACHEDEV1_DATA/.qpkg/HybridBackup/CloudConnector3] # lcd..
sh: cd..: command not found
[/share/CACHEDEV1_DATA/.qpkg/HybridBackup/CloudConnector3] # c..d. ..
[/share/CACHEDEV1_DATA/.qpkg/HybridBackup] # cedd ..
[/share/CACHEDEV1_DATA/.qpkg] # cd .
[/share/CACHEDEV1_DATA/.qpkg] # cdd..
sh: cd..: command not found
[/share/CACHEDEV1_DATA/.qpkg] # cd ..
[/share/CACHEDEV1_DATA] # cd ..
[/share] # cd .... .... lsherpa logreinstall ewlog
proc: init ... 
   3302 dbug: (>>) QPKG.Restart
   3303 dbug: (WW) unable to restart 'Deluge-server' as it's not installed
   3304 dbug: (<<) QPKG.Restart|2|0|110ms
   3305 proc: restarting 7 optional QPKGs (might take a while) ... 13% (1/7)
   3306 dbug: (>>) QPKG.Restart
   3307 dbug: (WW) unable to restart 'Deluge-web' as it's not installed
   3308 dbug: (<<) QPKG.Restart|2|0|124ms
   3309 proc: restarting 6 optional QPKGs (might take a while) ... 14% (1/6)
   3310 dbug: (>>) QPKG.Restart
   3311 dbug: (WW) unable to restart 'LazyLibrarian' as it's not installed
   3312 dbug: (<<) QPKG.Restart|2|0|123ms
   3313 proc: restarting 5 optional QPKGs (might take a while) ... 17% (1/5)
   3314 dbug: (>>) QPKG.Restart
   3315 dbug: (WW) unable to restart 'Mylar3' as it's not installed
   3316 dbug: (<<) QPKG.Restart|2|0|95ms
   3317 proc: restarting 4 optional QPKGs (might take a while) ... 20% (1/4)
   3318 dbug: (>>) QPKG.Restart
   3319 dbug: (WW) unable to restart 'NZBGet' as it's not installed
   3320 dbug: (<<) QPKG.Restart|2|0|89ms
   3321 proc: restarting 3 optional QPKGs (might take a while) ... 25% (1/3)
   3322 dbug: (>>) QPKG.Restart
   3323 dbug: (WW) unable to restart 'SickChill' as it's not installed
   3324 dbug: (<<) QPKG.Restart|2|0|102ms
   3325 proc: restarting 2 optional QPKGs (might take a while) ... 33% (1/2)
   3326 dbug: (>>) QPKG.Restart
   3327 dbug: (WW) unable to restart 'OSickGear' as it's not installed
   3328 dbug: (<<) QPKG.Restart|2|0|137ms
   3329 proc: restarting 1 optional QPKG (might take a while) ... 50% (1/1)
   3330 dbug: (>>) QPKG.Restart
   3331 dbug: (WW) unable to restart 'OTransmission' as it's not installed
   3332 dbug: (<<) QPKG.Restart|2|0|101ms
   3333 dbug: (<<) Tier.Processor|0|0|1,726ms
   3334 dbug: (>>) QPKGs.States.List
   3335 dbug: (II) ----------------------------------------------------------------------------------------------------
   3336 dbug: (II)      QPKG:         Installed: (7) sherpa,Par2,OMedusa,nzbToMedia,SABnzbd,SortMyQPKGs,Entware
   3337 dbug: (II)      QPKG:      NotInstalled: (11) Deluge-server,Deluge-web,HideThatBanner,LazyLibrarian,Mylar3,NZBGet,RunLast,s    3337 ha3sum,SickChill,OSickGear,OTransmission
   3338 dbug: (II)      QPKG:           Started: (7) sherpa,SortMyQPKGs,Entware,Par2,OMedusa,nzbToMedia,SABnzbd
   3339 dbug: (II)      QPKG:          BackedUp: (3) OMedusa,nzbToMedia,SABnzbd
   3340 dbug: (II) ----------------------------------------------------------------------------------------------------
   3341 dbug: (<<) QPKGs.States.List|0|0|301ms
   3342 dbug: (<<) Tiers.Processor|0|0|00h:04m:27s
   3343 dbug: (II) ----------------------------------------------------------------------------------------------------
   3344 dbug: (**)    SCRIPT:          finished: Sun Mar  7 10:51:36 CET 2021
   3345 dbug: (**)    SCRIPT:      elapsed time: 00h:04m:34s
   3346 dbug: (II) ====================================================================================================
 ESCESCOOBB
   3301 proc: restarting 8 optional QPKGs (might take a while) ... 11% (1/8)
   3300 proc: checking for optional packages to restart ...
   3299 dbug: (>>) Tier.Processor
   3298 dbug: (<<) Tier.Processor|0|0|00h:00m:39s
   3297 done: started 3 optional QPKGs
   3296 proc: starting 3 optional QPKGs (might take a while) ... 100% (3/3)
   3295 dbug: (<<) QPKG.Start|2|0|111ms
   3294 dbug: (WW) unable to start 'SortMyQPKGs' as it's already started
   3293 dbug: (>>) QPKG.Start
   3292 proc: starting 4 optional QPKGs (might take a while) ... 80% (4/4)
   3291 dbug: (<<) QPKG.Start|0|0|4,702ms
   3290 eror: 'SABnzbd' service operation failed. Check (/var/log/SABnzbd.log) for more information.
   3289 dbug: (==) started 'SABnzbd'
   3288 dbug: (<<) RunAndLog|0|0|4,119ms
   3287 dbug: (--) exec: '/sbin/qpkg_service start SABnzbd' ...
   3286 dbug: (>>) RunAndLog
   3285 dbug: (--) starting 'SABnzbd' ...
   3284 dbug: (<<) RunAndLog|0|0|173ms
   3283 dbug: (--) exec: '/sbin/qpkg_service enable SABnzbd' ...
   3282 dbug: (>>) RunAndLog
   3281 dbug: (>>) QPKG.Start
   3280 proc: starting 4 optional QPKGs (might take a while) ... 60% (3/4)
   3279 dbug: (<<) QPKG.Start|0|0|2,579ms
   3278 dbug: (II) 'nzbToMedia' service operation completed OK
   3277 dbug: (==) started 'nzbToMedia'
   3276 dbug: (<<) RunAndLog|0|0|2,089ms
   3275 dbug: (--) exec: '/sbin/qpkg_service start nzbToMedia' ...
   3274 dbug: (>>) RunAndLog
   3273 dbug: (--) starting 'nzbToMedia' ...
   3272 dbug: (<<) RunAndLog|0|0|117ms
   3271 dbug: (--) exec: '/sbin/qpkg_service enable nzbToMedia' ...
   3270 dbug: (>>) RunAndLog
   3269 dbug: (>>) QPKG.Start
   3268 proc: starting 4 optional QPKGs (might take a while) ... 40% (2/4)
   3267 dbug: (<<) QPKG.Start|0|0|00h:00m:30s
   3266 dbug: (II) 'OMedusa' service operation completed OK
   3265 dbug: (==) started 'OMedusa'
   3264 dbug: (<<) RunAndLog|0|0|00h:00m:30s
   3263 dbug: (--) exec: '/sbin/qpkg_service start OMedusa' ...
   3262 dbug: (>>) RunAndLog
   3261 dbug: (--) starting 'OMedusa' ...
   3260 dbug: (<<) RunAndLog|0|0|167ms
   3259 dbug: (--) exec: '/sbin/qpkg_service enable OMedusa' ...
   3258 dbug: (>>) RunAndLog
   3257 dbug: (>>) QPKG.Start
   3256 proc: starting 4 optional QPKGs (might take a while) ... 20% (1/4)
   3255 proc: checking for optional packages to start ...
   3254 dbug: (>>) Tier.Processor
   3253 dbug: (<<) Tier.Processor|0|0|99ms
   3252 dbug: (II) no QPKGs to process
   3251 proc: checking for optional packages to restore configuration for ...
   3250 dbug: (>>) Tier.Processor
   3249 dbug: (<<) Tier.Processor|0|0|98ms
   3248 dbug: (II) no QPKGs to process
   3247 proc: checking for optional packages to install ...
   3246 dbug: (>>) Tier.Processor
   3245 dbug: (<<) Tier.Processor|0|0|119ms
   3244 dbug: (II) no QPKGs to process
   3243 proc: checking for optional packages to reinstall ...
   3242 dbug: (>>) Tier.Processor
   3241 dbug: (<<) Tier.Processor|0|0|109ms
   3240 dbug: (II) no QPKGs to process
   3239 proc: checking for optional packages to upgrade ...
   3238 dbug: (>>) Tier.Processor
   3237 dbug: (<<) Tier.Processor|0|0|00h:00m:47s
   3236 dbug: (<<) PIPs.Install|0|0|00h:00m:47s
   3235 warn: installed 2 PIP groups, but 1 PIP group failed
   3234 proc: installing 2 PIP groups (might take a while) ... 100% (1/2)
   3233 dbug: (==) downloaded & installed 'Python3 feedparser' module
   3232 dbug: (<<) RunAndLog|0|0|8,039ms
   3231 .qpkg/sherpa/cache/pips' ...
   3231 dbug: (--) exec: '/opt/bin/pip3 install --upgrade feedparser --disable-pip-version-check --cache-dir /share/CACHEDEV1_DATA/
   3230 dbug: (>>) RunAndLog
   3229 dbug: (--) downloading & installing 'Python3 feedparser' module ...
   3228 proc: installing 2 PIP groups (might take a while) ... 67% (2/2)
   3227 dbug: (==) downloaded & installed 'Python3 sabyenc3' module
   3226 dbug: (<<) RunAndLog|0|0|9,120ms
   3225 on-check --cache-dir /share/CACHEDEV1_DATA/.qpkg/sherpa/cache/pips' ...
   3225 dbug: (--) exec: '/opt/bin/pip3 install --force-reinstall --ignore-installed --no-binary :all: sabyenc3 --disable-pip-versi
   3224 dbug: (>>) RunAndLog
   3223 dbug: (--) downloading & installing 'Python3 sabyenc3' module ...
   3222 proc: installing 2 PIP groups (might take a while) ... 33% (1/2)
   3221 dbug: (vv) $_script_error_flag_ : 'true'
   3220 eror: Download & install 'Python3' modules failed ! result_code: [1].
   3219 dbug: (<<) RunAndLog|1|0|28,387ms
   3218 dbug: (LL) ----------------------------------------------------------------------------------------------------
   3217 dbug: (LL) = ***** stdout/stderr is complete *****
   3216 ion failed or bad record mac (_ssl.c:2621)
   3216 dbug: (LL) ERROR: Could not install packages due to an EnvironmentError: [SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC] decrypt
   3215 dbug: (LL) Downloading random_user_agent-1.0.1-py3-none-any.whl (8.2 MB)
   3214 dbug: (LL) Collecting random_user_agent
   3213 dbug: (LL) Downloading python_magic-0.4.22-py2.py3-none-any.whl (12 kB)
   3212 dbug: (LL) Collecting python-magic
   3211 dbug: (LL) Downloading python-Levenshtein-0.12.2.tar.gz (50 kB)
   3210 dbug: (LL) Collecting python-levenshtein
   3209 dbug: (LL) Downloading pyOpenSSL-20.0.1-py2.py3-none-any.whl (54 kB)
   3208 dbug: (LL) Collecting pyopenssl
   3207 dbug: (LL) Downloading PyGithub-1.54.1-py3-none-any.whl (289 kB)
   3206 dbug: (LL) Collecting pygithub
   3205 dbug: (LL) Downloading portend-2.7.1-py3-none-any.whl (5.3 kB)
   3204 dbug: (LL) Collecting portend
[/share] # sherpa paste
proc: init ... 
sherpa 210304  a mini-package-manager for QNAP NAS
[/share] # sherpa pastelog
proc: init ... 
   3327 dbug: (WW) unable to restart 'OSickGear' as it's not installed
   3328 dbug: (<<) QPKG.Restart|2|0|137ms
   3329 proc: restarting 1 optional QPKG (might take a while) ... 50% (1/1)
   3330 dbug: (>>) QPKG.Restart
   3331 dbug: (WW) unable to restart 'OTransmission' as it's not installed
   3332 dbug: (<<) QPKG.Restart|2|0|101ms
   3333 dbug: (<<) Tier.Processor|0|0|1,726ms
   3334 dbug: (>>) QPKGs.States.List
   3335 dbug: (II) ----------------------------------------------------------------------------------------------------
   3336 dbug: (II)      QPKG:         Installed: (7) sherpa,Par2,OMedusa,nzbToMedia,SABnzbd,SortMyQPKGs,Entware
   3337 dbug: (II)      QPKG:      NotInstalled: (11) Deluge-server,Deluge-web,HideThatBanner,LazyLibrarian,Mylar3,NZBGet,RunLast,s    3337 ha3sum,SickChill,OSickGear,OTransmission
   3338 dbug: (II)      QPKG:           Started: (7) sherpa,SortMyQPKGs,Entware,Par2,OMedusa,nzbToMedia,SABnzbd
   3339 dbug: (II)      QPKG:          BackedUp: (3) OMedusa,nzbToMedia,SABnzbd
   3340 dbug: (II) ----------------------------------------------------------------------------------------------------
   3341 dbug: (<<) QPKGs.States.List|0|0|301ms
   3342 dbug: (<<) Tiers.Processor|0|0|00h:04m:27s
   3343 dbug: (II) ----------------------------------------------------------------------------------------------------
   3344 dbug: (**)    SCRIPT:          finished: Sun Mar  7 10:51:36 CET 2021
   3345 dbug: (**)    SCRIPT:      elapsed time: 00h:04m:34s
   3346 dbug: (II) ====================================================================================================
   3347 proc: init ...
   3348 dbug: (vv) $_obj_session_debug_tofile_flag_ : 'true'
   3349 dbug: (II) ====================================================================================================
   3350 dbug: (**)    SCRIPT:           started: Sun Mar 7 10:56:38 CET 2021
   3351 dbug: (**)    SCRIPT:           version: package: 210129, manager: 210304, loader: 200923
   3352 dbug: (**)    SCRIPT:               PID: 13350
   3353 dbug: (II) ----------------------------------------------------------------------------------------------------
   3354 dbug: (II) Markers: (**) detected, (II) information, (WW) warning, (EE) error, (LL) log file, (--) processing,
   3355 dbug: (II) (==) done, (>>) f entry, (<<) f exit, (vv) variable name & value, ($1) positional argument value
   3356 dbug: (II) ----------------------------------------------------------------------------------------------------
   3357 dbug: (vv) $_obj_session_summary_flag_ : 'true'
   3358 dbug: (**)      QPKG: Entware installer: std
   3359 dbug: (**)      QPKG:              arch: x41
   3360 dbug: (>>) ParseArguments
   3361 dbug: (vv) $USER_ARGS_RAW : 'paste'
   3362 dbug: (<<) ParseArguments|0|0|94ms
   3363 dbug: (<<) Session.Init|0|0|1,209ms
   3364 dbug: (>>) Session.Validate
   3365 dbug: (>>) ArgumentSuggestions
   3366 dbug: (<<) ArgumentSuggestions|0|0|32ms
   3367 dbug: (<<) Session.Validate|1|0|90ms
   3368 dbug: (II) ----------------------------------------------------------------------------------------------------
   3369 dbug: (**)    SCRIPT:          finished: Sun Mar  7 10:56:39 CET 2021
   3370 dbug: (**)    SCRIPT:      elapsed time: 00h:00m:01s
   3371 dbug: (II) ====================================================================================================
 ESCESCOOBB
 ESCESCOOBB
   3326 dbug: (>>) QPKG.Restart
   3325 proc: restarting 2 optional QPKGs (might take a while) ... 33% (1/2)
   3324 dbug: (<<) QPKG.Restart|2|0|102ms
   3323 dbug: (WW) unable to restart 'SickChill' as it's not installed
   3322 dbug: (>>) QPKG.Restart
   3321 proc: restarting 3 optional QPKGs (might take a while) ... 25% (1/3)
   3320 dbug: (<<) QPKG.Restart|2|0|89ms
   3319 dbug: (WW) unable to restart 'NZBGet' as it's not installed
   3318 dbug: (>>) QPKG.Restart
   3317 proc: restarting 4 optional QPKGs (might take a while) ... 20% (1/4)
   3316 dbug: (<<) QPKG.Restart|2|0|95ms
   3315 dbug: (WW) unable to restart 'Mylar3' as it's not installed
   3314 dbug: (>>) QPKG.Restart
   3313 proc: restarting 5 optional QPKGs (might take a while) ... 17% (1/5)
   3312 dbug: (<<) QPKG.Restart|2|0|123ms
   3311 dbug: (WW) unable to restart 'LazyLibrarian' as it's not installed
   3310 dbug: (>>) QPKG.Restart
   3309 proc: restarting 6 optional QPKGs (might take a while) ... 14% (1/6)
   3308 dbug: (<<) QPKG.Restart|2|0|124ms
   3307 dbug: (WW) unable to restart 'Deluge-web' as it's not installed
   3306 dbug: (>>) QPKG.Restart
   3305 proc: restarting 7 optional QPKGs (might take a while) ... 13% (1/7)
   3304 dbug: (<<) QPKG.Restart|2|0|110ms
   3303 dbug: (WW) unable to restart 'Deluge-server' as it's not installed
   3302 dbug: (>>) QPKG.Restart
   3301 proc: restarting 8 optional QPKGs (might take a while) ... 11% (1/8)
   3300 proc: checking for optional packages to restart ...
   3299 dbug: (>>) Tier.Processor
   3298 dbug: (<<) Tier.Processor|0|0|00h:00m:39s
   3297 done: started 3 optional QPKGs
   3296 proc: starting 3 optional QPKGs (might take a while) ... 100% (3/3)
   3295 dbug: (<<) QPKG.Start|2|0|111ms
   3294 dbug: (WW) unable to start 'SortMyQPKGs' as it's already started
   3293 dbug: (>>) QPKG.Start
   3292 proc: starting 4 optional QPKGs (might take a while) ... 80% (4/4)
   3291 dbug: (<<) QPKG.Start|0|0|4,702ms
   3290 eror: 'SABnzbd' service operation failed. Check (/var/log/SABnzbd.log) for more information.
   3289 dbug: (==) started 'SABnzbd'
   3288 dbug: (<<) RunAndLog|0|0|4,119ms
   3287 dbug: (--) exec: '/sbin/qpkg_service start SABnzbd' ...
   3286 dbug: (>>) RunAndLog
   3285 dbug: (--) starting 'SABnzbd' ...
   3284 dbug: (<<) RunAndLog|0|0|173ms
   3283 dbug: (--) exec: '/sbin/qpkg_service enable SABnzbd' ...
   3282 dbug: (>>) RunAndLog
   3281 dbug: (>>) QPKG.Start
   3280 proc: starting 4 optional QPKGs (might take a while) ... 60% (3/4)
   3279 dbug: (<<) QPKG.Start|0|0|2,579ms
   3278 dbug: (II) 'nzbToMedia' service operation completed OK
   3277 dbug: (==) started 'nzbToMedia'
   3276 dbug: (<<) RunAndLog|0|0|2,089ms
   3275 dbug: (--) exec: '/sbin/qpkg_service start nzbToMedia' ...
   3274 dbug: (>>) RunAndLog
   3273 dbug: (--) starting 'nzbToMedia' ...
   3272 dbug: (<<) RunAndLog|0|0|117ms
   3271 dbug: (--) exec: '/sbin/qpkg_service enable nzbToMedia' ...
   3270 dbug: (>>) RunAndLog
   3269 dbug: (>>) QPKG.Start
   3268 proc: starting 4 optional QPKGs (might take a while) ... 40% (2/4)
   3267 dbug: (<<) QPKG.Start|0|0|00h:00m:30s
   3266 dbug: (II) 'OMedusa' service operation completed OK
   3265 dbug: (==) started 'OMedusa'
   3264 dbug: (<<) RunAndLog|0|0|00h:00m:30s
   3263 dbug: (--) exec: '/sbin/qpkg_service start OMedusa' ...
   3262 dbug: (>>) RunAndLog
   3261 dbug: (--) starting 'OMedusa' ...
   3260 dbug: (<<) RunAndLog|0|0|167ms
   3259 dbug: (--) exec: '/sbin/qpkg_service enable OMedusa' ...
   3258 dbug: (>>) RunAndLog
   3257 dbug: (>>) QPKG.Start
   3256 proc: starting 4 optional QPKGs (might take a while) ... 20% (1/4)
   3255 proc: checking for optional packages to start ...
   3254 dbug: (>>) Tier.Processor
   3253 dbug: (<<) Tier.Processor|0|0|99ms
   3252 dbug: (II) no QPKGs to process
   3251 proc: checking for optional packages to restore configuration for ...
   3250 dbug: (>>) Tier.Processor
   3249 dbug: (<<) Tier.Processor|0|0|98ms
   3248 dbug: (II) no QPKGs to process
   3247 proc: checking for optional packages to install ...
   3246 dbug: (>>) Tier.Processor
   3245 dbug: (<<) Tier.Processor|0|0|119ms
   3244 dbug: (II) no QPKGs to process
   3243 proc: checking for optional packages to reinstall ...
   3242 dbug: (>>) Tier.Processor
   3241 dbug: (<<) Tier.Processor|0|0|109ms
   3240 dbug: (II) no QPKGs to process
   3239 proc: checking for optional packages to upgrade ...
   3238 dbug: (>>) Tier.Processor
   3237 dbug: (<<) Tier.Processor|0|0|00h:00m:47s
   3236 dbug: (<<) PIPs.Install|0|0|00h:00m:47s
   3235 warn: installed 2 PIP groups, but 1 PIP group failed
   3234 proc: installing 2 PIP groups (might take a while) ... 100% (1/2)
   3233 dbug: (==) downloaded & installed 'Python3 feedparser' module
   3232 dbug: (<<) RunAndLog|0|0|8,039ms
   3231 .qpkg/sherpa/cache/pips' ...
   3231 dbug: (--) exec: '/opt/bin/pip3 install --upgrade feedparser --disable-pip-version-check --cache-dir /share/CACHEDEV1_DATA/
   3230 dbug: (>>) RunAndLog
   3229 dbug: (--) downloading & installing 'Python3 feedparser' module ...
   3228 proc: installing 2 PIP groups (might take a while) ... 67% (2/2)
   3227 dbug: (==) downloaded & installed 'Python3 sabyenc3' module
   3226 dbug: (<<) RunAndLog|0|0|9,120ms
   3225 on-check --cache-dir /share/CACHEDEV1_DATA/.qpkg/sherpa/cache/pips' ...
   3225 dbug: (--) exec: '/opt/bin/pip3 install --force-reinstall --ignore-installed --no-binary :all: sabyenc3 --disable-pip-versi
   3224 dbug: (>>) RunAndLog
   3223 dbug: (--) downloading & installing 'Python3 sabyenc3' module ...
   3222 proc: installing 2 PIP groups (might take a while) ... 33% (1/2)
   3221 dbug: (vv) $_script_error_flag_ : 'true'
   3220 eror: Download & install 'Python3' modules failed ! result_code: [1].
   3219 dbug: (<<) RunAndLog|1|0|28,387ms
   3218 dbug: (LL) ----------------------------------------------------------------------------------------------------
   3217 dbug: (LL) = ***** stdout/stderr is complete *****
   3216 ion failed or bad record mac (_ssl.c:2621)
   3216 dbug: (LL) ERROR: Could not install packages due to an EnvironmentError: [SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC] decrypt
   3215 dbug: (LL) Downloading random_user_agent-1.0.1-py3-none-any.whl (8.2 MB)
   3214 dbug: (LL) Collecting random_user_agent
   3213 dbug: (LL) Downloading python_magic-0.4.22-py2.py3-none-any.whl (12 kB)
   3212 dbug: (LL) Collecting python-magic
   3211 dbug: (LL) Downloading python-Levenshtein-0.12.2.tar.gz (50 kB)
   3210 dbug: (LL) Collecting python-levenshtein
   3209 dbug: (LL) Downloading pyOpenSSL-20.0.1-py2.py3-none-any.whl (54 kB)
   3208 dbug: (LL) Collecting pyopenssl
   3207 dbug: (LL) Downloading PyGithub-1.54.1-py3-none-any.whl (289 kB)
   3206 dbug: (LL) Collecting pygithub
   3205 dbug: (LL) Downloading portend-2.7.1-py3-none-any.whl (5.3 kB)
   3204 dbug: (LL) Collecting portend
   3203 dbug: (LL) Downloading feedparser-6.0.2-py3-none-any.whl (80 kB)
   3202 dbug: (LL) Collecting feedparser
   3201 dbug: (LL) Downloading configobj-5.0.6.tar.gz (33 kB)
   3200 dbug: (LL) Collecting configobj
   3199 dbug: (LL) Downloading CherryPy-18.6.0-py2.py3-none-any.whl (419 kB)
   3198 dbug: (LL) Collecting cherrypy
   3197 dbug: (LL) Downloading cheroot-8.5.2-py2.py3-none-any.whl (97 kB)
   3196 dbug: (LL) Collecting cheroot!=8.4.4
   3195 dbug: (LL) Downloading Cheetah3-3.2.6.post1.tar.gz (295 kB)
   3194 dbug: (LL) Collecting cheetah3
   3193 dbug: (LL) Downloading cfscrape-2.1.1-py3-none-any.whl (12 kB)
   3192 dbug: (LL) Collecting cfscrape
   3191 dbug: (LL) Downloading beautifulsoup4-4.9.3-py3-none-any.whl (115 kB)
   3190 dbug: (LL) Collecting beautifulsoup4
   3189 dbug: (LL) Downloading APScheduler-3.7.0-py2.py3-none-any.whl (59 kB)
   3188 dbug: (LL) Collecting apscheduler
   3187 dbug: (LL) Downloading apprise-0.9.1-py2.py3-none-any.whl (969 kB)
   3186 dbug: (LL) Collecting apprise
   3185 dbug: (LL) ! result_code: [1] ***** stdout/stderr begins below *****
   3184 y --disable-pip-version-check --cache-dir /share/CACHEDEV1_DATA/.qpkg/sherpa/cache/pips'
   3184 onfigobj feedparser portend pygithub pyopenssl python-levenshtein python-magic random_user_agent sabyenc3 simplejson slugif
   3184 dbug: (LL) = command: '/opt/bin/pip3 install apprise apscheduler beautifulsoup4 cfscrape cheetah3 cheroot!=8.4.4 cherrypy c
   3183 dbug: (LL) = log file: '/share/CACHEDEV1_DATA/.qpkg/sherpa/logs/py3-modules.assorted.install.log'
   3182 dbug: (LL) adding external log to main log ...
   3181 dbug: (LL) ----------------------------------------------------------------------------------------------------
   3180 isable-pip-version-check --cache-dir /share/CACHEDEV1_DATA/.qpkg/sherpa/cache/pips' ...
   3180 obj feedparser portend pygithub pyopenssl python-levenshtein python-magic random_user_agent sabyenc3 simplejson slugify --d
   3180 dbug: (--) exec: '/opt/bin/pip3 install apprise apscheduler beautifulsoup4 cfscrape cheetah3 cheroot!=8.4.4 cherrypy config
   3179 dbug: (>>) RunAndLog
   3178 dbug: (--) downloading & installing 'Python3' modules ...
   3177 proc: installing 1 PIP group (might take a while) ... 50% (1/1)
   3176 dbug: (>>) PIPs.Install
   3175 proc: checking for addon packages to install ...
   3174 dbug: (>>) Tier.Processor
   3173 dbug: (<<) Tier.Processor|0|0|00h:01m:47s
   3172 dbug: (<<) IPKGs.Install|0|0|00h:01m:47s
   3171 dbug: (<<) IPKGs.Install.Batch|0|0|00h:01m:46s
   3170 done: downloaded & installed 81 IPKGs
   3169 dbug: (<<) RunAndLog|0|0|00h:01m:40s
   3168 loads' ...
   3168 r zlib --cache /share/CACHEDEV1_DATA/.qpkg/sherpa/cache/ipkgs --tmp-dir /share/CACHEDEV1_DATA/.qpkg/sherpa/cache/ipkgs.down
   3168 cparser python3-pydoc python3-setuptools python3-six python3-sqlite3 python3-unittest python3-urllib python3-xml shine unra
   3168 thon3-lzma python3-multiprocessing python3-ncurses python3-openssl python3-pip python3-pkg-resources python3-ply python3-py
   3168 m python3-decimal python3-dev python3-distutils python3-email python3-gdbm python3-lib2to3 python3-light python3-logging py
   3168 3-base python3-cffi python3-cgi python3-cgitb python3-chardet python3-codecs python3-cryptography python3-ctypes python3-db
   3168 irpc libuuid libx264 libxml2 mediainfo nano objdump p7zip python-pip-conf python3 python3-asn1crypto python3-asyncio python
   3168 ibgdbm libgmp libgnutls libiconv-full libintl-full liblzma libmagic libnettle libopcodes libopenssl libopus libsqlite3 libt
   3168 s-nice ffprobe file gcc git git-http ionice libatomic libbfd libbz2 libctf libcurl libdb47 libexpat libffi libffmpeg-full l
   3168 dbug: (--) exec: '/opt/bin/opkg install --force-overwrite alsa-lib ar binutils ca-bundle ca-certificates coreutils coreutil
   3167 dbug: (>>) RunAndLog
   3166 proc: downloading & installing 81 IPKGs ...
   3165 dbug: (<<) CalcAllIPKGDepsToInstall|0|0|3,039ms
   3164 dbug: (==) 104,376,328 bytes (104MB) to download
   3163 dbug: (--) calculating size of IPKGs to download ...
   3162 thon3-setuptools python3-six python3-sqlite3 python3-unittest python3-urllib python3-xml shine unrar zlib'
   3162 processing python3-ncurses python3-openssl python3-pip python3-pkg-resources python3-ply python3-pycparser python3-pydoc py
   3162 3-dev python3-distutils python3-email python3-gdbm python3-lib2to3 python3-light python3-logging python3-lzma python3-multi
   3162 on3-cgi python3-cgitb python3-chardet python3-codecs python3-cryptography python3-ctypes python3-dbm python3-decimal python
   3162 xml2 mediainfo nano objdump p7zip python-pip-conf python3 python3-asn1crypto python3-asyncio python3-base python3-cffi pyth
   3162 libiconv-full libintl-full liblzma libmagic libnettle libopcodes libopenssl libopus libsqlite3 libtirpc libuuid libx264 lib
   3162 git git-http ionice libatomic libbfd libbz2 libctf libcurl libdb47 libexpat libffi libffmpeg-full libgdbm libgmp libgnutls 
   3162 dbug: (==) 81 IPKGs to download: 'alsa-lib ar binutils ca-bundle ca-certificates coreutils coreutils-nice ffprobe file gcc 
   3161 dbug: (--) excluding IPKGs already installed ...
   3160 3-six python3-sqlite3 python3-unittest python3-urllib python3-xml shine terminfo unrar zlib' 
   3160 ses python3-openssl python3-pip python3-pkg-resources python3-ply python3-pycparser python3-pydoc python3-setuptools python
   3160  python3-email python3-gdbm python3-lib2to3 python3-light python3-logging python3-lzma python3-multiprocessing python3-ncur
   3160 ython3-chardet python3-codecs python3-cryptography python3-ctypes python3-dbm python3-decimal python3-dev python3-distutils
   3160 dump p7zip python-pip-conf python3 python3-asn1crypto python3-asyncio python3-base python3-cffi python3-cgi python3-cgitb p
   3160 opcodes libopenssl libopus libpthread librt libsqlite3 libssp libstdcpp libtirpc libuuid libx264 libxml2 mediainfo nano obj
   3160 fmpeg-full libgcc libgdbm libgmp libgnutls libiconv-full libintl-full liblzma libmagic libncurses libncursesw libnettle lib
   3160 oreutils-nice ffprobe file gcc git git-http ionice libatomic libbfd libbz2 libc libctf libcurl libdb47 libexpat libffi libf
   3160 dbug: (II) 91 IPKGs required (including dependencies): 'alsa-lib ar binutils ca-bundle ca-certificates ca-certs coreutils c
   3159 dbug: (==) complete in 13 iterations
   3158 -asn1crypto python3-chardet python3-cryptography python3-dev python3-pip python3-setuptools unrar' 
   3158 dbug: (II) 17 IPKGs requested: 'ca-certificates coreutils-nice ffprobe gcc git git-http ionice mediainfo nano p7zip python3
   3157 proc: calculating IPKG dependencies ...
   3156 dbug: (<<) RunAndLog|0|0|614ms
   3155 dbug: (--) exec: '/usr/local/sbin/7z e -o/share/CACHEDEV1_DATA/.qpkg/sherpa/cache /opt/var/opkg-lists/entware' ...
   3154 dbug: (>>) RunAndLog
   3153 dbug: (>>) CalcAllIPKGDepsToInstall
   3152 dbug: (>>) IPKGs.Install.Batch
   3151 dbug: (<<) IPKGs.Upgrade.Batch|0|0|213ms
   3150 dbug: (>>) IPKGs.Upgrade.Batch
   3149 dbug: (>>) IPKGs.Install
   3148 dbug: (II) 'Entware' package list updated less-than 60 minutes ago: skipping update
   3147 proc: checking for addon packages to install ...
   3146 dbug: (>>) Tier.Processor
   3145 dbug: (vv) $_obj_ipkgs_install_flag_ : 'true'
   3144 dbug: (<<) Tier.Processor|0|0|181ms
   3143 dbug: (II) no essential QPKGs to process
   3142 proc: checking for essential packages to restart ...
   3141 dbug: (>>) Tier.Processor
   3140 dbug: (<<) Tier.Processor|0|0|3,335ms
   3139 done: started 1 essential QPKG
   3138 proc: starting 1 essential QPKG (might take a while) ... 100% (1/1)
   3137 dbug: (<<) QPKG.Start|0|0|1,629ms
   3136 oesn't support service results.
   3136 dbug: (WW) unable to get status of 'Par2' service. It may be a non-sherpa package, or a package earlier than 200816c that d
   3135 dbug: (==) started 'Par2'
   3134 dbug: (<<) RunAndLog|0|0|1,163ms
   3133 dbug: (--) exec: '/sbin/qpkg_service start Par2' ...
   3132 dbug: (>>) RunAndLog
   3131 dbug: (--) starting 'Par2' ...
   3130 dbug: (<<) RunAndLog|0|0|104ms
   3129 dbug: (--) exec: '/sbin/qpkg_service enable Par2' ...
   3128 dbug: (>>) RunAndLog
   3127 dbug: (>>) QPKG.Start
   3126 proc: starting 1 essential QPKG (might take a while) ... 50% (1/1)
   3125 dbug: (<<) QPKG.Start|2|0|202ms
   3124 dbug: (WW) unable to start 'Entware' as it's already started
   3123 dbug: (>>) QPKG.Start
   3122 proc: starting 2 essential QPKGs (might take a while) ... 33% (1/2)
   3121 proc: checking for essential packages to start ...
   3120 dbug: (>>) Tier.Processor
   3119 dbug: (<<) Tier.Processor|0|0|103ms
   3118 dbug: (II) no QPKGs to process
   3117 proc: checking for essential packages to restore configuration for ...
   3116 dbug: (>>) Tier.Processor
   3115 dbug: (<<) Tier.Processor|0|0|27,591ms
   3114 done: installed 1 essential QPKG
   3113 proc: installing 1 essential QPKG (might take a while) ... 100% (1/1)
   3112 dbug: (<<) QPKG.Install|2|0|85ms
   3111 dbug: (WW) unable to install 'Par2' as it's already installed. Use 'reinstall' instead.
   3110 dbug: (>>) QPKG.Install
   3109 proc: installing 2 essential QPKGs (might take a while) ... 67% (2/2)
   3108 dbug: (<<) QPKG.Install|0|0|26,165ms
   3107 dbug: (vv) $_obj_pips_install_flag_ : 'true'
   3106 done: installed essential IPKGs
   3105 dbug: (<<) RunAndLog|0|0|1,692ms
   3104 a/cache/ipkgs --tmp-dir /share/CACHEDEV1_DATA/.qpkg/sherpa/cache/ipkgs.downloads' ...
   3104 dbug: (--) exec: '/opt/bin/opkg install --force-overwrite findutils grep less sed --cache /share/CACHEDEV1_DATA/.qpkg/sherp
   3103 dbug: (>>) RunAndLog
   3102 proc: installing essential IPKGs ...
   3101 dbug: (==) patch: do the "opt shuffle"
   3100 _DATA/.qpkg/HybridBackup/CloudConnector3/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin/X11:/usr/local/sbin:/usr/local/bin'
   3100 dbug: (vv) $PATH : '/opt/bin:/opt/sbin:/share/CACHEDEV1_DATA/.qpkg/HybridBackup/CloudConnector3/python/bin:/share/CACHEDEV1
   3099 dbug: (==) prepended $PATH to Entware
   3098 t doesn't support service results.
   3098 dbug: (WW) unable to get status of 'Entware' service. It may be a non-sherpa package, or a package earlier than 200816c tha
   3097 dbug: (==) installed 'Entware'
   3096 dbug: (<<) RunAndLog|10|0|23,755ms
   3095 dbug: (--) exec: '/bin/sh /share/CACHEDEV1_DATA/.qpkg/sherpa/cache/qpkgs/Entware_1.03std.qpkg' ...
   3094 dbug: (>>) RunAndLog
   3093 dbug: (--) installing 'Entware' ...
   3092 dbug: (>>) QPKG.Install
   3091 proc: installing 2 essential QPKGs (might take a while) ... 33% (1/2)
   3090 proc: checking for essential packages to install ...
   3089 dbug: (>>) Tier.Processor
   3088 dbug: (<<) Tier.Processor|0|0|137ms
   3087 dbug: (II) no QPKGs to process
   3086 proc: checking for essential packages to reinstall ...
   3085 dbug: (>>) Tier.Processor
   3084 dbug: (<<) Tier.Processor|0|0|74ms
   3083 dbug: (II) no QPKGs to process
   3082 proc: checking for essential packages to upgrade ...
   3081 dbug: (>>) Tier.Processor
   3080 dbug: (<<) Tier.Processor|0|0|16,593ms
   3079 done: uninstalled 1 essential QPKG
   3078 proc: uninstalling 1 essential QPKG ... 100% (1/1)
   3077 dbug: (<<) QPKG.Uninstall|0|0|15,194ms
   3076 ackup/CloudConnector3/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin/X11:/usr/local/sbin:/usr/local/bin'
   3076 dbug: (vv) $PATH : '/share/CACHEDEV1_DATA/.qpkg/HybridBackup/CloudConnector3/python/bin:/share/CACHEDEV1_DATA/.qpkg/HybridB
   3075 dbug: (==) removed $PATH to Entware
   3074 dbug: (==) removed icon information from App Center
   3073 dbug: (==) uninstalled 'Entware'
   3072 dbug: (<<) RunAndLog|0|0|10,613ms
   3071 dbug: (--) exec: '/bin/sh /share/CACHEDEV1_DATA/.qpkg/Entware/.uninstall.sh' ...
   3070 dbug: (>>) RunAndLog
   3069 dbug: (--) uninstalling 'Entware' ...
   3068 dbug: (==) saved current 'Entware' IPKG list to (/share/CACHEDEV1_DATA/.qpkg/sherpa/cache/opkg.prev.installed.list)
   3067 dbug: (==) saved current 'pip3' module list to (/share/CACHEDEV1_DATA/.qpkg/sherpa/cache/pip.prev.installed.list)
   3066 dbug: (>>) QPKG.Uninstall
   3065 proc: uninstalling 1 essential QPKG ... 50% (1/1)
   3064 proc: checking for essential packages to uninstall ...
   3063 dbug: (>>) Tier.Processor
   3062 dbug: (<<) IPKGs.Uninstall|0|0|1,371ms
   3061 dbug: (<<) IPKGs.Uninstall.Batch|0|0|336ms
   3060 dbug: (<<) CalcAllIPKGDepsToUninstall|0|0|247ms
   3059 dbug: (==) no IPKGs to uninstall
   3058 dbug: (--) excluding IPKGs not installed ...
   3057 dbug: (II)       1 IPKG requested: 'par2cmdline' 
   3056 dbug: (>>) CalcAllIPKGDepsToUninstall
   3055 dbug: (>>) IPKGs.Uninstall.Batch
   3054 dbug: (>>) IPKGs.Uninstall
   3053 proc: checking for addon packages to uninstall ...
   3052 dbug: (<<) Tier.Processor|0|0|110ms
   3051 dbug: (II) no optional QPKGs to process
   3050 proc: checking for optional packages to uninstall ...
   3049 dbug: (>>) Tier.Processor
   3048 dbug: (<<) Tier.Processor|0|0|2,795ms
   3047 done: stopped 1 essential QPKG
   3046 proc: stopping 1 essential QPKG ... 100% (1/1)
   3045 dbug: (<<) QPKG.Stop|0|0|1,536ms
   3044 oesn't support service results.
   3044 dbug: (WW) unable to get status of 'Par2' service. It may be a non-sherpa package, or a package earlier than 200816c that d
   3043 dbug: (==) stopped 'Par2'
   3042 dbug: (<<) RunAndLog|0|0|99ms
   3041 dbug: (--) exec: '/sbin/qpkg_service disable Par2' ...
   3040 dbug: (>>) RunAndLog
   3039 dbug: (<<) RunAndLog|0|0|1,116ms
   3038 dbug: (--) exec: '/sbin/qpkg_service stop Par2' ...
   3037 dbug: (>>) RunAndLog
   3036 dbug: (--) stopping 'Par2' ...
   3035 dbug: (>>) QPKG.Stop
   3034 proc: stopping 1 essential QPKG ... 50% (1/1)
   3033 proc: checking for essential packages to stop ...
   3032 dbug: (>>) Tier.Processor
   3031 dbug: (<<) Tier.Processor|0|0|15,006ms
   3030 done: stopped 3 optional QPKGs
   3029 proc: stopping 3 optional QPKGs ... 100% (3/3)
   3028 dbug: (<<) QPKG.Stop|2|0|113ms
   3027 dbug: (WW) unable to stop 'Deluge-server' as it's not installed
   3026 dbug: (>>) QPKG.Stop
   3025 proc: stopping 4 optional QPKGs ... 80% (4/4)
   3024 dbug: (<<) QPKG.Stop|2|0|122ms
   3023 dbug: (WW) unable to stop 'Deluge-web' as it's not installed
   3022 dbug: (>>) QPKG.Stop
   3021 proc: stopping 5 optional QPKGs ... 67% (4/5)
   3020 dbug: (<<) QPKG.Stop|2|0|116ms
   3019 dbug: (WW) unable to stop 'LazyLibrarian' as it's not installed
   3018 dbug: (>>) QPKG.Stop
   3017 proc: stopping 6 optional QPKGs ... 57% (4/6)
   3016 dbug: (<<) QPKG.Stop|0|0|7,583ms
   3015 dbug: (II) 'OMedusa' service operation completed OK
   3014 dbug: (==) stopped 'OMedusa'
   3013 dbug: (<<) RunAndLog|0|0|113ms
   3012 dbug: (--) exec: '/sbin/qpkg_service disable OMedusa' ...
   3011 dbug: (>>) RunAndLog
   3010 dbug: (<<) RunAndLog|0|0|7,117ms
   3009 dbug: (--) exec: '/sbin/qpkg_service stop OMedusa' ...
   3008 dbug: (>>) RunAndLog
   3007 dbug: (--) stopping 'OMedusa' ...
   3006 dbug: (>>) QPKG.Stop
   3005 proc: stopping 6 optional QPKGs ... 43% (3/6)
   3004 dbug: (<<) QPKG.Stop|2|0|103ms
   3003 dbug: (WW) unable to stop 'Mylar3' as it's not installed
   3002 dbug: (>>) QPKG.Stop
   3001 proc: stopping 7 optional QPKGs ... 38% (3/7)
   3000 dbug: (<<) QPKG.Stop|2|0|106ms
   2999 dbug: (WW) unable to stop 'NZBGet' as it's not installed
   2998 dbug: (>>) QPKG.Stop
   2997 proc: stopping 8 optional QPKGs ... 33% (3/8)
   2996 dbug: (<<) QPKG.Stop|0|0|1,657ms
   2995 dbug: (II) 'nzbToMedia' service operation completed OK
   2994 dbug: (==) stopped 'nzbToMedia'
   2993 dbug: (<<) RunAndLog|0|0|86ms
   2992 dbug: (--) exec: '/sbin/qpkg_service disable nzbToMedia' ...
   2991 dbug: (>>) RunAndLog
   2990 dbug: (<<) RunAndLog|0|0|1,170ms
   2989 dbug: (--) exec: '/sbin/qpkg_service stop nzbToMedia' ...
   2988 dbug: (>>) RunAndLog
   2987 dbug: (--) stopping 'nzbToMedia' ...
   2986 dbug: (>>) QPKG.Stop
   2985 proc: stopping 8 optional QPKGs ... 22% (2/8)
   2984 dbug: (<<) QPKG.Stop|0|0|2,610ms
   2983 dbug: (II) 'SABnzbd' service operation completed OK
   2982 dbug: (==) stopped 'SABnzbd'
   2981 dbug: (<<) RunAndLog|0|0|110ms
   2980 dbug: (--) exec: '/sbin/qpkg_service disable SABnzbd' ...
   2979 dbug: (>>) RunAndLog
   2978 dbug: (<<) RunAndLog|0|0|2,103ms
   2977 dbug: (--) exec: '/sbin/qpkg_service stop SABnzbd' ...
   2976 dbug: (>>) RunAndLog
   2975 dbug: (--) stopping 'SABnzbd' ...
   2974 dbug: (>>) QPKG.Stop
   2973 proc: stopping 8 optional QPKGs ... 11% (1/8)
   2972 dbug: (<<) QPKG.Stop|2|0|105ms
   2971 dbug: (WW) unable to stop 'SickChill' as it's not installed
   2970 dbug: (>>) QPKG.Stop
   2969 proc: stopping 9 optional QPKGs ... 10% (1/9)
   2968 dbug: (<<) QPKG.Stop|2|0|113ms
   2967 dbug: (WW) unable to stop 'OSickGear' as it's not installed
   2966 dbug: (>>) QPKG.Stop
   2965 proc: stopping 10 optional QPKGs ... 9% (1/10)
   2964 dbug: (<<) QPKG.Stop|2|0|109ms
   2963 dbug: (WW) unable to stop 'OTransmission' as it's not installed
   2962 dbug: (>>) QPKG.Stop
   2961 proc: stopping 11 optional QPKGs ... 8% (1/11)
   2960 proc: checking for optional packages to stop ...
   2959 dbug: (>>) Tier.Processor
   2958 dbug: (<<) Tier.Processor|0|0|87ms
   2957 dbug: (II) no QPKGs to process
   2956 proc: checking for packages to backup ...
   2955 dbug: (>>) Tier.Processor
   2954 dbug: (<<) Tier.Processor|0|0|610ms
   2953 dbug: (<<) QPKG.Download|2|0|179ms
   2952 dbug: (II) local package (Par2_0.8.1.0_arm-x41.qpkg) checksum correct: skipping download
   2951 dbug: (>>) QPKG.Download
   2950 proc: updating package cache with 1 QPKG ... 50% (1/1)
   2949 dbug: (<<) QPKG.Download|2|0|150ms
   2948 dbug: (II) local package (Entware_1.03std.qpkg) checksum correct: skipping download
   2947 dbug: (>>) QPKG.Download
   2946 proc: updating package cache with 2 QPKGs ... 33% (1/2)
   2945 proc: checking for packages to update package cache with ...
   2944 dbug: (>>) Tier.Processor
   2943 dbug: (<<) QPKGs.SupportsUpdateOnRestart.Build|0|0|248ms
   2942 dbug: (>>) QPKGs.SupportsUpdateOnRestart.Build
   2941 dbug: (<<) QPKGs.SupportsBackup.Build|0|0|216ms
   2940 dbug: (>>) QPKGs.SupportsBackup.Build
   2939 dbug: (>>) Tiers.Processor
   2938 dbug: (<<) Session.Validate|0|0|2,452ms
   2937 dbug: (<<) ListEnvironment|0|0|2,274ms
   2936 dbug: (II) ----------------------------------------------------------------------------------------------------
   2935 dbug: (**)    SCRIPT:      objects hash: ae01301cf13cfc8dd4b0c50304b8da3e
   2934 dbug: (**)    SCRIPT:         work path: /share/CACHEDEV1_DATA/.qpkg/sherpa/cache
   2933 dbug: (**)    SCRIPT:         logs path: /share/CACHEDEV1_DATA/.qpkg/sherpa/logs
   2932 note: your Python 3 is out-of-date. Suggest reinstalling Entware: 'sherpa reinstall ew'
   2931 dbug: (WW) USERSPACE:  'python' version: 3.7.2
   2930 dbug: (**) USERSPACE:     'python' path: /share/CACHEDEV1_DATA/.qpkg/HybridBackup/CloudConnector3/python/bin/python
   2929 dbug: (WW) USERSPACE: 'python3' version: 3.7.2
   2928 dbug: (**) USERSPACE:    'python3' path: /share/CACHEDEV1_DATA/.qpkg/HybridBackup/CloudConnector3/python/bin/python3
   2927 dbug: (**) USERSPACE:             $PATH: /share/CACHEDEV1_DATA/.qpkg/HybridBackup/CloudConnector3/python/bin...
   2926 dbug: (**) USERSPACE:              /opt: /share/CACHEDEV1_DATA/.qpkg/Entware
   2925 dbug: (**) USERSPACE:    default volume: /share/CACHEDEV1_DATA
   2924 dbug: (**) USERSPACE:     $BASH_VERSION: 3.2.57(1)-release
   2923 dbug: (**) USERSPACE:             $EUID: 0
   2922 dbug: (**) USERSPACE:             $USER: admin
   2921 dbug: (**) USERSPACE:       system load: 1m:1.88, 5m:1.51, 15m:0.89
   2920 dbug: (**) USERSPACE:         OS uptime: 11 days
   2919 dbug: (**)  FIRMWARE:          platform: ARM_AL
   2918 dbug: (**)  FIRMWARE:            kernel: 4.2.8 armv7l
   2917 dbug: (**)  FIRMWARE:             build: 20210107
   2916 dbug: (**)  FIRMWARE:           version: 4.5.1
   2915 dbug: (WW)  HARDWARE:               RAM: less-than or equal-to 1,048,576kB
   2914 dbug: (**)  HARDWARE:               RAM: 1,024,384kB
   2913 dbug: (**)  HARDWARE:               CPU
   2912 dbug: (**)  HARDWARE:             model: TS-431+
   2911 dbug: (II) ----------------------------------------------------------------------------------------------------
   2910 dbug: (>>) ListEnvironment
   2909 proc: validating parameters ...
   2908 dbug: (<<) ArgumentSuggestions|0|0|23ms
   2907 dbug: (>>) ArgumentSuggestions
   2906 dbug: (>>) Session.Validate
   2905 dbug: (<<) Session.Init|0|0|3,311ms
   2904 dbug: (<<) ParseArguments|0|0|2,090ms
   2903 dbug: (<<) QPKGs.States.Build|0|0|1,979ms
   2902 dbug: (vv) $_obj_qpkgs_states_built_flag_ : 'true'
   2901 proc: checking installed QPKGs ...
   2900 dbug: (>>) QPKGs.States.Build
   2899 dbug: (vv) $USER_ARGS_RAW : 'reinstall ew'
   2898 dbug: (>>) ParseArguments
   2897 dbug: (**)      QPKG:              arch: x41
   2896 dbug: (**)      QPKG: Entware installer: std
   2895 dbug: (vv) $_obj_session_summary_flag_ : 'true'
   2894 dbug: (II) ----------------------------------------------------------------------------------------------------
   2893 dbug: (II) (==) done, (>>) f entry, (<<) f exit, (vv) variable name & value, ($1) positional argument value
   2892 dbug: (II) Markers: (**) detected, (II) information, (WW) warning, (EE) error, (LL) log file, (--) processing,
   2891 dbug: (II) ----------------------------------------------------------------------------------------------------
   2890 dbug: (**)    SCRIPT:               PID: 30062
   2889 dbug: (**)    SCRIPT:           version: package: 210129, manager: 210304, loader: 200923
   2888 dbug: (**)    SCRIPT:           started: Sun Mar 7 10:47:02 CET 2021
   2887 dbug: (II) ====================================================================================================
   2886 dbug: (vv) $_obj_session_debug_tofile_flag_ : 'true'
   2885 proc: init ...
   2884 dbug: (II) ====================================================================================================
   2883 dbug: (**)    SCRIPT:      elapsed time: 00h:01m:29s
   2882 dbug: (**)    SCRIPT:          finished: Sun Mar  7 10:46:34 CET 2021
   2881 dbug: (II) ----------------------------------------------------------------------------------------------------
[/share] # sherpa paste
proc: init ... 
sherpa 210304  a mini-package-manager for QNAP NAS
so I tried a "check all"
which brought SAB back to life but still leaves me with the EntWare warning

Code: Select all

[/share] # sherpa check all
sherpa 210304 • a mini-package-manager for QNAP NAS

proc: validating parameters ... /bin/grep: invalid option -- 'm'
BusyBox v1.01 (2021.01.06-19:25+0000) multi-call binary

Usage: grep [-ihHnqvs] PATTERN [FILEs...]

Search for PATTERN in each FILE or standard input.

Options:
        -H      prefix output lines with filename where match was found
        -h      suppress the prefixing filename on output
        -i      ignore case distinctions
        -l      list names of files that match
        -n      print line number with output lines
        -q      be quiet. Returns 0 if result was found, 1 otherwise
        -v      select non-matching lines
        -s      suppress file open/read error messages

[b]reco: your Python 3 is out-of-date. Suggest reinstalling Entware: 'sherpa reinstall ew'[/b]
done: installed 3 PIP groups
done: restarted 3 optional QPKGs

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

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

Post by OneCD » Mon Mar 08, 2021 5:57 am

dirkonline wrote:
Sun Mar 07, 2021 6:05 pm
Cheers OneCD :) I hope you are and family are well!
And yours too. :)
dirkonline wrote:
Sun Mar 07, 2021 6:05 pm
I just ran into an issue during my weekly upgrade of the apps. Sherpa warned about an outdated Python3, so I followed the recommended action. Unfortunately, it failed at reinstalling Entware. Sherpa Paste did not generate a link for the debug log so I just copied it here:
Any idea how I might fix this? Help is, as always, greatly appreciated :)
Oops, some work for me to do there... :oops:
  • grep invalid option: fixed
  • paste debug log not working: fixed
  • Python 3 version check should only check the Entware-installed version: fixed
dirkonline wrote:
Sun Mar 07, 2021 6:05 pm

Code: Select all

   3216 dbug: (LL) ERROR: Could not install packages due to an EnvironmentError: [SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC] decrypt
This is new. :'
dirkonline wrote:
Sun Mar 07, 2021 6:05 pm

Code: Select all

   2931 dbug: (WW) USERSPACE:  'python' version: 3.7.2
   2930 dbug: (**) USERSPACE:     'python' path: /share/CACHEDEV1_DATA/.qpkg/HybridBackup/CloudConnector3/python/bin/python
   2929 dbug: (WW) USERSPACE: 'python3' version: 3.7.2
   2928 dbug: (**) USERSPACE:    'python3' path: /share/CACHEDEV1_DATA/.qpkg/HybridBackup/CloudConnector3/python/bin/python3
   2927 dbug: (**) USERSPACE:             $PATH: /share/CACHEDEV1_DATA/.qpkg/HybridBackup/CloudConnector3/python/bin...
CloudConnector3 has its own version of Python3? Hmm, that's a problem. :shock:

Can you please try a reinstall of Entware again with the latest sherpa management script, then paste the log online?

Code: Select all

sherpa clean
sherpa reinstall ew
sherpa paste last
Please copypaste the URL back here so I can examine the log.

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage

User avatar
dirkonline
Easy as a breeze
Posts: 278
Joined: Mon Oct 18, 2010 4:08 pm

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

Post by dirkonline » Tue Mar 09, 2021 12:52 am

[/quote]
CloudConnector3 has its own version of Python3? Hmm, that's a problem. :shock:

Can you please try a reinstall of Entware again with the latest sherpa management script, then paste the log online?

Code: Select all

sherpa clean
sherpa reinstall ew
sherpa paste last
Please copypaste the URL back here so I can examine the log.
[/quote]

Sure can!

There is a LOT being installed though..

Code: Select all

[~] # sherpa clean
done: logs path cleaned
done: work path cleaned
[~] # sherpa reinstall ew
sherpa 210308 • a mini-package-manager for QNAP NAS

done: updated package cache with 2 QPKGs
done: stopped 3 optional QPKGs
done: stopped 1 essential QPKG
done: uninstalled 1 essential QPKG
done: installed essential IPKGs
done: installed 1 essential QPKG
done: started 1 essential QPKG
done: downloaded & installed 81 IPKGs
done: installed 3 PIP groups
done: started 3 optional QPKGs

Here are the logs per

Code: Select all

sherpa paste last


https://termbin.com/6q1u

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

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

Post by OneCD » Tue Mar 09, 2021 3:29 am

dirkonline wrote:
Tue Mar 09, 2021 12:52 am
Here are the logs per

Code: Select all

sherpa paste last


https://termbin.com/6q1u
Looks fine now. I think the problems were all related to some recent changes I had made to the management script, which have now been corrected.

Your NAS appears OK. Image

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage

User avatar
dirkonline
Easy as a breeze
Posts: 278
Joined: Mon Oct 18, 2010 4:08 pm

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

Post by dirkonline » Tue Mar 09, 2021 4:26 am

OneCD wrote:
Tue Mar 09, 2021 3:29 am
dirkonline wrote:
Tue Mar 09, 2021 12:52 am
Here are the logs per

Code: Select all

sherpa paste last


https://termbin.com/6q1u
Looks fine now. I think the problems were all related to some recent changes I had made to the management script, which have now been corrected.

Your NAS appears OK. Image
Cheers! Thank you again for you help and I am glad you also managed to fix a few things on the way :)

Jim13
First post
Posts: 1
Joined: Thu Apr 11, 2019 3:37 pm

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

Post by Jim13 » Sun Mar 21, 2021 6:19 pm

Can someone please help me , I've been running sab on a Qnap ts-431 for years but struggle every time theres some sort of update that needs ssh . I am HOPELESS at this stuff.. I have the following errors when sab starts up

Essential modules are missing, downloading cannot start.
Your UNRAR version is 5.30, we recommend version 5.50 or higher.<br />
par2 binary... NOT found!
[N/A] The command in build_command is undefined.

I have gone into terminal to ssh into the nas but I cannot get the sherpa commands working , I know I've done something wrong or missing a step because I get sherpa: command not found

I have tried searching through this thread but I can't find what I need.

**Edit : seems to have fixed itself sorry **

User avatar
dirkonline
Easy as a breeze
Posts: 278
Joined: Mon Oct 18, 2010 4:08 pm

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

Post by dirkonline » Wed Mar 24, 2021 8:35 pm

Cheers OneCD :)

After the last updates from today, Medusa throws the following error during version check:

Code: Select all

2021-03-24 13:26:00 WARNING	APIv2-Thread-2 :: [55cecb9] Unable to contact github, can't check for update
2021-03-24 13:26:00 WARNING	APIv2-Thread-2 :: [55cecb9] "/opt/bin/git" fetch --prune origin returned (128) : fatal: couldn't find remote ref refs/heads/master
this looks like the git config is broken unless I am mistaken. The Branch name checks out. How can I restore the local git Information for Medusa safely without breaking anything else?

erkme73
Starting out
Posts: 36
Joined: Sat Jun 17, 2017 2:54 am

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

Post by erkme73 » Wed Mar 24, 2021 9:28 pm

Hello OneCD...

I'm starting to feel like that old friend that only calls when he needs help with something...

When I try to update my PlexPy from its GUI, i get this error:
Tautulli is still running using Python 2 and cannot be updated past v2.6.3.

Python 3 is required to continue receiving updates.

Please see the wiki for instructions on how to upgrade to Python 3.
As far as I can tell, i have only python3 installed.

I ran the sherpa clean/install ew just now and it still gives me this error. I'm too much of a newbie to know how to do anything other than ask you for help ;)

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

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

Post by OneCD » Thu Mar 25, 2021 2:57 am

dirkonline wrote:
Wed Mar 24, 2021 8:35 pm
After the last updates from today, Medusa throws the following error during version check:

Code: Select all

2021-03-24 13:26:00 WARNING	APIv2-Thread-2 :: [55cecb9] Unable to contact github, can't check for update
2021-03-24 13:26:00 WARNING	APIv2-Thread-2 :: [55cecb9] "/opt/bin/git" fetch --prune origin returned (128) : fatal: couldn't find remote ref refs/heads/master
this looks like the git config is broken unless I am mistaken. The Branch name checks out. How can I restore the local git Information for Medusa safely without breaking anything else?
Thanks Dirk, I'll have a look at this shortly. :)

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage

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

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

Post by OneCD » Thu Mar 25, 2021 3:15 am

erkme73 wrote:
Wed Mar 24, 2021 9:28 pm
When I try to update my PlexPy from its GUI, i get this error:
Tautulli is still running using Python 2 and cannot be updated past v2.6.3.

Python 3 is required to continue receiving updates.

Please see the wiki for instructions on how to upgrade to Python 3.
As far as I can tell, i have only python3 installed.

I ran the sherpa clean/install ew just now and it still gives me this error. I'm too much of a newbie to know how to do anything other than ask you for help ;)
I don't use PlexPy/Tautulli so I'm unable to advise on its usage. Best-thing is to ask the package maintainer (@QNAP_Stephane) in the Tautulli support topic.

Note: it's possible to have many different versions of Python all installed and executable on the same device. Which makes it important to ensure each of your Python projects are using the right executable.

To find your Python executables, examine the result of these commands:

Code: Select all

type -a python
type -a python3
I'm guessing your installation of Tautulli is being processed by the wrong Python installation. It may even have its own Python included in the QPKG. This is something to ask Stephane about. ;)

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage

User avatar
dirkonline
Easy as a breeze
Posts: 278
Joined: Mon Oct 18, 2010 4:08 pm

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

Post by dirkonline » Thu Mar 25, 2021 3:21 am

OneCD wrote:
Thu Mar 25, 2021 2:57 am
dirkonline wrote:
Wed Mar 24, 2021 8:35 pm
After the last updates from today, Medusa throws the following error during version check:

Code: Select all

2021-03-24 13:26:00 WARNING	APIv2-Thread-2 :: [55cecb9] Unable to contact github, can't check for update
2021-03-24 13:26:00 WARNING	APIv2-Thread-2 :: [55cecb9] "/opt/bin/git" fetch --prune origin returned (128) : fatal: couldn't find remote ref refs/heads/master
this looks like the git config is broken unless I am mistaken. The Branch name checks out. How can I restore the local git Information for Medusa safely without breaking anything else?
Thanks Dirk, I'll have a look at this shortly. :)
Thank you :)
I just realised that Nzbtomedia also threw an error during the upgrade but it wasn’t shown on the CLI.

nzbToMedia] A problem occurred while update •nzbToMedia' from remote repository. Check (/ var/log/nzbToMedia.log) for more details.

Post Reply

Return to “Community Apps”