Page 72 of 294

Re: [SCRIPT] sherpa.sh

Posted: Fri Feb 15, 2019 4:49 am
by fjflokstra
I did that, here's the debug log:

Code: Select all

[~] # cd /share/Public
[/share/Public] # curl -skLO https://git.io/sherpa.sh && chmod +x sherpa.sh
[/share/Public] # ./sherpa.sh SABnzbd --debug
[ dbug ] (vv) $debug [true]
[ dbug ] (>>) <Init>
[ dbug ] (II) ======================================================================
[ dbug ] (**) SCRIPT:           started: Thu Feb 14 19:44:10 CET 2019
[ dbug ] (**) SCRIPT:           version: 190214
[ 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-112
[ dbug ] (**) NAS   :  firmware version: 4.3.3
[ dbug ] (**) NAS   :    firmware build: 20190102
[ dbug ] (**) NAS   :            kernel: 3.4.6 armv5tel
[ dbug ] (**) NAS   :         OS uptime: 4:28
[ dbug ] (**) NAS   :       system load: 1 min=5.78, 5 min=6.93, 15 min=6.97
[ dbug ] (**) NAS   :              EUID: 0
[ dbug ] (**) NAS   :    default volume: /share/HDA_DATA
[ dbug ] (**) NAS   :             $PATH: /opt/bin:/opt/sbin:/bin:/sbin:/usr/bin:/usr
[ dbug ] (**) NAS   :              /opt: /share/HDA_DATA/.qpkg/Entware
[ dbug ] (**) NAS   :   /share/Download: HDA_DATA/Download
[ dbug ] (**) SCRIPT:    user arguments: SABnzbd --debug
[ dbug ] (**) SCRIPT:        target app: SABnzbdplus
[ dbug ] (II) ----------------------------------------------------------------------
[ dbug ] (vv) $STEPHANE_QPKG_ARCH [none]
[ dbug ] (vv) $PREF_ENTWARE [Entware]
[ dbug ] (**) QPKG  : Entware installer: std
[ proc ] downloading sherpa package list ...
[ done ] downloaded sherpa package list
[ dbug ] (<<) <Init> [0]
[ dbug ] (>>) <PauseDownloaders>
[ dbug ] (<<) <PauseDownloaders> [0]
[ dbug ] (>>) <RemoveOther>
[ dbug ] (**) QPKG  :         'Optware': not installed [250]
[ dbug ] (<<) <RemoveOther> [0]
[ dbug ] (>>) <DownloadQPKGs>
[ dbug ] (>>) <DownloadQPKG>
[ proc ] downloading QPKG (SABnzbdplus_190205.qpkg) ...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 41861  100 41861    0     0   104k      0 --:--:-- --:--:-- --:--:--  108k
[ done ] downloaded QPKG (SABnzbdplus_190205.qpkg)
[ dbug ] (<<) <DownloadQPKG> [0]
[ dbug ] (<<) <DownloadQPKGs> [0]
[ dbug ] (>>) <InstallEntware>
[ dbug ] (--) adjusted $PATH
[ dbug ] (vv) $PATH [/opt/bin:/opt/sbin:/opt/bin:/opt/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin/X11:/usr/local/sbin:/usr/local/bin]
[ dbug ] (>>) <PatchEntwareInit>
[ dbug ] (II) patch: do the "opt shuffle" - already done
[ dbug ] (<<) <PatchEntwareInit> [0]
[ dbug ] (<<) <InstallEntware> [0]
[ dbug ] (>>) <InstallExtras>
[ dbug ] (>>) <InstallIPKGs>
[ dbug ] (>>) <UpdateEntware>
[ proc ] updating Entware package list ...
[ done ] updated Entware package list
[ dbug ] (<<) <UpdateEntware> [0]
[ dbug ] (>>) <InstallIPKGBatch>
[ proc ] calculating number and size of IPKGs required ...
[ dbug ] (II) requested IPKGs: git git-http nano less ca-certificates python python-pip python-pyopenssl python-dev gcc unrar p7zip coreutils-nice ionice ffprobe
[ dbug ] (==) finding all IPKG dependencies ...
[ dbug ] (--) complete
[ dbug ] (II) found all IPKG dependencies in 11 iterations
[ dbug ] (==) excluding packages already installed ...
[ dbug ] (--) complete
[ dbug ] (II) IPKGs to download:
[ dbug ] (vv) $IPKG_download_size [0]
[ 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 ] (<<) <InstallExtras> [0]
[ dbug ] (>>) <BackupAndRemoveOldApp>
[ dbug ] (<<) <BackupAndRemoveOldApp> [0]
[ dbug ] (>>) <InstallTargetApp>
[ proc ] installing QPKG (SABnzbdplus_190205.qpkg) - this can take a while ...
[ done ] installed QPKG (SABnzbdplus_190205.qpkg)                               
[ proc ] waiting for 10 seconds ...
[ done ] wait complete
[ dbug ] (>>) <RestoreConfig>
[ dbug ] (<<) <RestoreConfig> [0]
[ proc ] starting daemon (sabnzbd.sh) - this can take a while ...
[ done ] daemon started (sabnzbd.sh)
[ dbug ] (<<) <InstallTargetApp> [0]
[ dbug ] (>>) <Cleanup>
[ dbug ] (<<) <Cleanup> [0]
[ dbug ] (>>) <DisplayResult>
[ done ] 'SABnzbdplus' has been successfully installed! :DD
[ dbug ] (**) SCRIPT:          finished: Thu Feb 14 19:46:36 CET 2019
[ dbug ] (**) SCRIPT:      elapsed time: 00h:02m:27s
[ dbug ] (II) ======================================================================
[ dbug ] (<<) <DisplayResult> [0]

Re: [SCRIPT] sherpa.sh

Posted: Fri Feb 15, 2019 5:06 am
by OneCD
Ah, found the problem (I misspelt a package name). :oops:

I've just pushed a commit to fix this. Can you please download the latest sherpa script again and reinstall SAB?

Re: [SCRIPT] sherpa.sh

Posted: Fri Feb 15, 2019 6:55 am
by fjflokstra
Looks like its working now!! Thank you so much!

Re: [SCRIPT] sherpa.sh

Posted: Fri Feb 15, 2019 6:58 am
by OneCD
Good work. Thanks for reporting this. :geek:

Re: [SCRIPT] sherpa.sh

Posted: Fri Mar 08, 2019 1:30 am
by Road_Enthusiasts
Is anyone else running into issues with file/folder permissions on Sickchill for post-processing?

After sickchill completes processing and moves the files to it's destination it always changes the file ownership (or doesn't change depending on your point of view) to admin. I have the destination folder set up as part of a group so everything that gets copied to it should inherit the groups properties.

