Re: [SCRIPT] sherpa.sh
Posted: Sat Nov 30, 2019 11:48 am
Can you please try reinstalling Entware? This command will do it for you and reinstall all required components:
Code: Select all
./sherpa.sh Entware
Code: Select all
Message: [sickchill.sh] can't continue: Entware not found! (timeout)
Code: Select all
[ dbug ] (II) ========================================================================
[ dbug ] (**) SCRIPT: started: Fri Dec 13 10:49:52 GMT 2019
[ dbug ] (**) SCRIPT: version: 191106
[ 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-453A, QNAP Systems, Inc.
[ dbug ] (**) NAS : firmware version: 4.4.1
[ dbug ] (**) NAS : firmware build: 20191206
[ dbug ] (**) NAS : kernel: 4.14.24-qnap x86_64
[ dbug ] (**) NAS : OS uptime: 29 min
[ dbug ] (**) NAS : system load: 1 min=2.80, 5 min=2.70, 15 min=2.05
[ dbug ] (**) NAS : EUID: 0
[ dbug ] (**) NAS : default volume: /share/CE_CACHEDEV1_DATA
[ dbug ] (**) NAS : $PATH: /bin:/sbin:/usr/bin:/usr/sbin:/usr/bin/X11:
[ dbug ] (**) NAS : /opt: /share/CE_CACHEDEV1_DATA/.qpkg/Entware
[ dbug ] (**) NAS : /share/Download: CE_CACHEDEV1_DATA/Download
[ dbug ] (**) SCRIPT: user arguments: --update
[ dbug ] (**) SCRIPT: target app(s)
[ 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
[ proc ] testing Internet access ...
[ done ] Internet is accessible
[ dbug ] (II) ------------------------------------------------------------------------
[ dbug ] (<<) <EnvironCheck> [0]
[ dbug ] (>>) <DownloadQPKGs>
[ 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>
[ dbug ] (--) adjusted $PATH
[ dbug ] (vv) $PATH [/opt/bin:/opt/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin/X11:/usr/local/sbin:/usr/local/bin]
[ dbug ] (>>) <PatchBaseInit>
[ dbug ] (II) patch: do the "opt shuffle" - already done
[ 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) requested IPKGs: ca-certificates coreutils-nice ffprobe gcc git git-http ionice less nano p7zip python python-dev python-pip python-pyopenssl python3-pip unrar
[ dbug ] (==) finding all IPKG dependencies ...
[ dbug ] (--) complete
[ dbug ] (II) found all IPKG dependencies in 12 iterations
[ dbug ] (==) excluding packages already installed ...
[ dbug ] (--) complete
[ dbug ] (II) IPKGs to download:
[ dbug ] (vv) $IPKG_download_size [0]
[ dbug ] (**) STAGE : elapsed time: 00h:00m:02s
[ dbug ] (II) ------------------------------------------------------------------------
[ done ] no IPKGs are required
[ dbug ] (<<) <InstallIPKGBatch> [0]
[ dbug ] (<<) <InstallIPKGs> [0]
[ dbug ] (>>) <InstallPIPs>
[ proc ] downloading & installing PIP modules ...
[ done ] downloaded & installed PIP modules
[ dbug ] (<<) <InstallPIPs> [0]
[ dbug ] (>>) <RestartAllQPKGs>
[ proc ] restarting service 'Entware' ...
[ done ] restarted service 'Entware'
[ proc ] restarting service 'SABnzbdplus' ...
[ done ] restarted service 'SABnzbdplus'
[ proc ] restarting service 'SickChill' ...
[ done ] restarted service 'SickChill'
[ dbug ] (<<) <RestartAllQPKGs> [0]
[ dbug ] (<<) <InstallBaseAddons> [0]
[ dbug ] (>>) <Cleanup>
[ dbug ] (<<) <Cleanup> [0]
[ dbug ] (>>) <DisplayResult>
[ dbug ] (II) ------------------------------------------------------------------------
[ dbug ] (**) SCRIPT: finished: Fri Dec 13 10:50:44 GMT 2019
[ dbug ] (**) SCRIPT: elapsed time: 00h:00m:52s
[ dbug ] (II) ========================================================================
I thought QTS waited for encrypted volumes to be decrypted before attempting to reintegrate installed QPKGs, as it doesn't make much sense to do things otherwise. Maybe QNAP have changed something there?starnap wrote: ↑Sat Dec 14, 2019 6:39 pm Upon reboot now the encryption gets to 66% and then halts for ages, I then receive 3 email alerts about 2 mins apart, that each program I have installed (Sab,sick,couch) all failed to start
The decryption eventually gets to 100% after these error messages have come in.Code: Select all
Message: [sickchill.sh] can't continue: Entware not found! (timeout)
Yes, using SortMyQPKGs is advised, but I'm unsure if it will fix the problem. Try it and see.starnap wrote: ↑Sat Dec 14, 2019 6:39 pm Any pointers here? Seems like the script is being decrypted & run before the entware data and failing maybe? Perhaps a delay needs to be added or I need to install your https://qnapclub.eu/en/qpkg/508 program?
I defo wouldn't increase that 10 minutes time, I rechecked and yes, that's how long its taking between emails!OneCD wrote: ↑Sun Dec 15, 2019 2:25 am I thought QTS waited for encrypted volumes to be decrypted before attempting to reintegrate installed QPKGs, as it doesn't make much sense to do things otherwise. Maybe QNAP have changed something there?
Each sherpa QPKG is coded to wait for upto 10 minutes for Entware to appear, then quit (which is what is happening on your NAS). I could extend this time, but this would mean releasing a whole new set of packages.
Well I can report, 100% success! After installing and rebooting this application, all working again as normal.
It's just a script. Delete it like any other file.mobilcontrol wrote: ↑Wed Dec 18, 2019 10:16 am Hi how do I remove this? I ran it once but would like to remove it entirely as I'm going another direction.
Code: Select all
Please use a newer version of Python.
Python End-of-Life for current versions:
v3.5 in 251 days
v3.6 in 717 days
v3.7 in 1268 days
Python 2.7 is no longer supported.
Code: Select all
It's not like python 2.7 will stop working, it's just no longer maintained.
There is no point in nzbToMedia working with 3 when SABnzb only runs on 2.7
Don't bother messing around, simply edit the eol.py file in your nzbToMedia directory, give your self another 100 days.
change
def check(version=None, grace_period=0):
to
def check(version=None, grace_period=100):
and
def raise_for_status(version=None, grace_period=0):
to
def raise_for_status(version=None, grace_period=100):
I just realised this as well, I will have to check your workaround these days, cheers!Bartley69 wrote: ↑Mon Jan 06, 2020 5:19 pm Hi,
My Sab has stopped processing shows as it says Python 2.7 is no longer supported. Any idea how to fix?
Thanks.Code: Select all
Please use a newer version of Python. Python End-of-Life for current versions: v3.5 in 251 days v3.6 in 717 days v3.7 in 1268 days Python 2.7 is no longer supported.
EDIT:
Not a fix but this buys more time....Found this by suprawsmninja in this thread on github - https://github.com/clinton-hall/nzbToMe ... -570119514
Code: Select all
It's not like python 2.7 will stop working, it's just no longer maintained. There is no point in nzbToMedia working with 3 when SABnzb only runs on 2.7 Don't bother messing around, simply edit the eol.py file in your nzbToMedia directory, give your self another 100 days. change def check(version=None, grace_period=0): to def check(version=None, grace_period=100): and def raise_for_status(version=None, grace_period=0): to def raise_for_status(version=None, grace_period=100):