I'm assuming this is some silly setting that I have missed somewhere but I've been looking and tearing my hair out trying to find how to change this.

On reddit, someone with a Synology NAS using docker had a similar issue https://www.reddit.com/r/sickchill/comm ... th_folder/. There solution was to use a different docker container which solved the problem, but obviously doesn't help me :(

Any help would be appreciated

Re: [SCRIPT] sherpa.sh

Posted: Fri Mar 08, 2019 11:28 am
by OneCD
Hi and welcome to the forum.
Road_Enthusiasts wrote: Fri Mar 08, 2019 1:30 am I have the destination folder set up as part of a group so everything that gets copied to it should inherit the groups properties.
Did you setgid that directory? ;)

Example:

Code: Select all

chmod g+s /path-to-tv-shows-root

Re: [SCRIPT] sherpa.sh

Posted: Sat Mar 09, 2019 7:07 am
by Road_Enthusiasts
Thanks, just doing the 'setgid' didn't do it but after investigating more I realized that I needed to change the target group of the user who created the directory to be their primary group.

For example, if I wanted the 'video' group to have full access to that folder, then user A needs to have 'video' as their primary group (rather than 'everyone' that QNAP defaults to). Everyone else who needs access to that folder can have 'video' as a secondary group, including the admin user.

Hope this helps someone else if they run into the same issue.

Re: [SCRIPT] sherpa.sh

Posted: Sun Mar 10, 2019 4:06 pm
by Iceman24
I did a firmware upgrade to the most recent firmware from 3/8/2019 and I can no longer get Sabnzbd or CouchPotato to work. After trying to restart with "/etc/init.d/sabnzbd.sh restart", I get the "waiter not found - can't continue" error. I've never seen it before and haven't had any issues recently or even done anything different. Firmware upgrade is only thing. It has been working fine for a long time. I saw some references to that error, but I didn't want to do anything without consulting first. Please let me know how I should proceed. Thanks.

Edit: I have Qboost disabled for what it's worth.

Re: [SCRIPT] sherpa.sh

Posted: Sun Mar 10, 2019 4:12 pm
by OneCD
Hey Iceman. :)

“waiter” was part of some older sherpa QPKGs, but is no longer used.

Can you please download the latest sherpa script and reinstall your SAB and CP?

Re: [SCRIPT] sherpa.sh

Posted: Mon Mar 11, 2019 12:36 pm
by Iceman24
OneCD wrote: Sun Mar 10, 2019 4:12 pm Hey Iceman. :)

“waiter” was part of some older sherpa QPKGs, but is no longer used.

Can you please download the latest sherpa script and reinstall your SAB and CP?
Thanks, OneCD. That did the trick.

Re: [SCRIPT] sherpa.sh

Posted: Thu Mar 14, 2019 12:28 pm
by Ballador
OneCD ... we're not worthy ... we're not worthy!!

Once again, your script has come to the rescue. I had not been following the SickRage drama from October. Just heard about it all this evening. Grabbed a fresh copy of your script 190224, reinstalled SAB, SickChill, and Couch, and everything upgraded and imported my configurations perfectly! No problems at all. I had installed with this script last year sometime, and didn't know all this drama had occurred. Thank you, sir!! You are a god among men!

First execution of Sherpa - May 16 20:08:57 CDT 2017 - version: 2017.05.14b
Previous execution of Sherpa - Feb 15 21:24:06 CST 2018 - version: 180204b

Keep up the phenomenal work!!

Re: [SCRIPT] sherpa.sh

Posted: Thu Mar 14, 2019 12:56 pm
by OneCD
Cheers mate, and welcome to the forum (finally!) :D

Re: [SCRIPT] sherpa.sh

Posted: Sat Mar 16, 2019 7:39 pm
by CptUndies
Hi OneCD, been a while mate!

After functioning for a very long time, SAB stopped working after a reboot. I downloaded the latest sherpa, ran the install for SABnzbd and it resulted in this error message:

Code: Select all

[/share/Public] # ./sherpa.sh SABnzbd
sherpa.sh (190224)

[ done ] downloaded sherpa package list
[ done ] downloaded QPKG (SABnzbdplus_190205.qpkg)
[ proc ] updating Entware package list ...Collected errors:
 * remove_obsolesced_files: unlinking /opt/lib/python2.7/site-packages/idna-2.1-py2.7.egg-info/PKG-INFO failed: No such                                                          file or directory.
 * remove_obsolesced_files: unlinking /opt/lib/python2.7/site-packages/idna-2.1-py2.7.egg-info/dependency_links.txt fail                                                         ed: No such file or directory.
 * remove_obsolesced_files: unlinking /opt/lib/python2.7/site-packages/idna-2.1-py2.7.egg-info/top_level.txt failed: No                                                          such file or directory.
 * remove_obsolesced_files: unlinking /opt/lib/python2.7/site-packages/idna-2.1-py2.7.egg-info/SOURCES.txt failed: No su                                                         ch file or directory.
 * opkg_install_pkg: Failed to determine obsolete files from previously installed python-idna
 * check_data_file_clashes: Package python-base wants to install file /opt/lib/libpython2.7.so
        But that file is already provided by package  * python-dev
 * check_data_file_clashes: Package python-base wants to install file /opt/lib/libpython2.7.so.1.0
        But that file is already provided by package  * python-dev
 * remove_obsolesced_files: unlinking /opt/lib/python2.7/site-packages/pycparser-2.14-py2.7.egg-info/dependency_links.tx                                                         t failed: No such file or directory.
 * remove_obsolesced_files: unlinking /opt/lib/python2.7/site-packages/pycparser-2.14-py2.7.egg-info/SOURCES.txt failed:                                                          No such file or directory.
 * remove_obsolesced_files: unlinking /opt/lib/python2.7/site-packages/pycparser-2.14-py2.7.egg-info/PKG-INFO failed: No                                                          such file or directory.
 * remove_obsolesced_files: unlinking /opt/lib/python2.7/site-packages/pycparser-2.14-py2.7.egg-info/top_level.txt faile                                                         d: No such file or directory.
Collected errors:
 * remove_obsolesced_files: unlinking /opt/lib/python2.7/site-packages/ipaddress-1.0.17-py2.7.egg-info/dependency_links.                                                         txt failed: No such file or directory.
 * remove_obsolesced_files: unlinking /opt/lib/python2.7/site-packages/ipaddress-1.0.17-py2.7.egg-info/top_level.txt fai                                                         led: No such file or directory.
 * remove_obsolesced_files: unlinking /opt/lib/python2.7/site-packages/ipaddress-1.0.17-py2.7.egg-info/PKG-INFO failed:                                                          No such file or directory.
 * remove_obsolesced_files: unlinking /opt/lib/python2.7/site-packages/ipaddress-1.0.17-py2.7.egg-info/SOURCES.txt faile                                                         d: No such file or directory.
[ done ] updated Entware package list
[ done ] 6 IPKGs (2MB) to be downloaded
[ done ] downloaded & installed 6 IPKGs (Python, Git and others)
[ fail ] Download & install failed (PIP modules) [1]

[ fail ] 'SABnzbdplus' install failed! [20]

* Please consider creating a new issue for this on GitHub:
        https://github.com/OneCDOnly/sherpa/issues

* Alternatively, post on the QNAP NAS Community Forum:
        https://forum.qnap.com/viewtopic.php?f=320&t=132373

* Remember to include a copy of your sherpa runtime debug log for analysis.

- To display the runtime debug log:
        cat /share/Public/sherpa.debug.log
The debug logs:

Code: Select all

[ dbug ] (>>) <Init>
[ dbug ] (II) ======================================================================
[ dbug ] (**) SCRIPT:           started: Sat Mar 16 21:57:56 CST 2019
[ dbug ] (**) SCRIPT:           version: 190224
[ 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-853A
[ dbug ] (**) NAS   :  firmware version: 4.3.6
[ dbug ] (**) NAS   :    firmware build: 20190308
[ dbug ] (**) NAS   :            kernel: 4.2.8 x86_64
[ dbug ] (**) NAS   :         OS uptime: 2 days
[ dbug ] (**) NAS   :       system load: 1 min=1.59, 5 min=1.46, 15 min=1.44
[ dbug ] (**) NAS   :              EUID: 0
[ dbug ] (**) NAS   :    default volume: /share/CACHEDEV1_DATA
[ dbug ] (**) NAS   :             $PATH: /opt/bin:/opt/sbin:/bin:/sbin:/usr/bin:/usr
[ dbug ] (**) NAS   :              /opt: /share/CACHEDEV1_DATA/.qpkg/Entware-3x
[ dbug ] (**) NAS   :   /share/Download: CACHEDEV1_DATA/Download
[ dbug ] (**) SCRIPT:    user arguments: SABnzbd
[ dbug ] (**) SCRIPT:        target app: SABnzbdplus
[ dbug ] (II) ----------------------------------------------------------------------
[ dbug ] (vv) $STEPHANE_QPKG_ARCH [x64]
[ dbug ] (vv) $PREF_ENTWARE [Entware-3x]
[ dbug ] (**) QPKG  : Entware installer: std
[ proc ] downloading sherpa package list ...
[ done ] downloaded sherpa package list
[ dbug ] (<<) <Init> [0]
[ dbug ] (>>) <PauseDownloaders>
[ dbug ] (--) paused existing SABnzbd queue
[ dbug ] (<<) <PauseDownloaders> [0]
[ dbug ] (>>) <RemoveOther>
[ dbug ] (**) QPKG  :         'Optware': not installed [250]
[ dbug ] (<<) <RemoveOther> [0]
[ dbug ] (>>) <DownloadQPKGs>
[ dbug ] (>>) <DownloadQPKG>
[ proc ] downloading QPKG (SABnzbdplus_190205.qpkg) ...
[ done ] downloaded QPKG (SABnzbdplus_190205.qpkg)
[ dbug ] (<<) <DownloadQPKG> [0]
[ dbug ] (<<) <DownloadQPKGs> [0]
[ dbug ] (>>) <InstallEntware>
[ dbug ] (--) adjusted $PATH
[ dbug ] (vv) $PATH [/opt/bin:/opt/sbin:/opt/bin:/opt/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin]
[ dbug ] (>>) <PatchEntwareInit>
[ dbug ] (II) patch: do the "opt shuffle" - already done
[ dbug ] (<<) <PatchEntwareInit> [0]
[ dbug ] (<<) <InstallEntware> [0]
[ dbug ] (>>) <InstallExtras>
[ dbug ] (II) QPKG 'Par2' is already installed
[ dbug ] (II) QPKG 'Par2' is already enabled
[ dbug ] (>>) <InstallIPKGs>
[ dbug ] (>>) <UpdateEntware>
[ proc ] updating Entware package list ...
[ dbug ] (==) performing Entware-3x upgrade x 2 ...
[ done ] updated Entware package list
[ dbug ] (<<) <UpdateEntware> [0]
[ dbug ] (>>) <InstallIPKGBatch>
[ proc ] calculating number and size of IPKGs required ...
[ dbug ] (II) requested IPKGs: git git-http nano less ca-certificates python python-pip python-pyopenssl python-dev gcc                                                          unrar p7zip coreutils-nice ionice ffprobe python python-pip python-pyopenssl python-lxml
[ dbug ] (==) finding all IPKG dependencies ...
[ dbug ] (--) complete
[ dbug ] (II) found all IPKG dependencies in 11 iterations
[ dbug ] (==) excluding packages already installed ...
[ dbug ] (--) complete
[ dbug ] (II) IPKGs to download: coreutils coreutils-nice less libexslt libxslt python-lxml
[ dbug ] (==) calculating size of IPKGs to download ...
[ dbug ] (--) complete
[ dbug ] (vv) $IPKG_download_size [1961730]
[ done ] 6 IPKGs (2MB) to be downloaded
[ proc ] downloading & installing 6 IPKGs (Python, Git and others) ...
[ done ] downloaded & installed 6 IPKGs (Python, Git and others)
[ dbug ] (**) STAGE :      elapsed time: 00h:00m:14s
[ dbug ] (<<) <InstallIPKGBatch> [0]
[ dbug ] (<<) <InstallIPKGs> [0]
[ dbug ] (>>) <InstallPIPs>
[ proc ] downloading & installing (PIP modules) ...
[ fail ] Download & install failed (PIP modules) [1]
[ dbug ] (LL) ----------------------------------------------------------------------
[ dbug ] (LL) /share/Public/sherpa.tmp/PIP_modules.install.log
[ dbug ] (LL) ----------------------------------------------------------------------
[ dbug ] (LL) Requirement already satisfied: setuptools in /share/CACHEDEV1_DATA/.qpkg/Entware-3x/lib/python2.7/site-pac                                                         kages
[ dbug ] (LL) Requirement already satisfied: packaging>=16.8 in /share/CACHEDEV1_DATA/.qpkg/Entware-3x/lib/python2.7/sit                                                         e-packages (from setuptools)
[ dbug ] (LL) Requirement already satisfied: appdirs>=1.4.0 in /share/CACHEDEV1_DATA/.qpkg/Entware-3x/lib/python2.7/site                                                         -packages (from setuptools)
[ dbug ] (LL) Requirement already satisfied: six>=1.6.0 in /share/CACHEDEV1_DATA/.qpkg/Entware-3x/lib/python2.7/site-pac                                                         kages (from setuptools)
[ dbug ] (LL) Requirement already satisfied: pyparsing in /share/CACHEDEV1_DATA/.qpkg/Entware-3x/lib/python2.7/site-pack                                                         ages (from packaging>=16.8->setuptools)
[ dbug ] (LL) You are using pip version 9.0.1, however version 19.0.3 is available.
[ dbug ] (LL) You should consider upgrading via the 'pip install --upgrade pip' command.
[ dbug ] (LL) Collecting sabyenc==3.3.5
[ dbug ] (LL) Downloading https://files.pythonhosted.org/packages/4f/30/a1a313ee4d9881cc5e119fcefb9f746df71f1b4fa6d3b53c                                                         c334799dbfd8/sabyenc-3.3.5.tar.gz
[ dbug ] (LL) Could not import setuptools which is required to install from a source distribution.
[ dbug ] (LL) Traceback (most recent call last):
[ dbug ] (LL) File "/opt/lib/python2.7/site-packages/pip/req/req_install.py", line 387, in setup_py
[ dbug ] (LL) File "/opt/lib/python2.7/site-packages/setuptools/__init__.py", line 14, in <module>
[ dbug ] (LL) File "/opt/lib/python2.7/site-packages/setuptools/dist.py", line 27, in <module>
[ dbug ] (LL) File "/opt/lib/python2.7/site-packages/setuptools/config.py", line 9, in <module>
[ dbug ] (LL) from setuptools.py26compat import import_module
[ dbug ] (LL) ImportError: No module named py26compat
[ dbug ] (LL)
[ dbug ] (LL) You are using pip version 9.0.1, however version 19.0.3 is available.
[ dbug ] (LL) You should consider upgrading via the 'pip install --upgrade pip' command.
[ dbug ] (LL) result=[1]
[ dbug ] (LL) ----------------------------------------------------------------------
[ dbug ] (<<) <InstallPIPs> [20]
[ dbug ] (<<) <InstallExtras> [20]
[ dbug ] (>>) <Cleanup>
[ dbug ] (--) resumed existing SABnzbd queue
[ dbug ] (<<) <Cleanup> [20]
[ dbug ] (>>) <DisplayResult>
[ fail ] 'SABnzbdplus' install failed! [20]
[ dbug ] (**) SCRIPT:          finished: Sat Mar 16 22:02:59 CST 2019
[ dbug ] (**) SCRIPT:      elapsed time: 00h:05m:03s
[ dbug ] (II) ======================================================================
[ dbug ] (<<) <DisplayResult> [20]
I then upgraded pip using: pip install --upgrade pip

Ran the install again, but failed with the following debug:

Code: Select all

[ dbug ] (>>) <Init>
[ dbug ] (II) ======================================================================
[ dbug ] (**) SCRIPT:           started: Sat Mar 16 22:07:23 CST 2019
[ dbug ] (**) SCRIPT:           version: 190224
[ 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-853A
[ dbug ] (**) NAS   :  firmware version: 4.3.6
[ dbug ] (**) NAS   :    firmware build: 20190308
[ dbug ] (**) NAS   :            kernel: 4.2.8 x86_64
[ dbug ] (**) NAS   :         OS uptime: 2 days
[ dbug ] (**) NAS   :       system load: 1 min=1.50, 5 min=1.83, 15 min=1.70
[ dbug ] (**) NAS   :              EUID: 0
[ dbug ] (**) NAS   :    default volume: /share/CACHEDEV1_DATA
[ dbug ] (**) NAS   :             $PATH: /opt/bin:/opt/sbin:/bin:/sbin:/usr/bin:/usr
[ dbug ] (**) NAS   :              /opt: /share/CACHEDEV1_DATA/.qpkg/Entware-3x
[ dbug ] (**) NAS   :   /share/Download: CACHEDEV1_DATA/Download
[ dbug ] (**) SCRIPT:    user arguments: SABnzbd
[ dbug ] (**) SCRIPT:        target app: SABnzbdplus
[ dbug ] (II) ----------------------------------------------------------------------
[ dbug ] (vv) $STEPHANE_QPKG_ARCH [x64]
[ dbug ] (vv) $PREF_ENTWARE [Entware-3x]
[ dbug ] (**) QPKG  : Entware installer: std
[ proc ] downloading sherpa package list ...
[ done ] downloaded sherpa package list
[ dbug ] (<<) <Init> [0]
[ dbug ] (>>) <PauseDownloaders>
[ dbug ] (--) paused existing SABnzbd queue
[ dbug ] (<<) <PauseDownloaders> [0]
[ dbug ] (>>) <RemoveOther>
[ dbug ] (**) QPKG  :         'Optware': not installed [250]
[ dbug ] (<<) <RemoveOther> [0]
[ dbug ] (>>) <DownloadQPKGs>
[ dbug ] (>>) <DownloadQPKG>
[ dbug ] (II) existing QPKG checksum correct (SABnzbdplus_190205.qpkg)
[ dbug ] (<<) <DownloadQPKG> [0]
[ dbug ] (<<) <DownloadQPKGs> [0]
[ dbug ] (>>) <InstallEntware>
[ dbug ] (--) adjusted $PATH
[ dbug ] (vv) $PATH [/opt/bin:/opt/sbin:/opt/bin:/opt/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin]
[ dbug ] (>>) <PatchEntwareInit>
[ dbug ] (II) patch: do the "opt shuffle" - already done
[ dbug ] (<<) <PatchEntwareInit> [0]
[ dbug ] (<<) <InstallEntware> [0]
[ dbug ] (>>) <InstallExtras>
[ dbug ] (II) QPKG 'Par2' is already installed
[ dbug ] (II) QPKG 'Par2' is already enabled
[ dbug ] (>>) <InstallIPKGs>
[ dbug ] (>>) <UpdateEntware>
[ dbug ] (II) Entware package list was updated less than 60 minutes ago
[ done ] Entware package list is up-to-date
[ dbug ] (<<) <UpdateEntware> [0]
[ dbug ] (>>) <InstallIPKGBatch>
[ proc ] calculating number and size of IPKGs required ...
[ dbug ] (II) requested IPKGs: git git-http nano less ca-certificates python python-pip python-pyopenssl python-dev gcc unrar p7zip coreutils-nice ionice ffprobe python python-pip python-pyopenssl python-lxml
[ dbug ] (==) finding all IPKG dependencies ...
[ dbug ] (--) complete
[ dbug ] (II) found all IPKG dependencies in 11 iterations
[ dbug ] (==) excluding packages already installed ...
[ dbug ] (--) complete
[ dbug ] (II) IPKGs to download:
[ dbug ] (vv) $IPKG_download_size [0]
[ done ] no IPKGs are required
[ dbug ] (<<) <InstallIPKGBatch> [0]
[ dbug ] (<<) <InstallIPKGs> [0]
[ dbug ] (>>) <InstallPIPs>
[ proc ] downloading & installing (PIP modules) ...
[ fail ] Download & install failed (PIP modules) [1]
[ dbug ] (LL) ----------------------------------------------------------------------
[ dbug ] (LL) /share/Public/sherpa.tmp/PIP_modules.install.log
[ dbug ] (LL) ----------------------------------------------------------------------
[ dbug ] (LL) DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
[ dbug ] (LL) Requirement already satisfied: setuptools in /share/CACHEDEV1_DATA/.qpkg/Entware-3x/lib/python2.7/site-packages (35.0.2)
[ dbug ] (LL) Requirement already satisfied: packaging>=16.8 in /share/CACHEDEV1_DATA/.qpkg/Entware-3x/lib/python2.7/site-packages (from setuptools) (16.8)
[ dbug ] (LL) Requirement already satisfied: appdirs>=1.4.0 in /share/CACHEDEV1_DATA/.qpkg/Entware-3x/lib/python2.7/site-packages (from setuptools) (1.4.3)
[ dbug ] (LL) Requirement already satisfied: six>=1.6.0 in /share/CACHEDEV1_DATA/.qpkg/Entware-3x/lib/python2.7/site-packages (from setuptools) (1.11.0)
[ dbug ] (LL) Requirement already satisfied: pyparsing in /share/CACHEDEV1_DATA/.qpkg/Entware-3x/lib/python2.7/site-packages (from packaging>=16.8->setuptools) (2.1.10)
[ dbug ] (LL) DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
[ dbug ] (LL) Collecting sabyenc==3.3.5
[ dbug ] (LL) Using cached https://files.pythonhosted.org/packages/4f/30/a1a313ee4d9881cc5e119fcefb9f746df71f1b4fa6d3b53cc334799dbfd8/sabyenc-3.3.5.tar.gz
[ dbug ] (LL) Complete output from command python setup.py egg_info:
[ dbug ] (LL) Traceback (most recent call last):
[ dbug ] (LL) File "<string>", line 1, in <module>
[ dbug ] (LL) File "/opt/lib/python2.7/site-packages/setuptools/__init__.py", line 14, in <module>
[ dbug ] (LL) File "/opt/lib/python2.7/site-packages/setuptools/dist.py", line 27, in <module>
[ dbug ] (LL) File "/opt/lib/python2.7/site-packages/setuptools/config.py", line 9, in <module>
[ dbug ] (LL) from setuptools.py26compat import import_module
[ dbug ] (LL) ImportError: No module named py26compat
[ dbug ] (LL)
[ dbug ] (LL) ----------------------------------------
[ dbug ] (LL) Command "python setup.py egg_info" failed with error code 1 in /share/CACHEDEV1_DATA/.qpkg/Entware-3x/tmp/pip-install-Drp483/sabyenc/
[ dbug ] (LL) result=[1]
[ dbug ] (LL) ----------------------------------------------------------------------
[ dbug ] (<<) <InstallPIPs> [20]
[ dbug ] (<<) <InstallExtras> [20]
[ dbug ] (>>) <Cleanup>
[ dbug ] (--) resumed existing SABnzbd queue
[ dbug ] (<<) <Cleanup> [20]
[ dbug ] (>>) <DisplayResult>
[ fail ] 'SABnzbdplus' install failed! [20]
[ dbug ] (**) SCRIPT:          finished: Sat Mar 16 22:07:30 CST 2019
[ dbug ] (**) SCRIPT:      elapsed time: 00h:00m:07s
[ dbug ] (II) ======================================================================
[ dbug ] (<<) <DisplayResult> [20]
Do you have any suggestion of how I can resolve this? Thanks!

Re: [SCRIPT] sherpa.sh

Posted: Sun Mar 17, 2019 3:20 am
by OneCD
Hey Captain. :)

I suspect your Python environment is scrambled. Let's force an Entware reinstallation (which will reinstall Python):

Code: Select all

./sherpa.sh sab --force-entware-reinstall
Can you please try this and let me know how it goes?

Re: [SCRIPT] sherpa.sh

Posted: Sun Mar 17, 2019 5:46 am
by CptUndies
Thanks OneCD, that did the trick. You're a wonderful asset to this community!