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

This is the best place for community developers to publish their genius work. Your Apps enrich the QNAP Turbo NAS.
Post Reply
User avatar
Shadytree
Know my way around
Posts: 241
Joined: Thu Feb 12, 2009 4:58 am
Location: United Kingdom

Re: [SCRIPT] sherpa.sh

Post by Shadytree »

Thanks very much. All works fine.

I did find it took me all through the Wizard menu again. For future reference, is there a quick way to restore config settings ?

Also is there anything new in this version of Sherpa worth highlighting?

Thanks Again

Shady
TVS-872XT-32GB | Raid 6 | 8 x 6TB WD Gold | 1TB NVMe SSD | QTS 4.5.2 1566
TS-569L-3GB | Raid 5 | 5 x 3TB WD Red Drives | QTS 4.3.4.1368 |
Apps: Python 2.7.12 | Python3 3.5.2.0 | Sherpa qpkg 200917 SABnzbdplus v3.1.1 |SickChill Master v2020.09.20-7 |
Plex Media Server 4.51.1 |

[Old Box] - QNAP TS-509 Pro | Raid 5 - 5 x 1TB WD Green Drives
FW 3.7.3 Build 20120801 -Redundancy backup
User avatar
OneCD
Guru
Posts: 12156
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: [SCRIPT] sherpa.sh

Post by OneCD »

Shadytree wrote: Mon Apr 06, 2020 6:11 pm I did find it took me all through the Wizard menu again. For future reference, is there a quick way to restore config settings ?
You don't need to restore your settings if you're reinstalling an app. It sounds like your old settings were corrupt. :(
Shadytree wrote: Mon Apr 06, 2020 6:11 pm Also is there anything new in this version of Sherpa worth highlighting?
Not yet. I've begun work on permitting multiple app installs and getting each app to backup and restore its own settings, but there's still a way to go before it's ready. ;)

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
User avatar
Shadytree
Know my way around
Posts: 241
Joined: Thu Feb 12, 2009 4:58 am
Location: United Kingdom

Re: [SCRIPT] sherpa.sh

Post by Shadytree »

Thanks for that. I do get the feeling it became corrupt. Luckily I had my SAB settings copied down, so just had to enter them all again.
I got the Python end of life warnings recently? Is that anything I need to adjust?

Currently running :

Python3 3.5.2.0
Python2 7.12.1
TVS-872XT-32GB | Raid 6 | 8 x 6TB WD Gold | 1TB NVMe SSD | QTS 4.5.2 1566
TS-569L-3GB | Raid 5 | 5 x 3TB WD Red Drives | QTS 4.3.4.1368 |
Apps: Python 2.7.12 | Python3 3.5.2.0 | Sherpa qpkg 200917 SABnzbdplus v3.1.1 |SickChill Master v2020.09.20-7 |
Plex Media Server 4.51.1 |

[Old Box] - QNAP TS-509 Pro | Raid 5 - 5 x 1TB WD Green Drives
FW 3.7.3 Build 20120801 -Redundancy backup
User avatar
OneCD
Guru
Posts: 12156
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: [SCRIPT] sherpa.sh

Post by OneCD »

Shadytree wrote: Tue Apr 07, 2020 4:07 am I got the Python end of life warnings recently? Is that anything I need to adjust?
Nope, nothing to change there. SABnzbd for Python 3 hasn't been released as 'stable' yet, so we're sticking with Python 2.7 for now.

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
User avatar
Shadytree
Know my way around
Posts: 241
Joined: Thu Feb 12, 2009 4:58 am
Location: United Kingdom

Re: [SCRIPT] sherpa.sh

Post by Shadytree »

OneCD, i got the following error message on SAB after the latest Sherpa install... Any ideas?

[08/Apr/2020:05:05:01] ENGINE Error in HTTPServer.tick Traceback (most recent call last): File "/share/MD0_DATA/.qpkg/SABnzbdplus/SABnzbdplus/cherrypy/wsgiserver/__init__.py", line 2025, in start self.tick() File "/share/MD0_DATA/.qpkg/SABnzbdplus/SABnzbdplus/cherrypy/wsgiserver/__init__.py", line 2092, in tick s, ssl_env = self.ssl_adapter.wrap(s) File "/share/MD0_DATA/.qpkg/SABnzbdplus/SABnzbdplus/cherrypy/wsgiserver/ssl_builtin.py", line 107, in wrap return s, self.get_environ(s) File "/share/MD0_DATA/.qpkg/SABnzbdplus/SABnzbdplus/cherrypy/wsgiserver/ssl_builtin.py", line 116, in get_environ 'SSL_PROTOCOL': cipher[1], TypeError: 'NoneType' object has no attribute '__getitem__'
TVS-872XT-32GB | Raid 6 | 8 x 6TB WD Gold | 1TB NVMe SSD | QTS 4.5.2 1566
TS-569L-3GB | Raid 5 | 5 x 3TB WD Red Drives | QTS 4.3.4.1368 |
Apps: Python 2.7.12 | Python3 3.5.2.0 | Sherpa qpkg 200917 SABnzbdplus v3.1.1 |SickChill Master v2020.09.20-7 |
Plex Media Server 4.51.1 |

[Old Box] - QNAP TS-509 Pro | Raid 5 - 5 x 1TB WD Green Drives
FW 3.7.3 Build 20120801 -Redundancy backup
User avatar
OneCD
Guru
Posts: 12156
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: [SCRIPT] sherpa.sh

Post by OneCD »

Shadytree wrote: Wed Apr 08, 2020 2:53 pm OneCD, i got the following error message on SAB after the latest Sherpa install... Any ideas?
Hmm... not sure what's happened there. Are you connecting to the SABnzbd UI via HTTP or HTTPS?

Let's try reinstalling Entware:

Code: Select all

cd /share/Public
curl -skLO https://git.io/sherpa.sh && chmod +x sherpa.sh
./sherpa.sh ew
... wait for this to finish (it'll take a while and all your sherpa QPKGs will be restarted).

Then reinstall SABnzbd:

Code: Select all

./sherpa.sh sab 

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
User avatar
Shadytree
Know my way around
Posts: 241
Joined: Thu Feb 12, 2009 4:58 am
Location: United Kingdom

Re: [SCRIPT] sherpa.sh

Post by Shadytree »

Thanks OneCd, i've done the re-instal of Entware etc and will see how that goes and report back if it persists.
Thanks for all the help, it's very much appreciated.
TVS-872XT-32GB | Raid 6 | 8 x 6TB WD Gold | 1TB NVMe SSD | QTS 4.5.2 1566
TS-569L-3GB | Raid 5 | 5 x 3TB WD Red Drives | QTS 4.3.4.1368 |
Apps: Python 2.7.12 | Python3 3.5.2.0 | Sherpa qpkg 200917 SABnzbdplus v3.1.1 |SickChill Master v2020.09.20-7 |
Plex Media Server 4.51.1 |

[Old Box] - QNAP TS-509 Pro | Raid 5 - 5 x 1TB WD Green Drives
FW 3.7.3 Build 20120801 -Redundancy backup
Televisi
Starting out
Posts: 25
Joined: Tue Jul 03, 2018 10:07 pm

Re: [SCRIPT] sherpa.sh

Post by Televisi »

Hi, can I upgrade the existing QSABNZBDPLUS 2.3.9.0 from QNAPClub with the sherpa.sh script? As I found mine has this error every now and then:

Code: Select all

Error [Errno 2] No such file or directory while running par2_repair on set
What will the update process? will the existing configurations lost when I run the ./sherpa.sh SABnzbd ?
User avatar
OneCD
Guru
Posts: 12156
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: [SCRIPT] sherpa.sh

Post by OneCD »

Televisi wrote: Thu Apr 09, 2020 7:27 pm Hi, can I upgrade the existing QSABNZBDPLUS 2.3.9.0 from QNAPClub with the sherpa.sh script?
sherpa will not upgrade an existing QSabNZBdPlus to SABnzbdplus.

You can have both packages installed at the same time. As long as each one is using a different UI port.

Both will run as independent installations.

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
User avatar
Shadytree
Know my way around
Posts: 241
Joined: Thu Feb 12, 2009 4:58 am
Location: United Kingdom

Re: [SCRIPT] sherpa.sh

Post by Shadytree »

OneCD all seems to be working fine now. Thanks for the help with the re-instal.

I do get an error message in the post processing (nzbToMedia) script. 'SickBeard: Failed to post-process - Server returned status 400!'

Do any settings need adjusting here?

*********************************************************************************************************************************************
/share/MD0_DATA/Download/nzbToMedia/eol.py:147: LifetimeWarning: Python 2.7 is no longer supported.
warnings.warn(msg, LifetimeWarning)
[04:11:44] [INFO]::MAIN: Loading config from [/share/MD0_DATA/Download/nzbToMedia/autoProcessMedia.cfg]
[04:11:44] [INFO]::MAIN: Python v2.7 reached end of life 100 days ago.
[04:11:44] [WARNING]::MAIN: Please upgrade to a more recent Python version.
[04:11:44] [INFO]::MAIN: Checking database structure...
[04:11:45] [INFO]::MAIN: Checking if git needs an update
[04:11:51] [INFO]::MAIN: No update needed
[04:11:52] [INFO]::MAIN: nzbToMedia Version:5a6837759d90285664b3cb596662adb5bfbcb2a2 Branch:master (Linux 3.4.6)
[04:11:52] [INFO]::MAIN: #########################################################
[04:11:52] [INFO]::MAIN: ## ..::[nzbToMedia.py]::.. ##
[04:11:52] [INFO]::MAIN: #########################################################
[04:11:52] [INFO]::MAIN: Script triggered from SABnzbd 0.7.17+
[04:11:56] [WARNING]::MAIN: Data from SABnzbd queue could not be parsed
[04:11:59] [WARNING]::MAIN: Data from SABnzbd history could not be parsed
[04:12:00] [INFO]::MAIN: Auto-detected SECTION:SickBeard
[04:12:00] [INFO]::MAIN: Calling SickBeard:tv to post-process:Greys.Anatomy.S16E21.720p.WEB.H264-iNSiDiOUS.nzb
[04:12:01] [INFO]::MAIN: Attempting to auto-detect tv fork
[04:12:01] [INFO]::MAIN: SickBeard:tv fork auto-detection failed
[04:12:01] [INFO]::MAIN: SickBeard:tv fork set to default
[04:12:01] [INFO]::MAIN: FLATTEN: Flattening directory: /share/Multimedia/1.TV/Greys Anatomy/Season 16
[04:12:02] [ERROR]::TRANSCODER: Checking [/share/MD0_DATA/Download/nzbToMedia/tests/test.mp4] has failed
[04:12:02] [INFO]::TRANSCODER: DISABLED: ffprobe failed to analyse test file. Stopping corruption check.
[04:12:02] [ERROR]::TRANSCODER: Checking [/share/MD0_DATA/Download/nzbToMedia/tests/test.mp4] has failed
[04:12:02] [INFO]::TRANSCODER: DISABLED: ffprobe failed to analyse test file. Stopping corruption check.
[04:12:03] [ERROR]::TRANSCODER: Checking [/share/MD0_DATA/Download/nzbToMedia/tests/test.mp4] has failed
[04:12:03] [INFO]::TRANSCODER: DISABLED: ffprobe failed to analyse test file. Stopping corruption check.
[04:12:03] [ERROR]::TRANSCODER: Checking [/share/MD0_DATA/Download/nzbToMedia/tests/test.mp4] has failed
[04:12:03] [INFO]::TRANSCODER: DISABLED: ffprobe failed to analyse test file. Stopping corruption check.
[04:12:03] [ERROR]::TRANSCODER: Checking [/share/MD0_DATA/Download/nzbToMedia/tests/test.mp4] has failed
[04:12:03] [INFO]::TRANSCODER: DISABLED: ffprobe failed to analyse test file. Stopping corruption check.
[04:12:03] [ERROR]::TRANSCODER: Checking [/share/MD0_DATA/Download/nzbToMedia/tests/test.mp4] has failed
[04:12:03] [INFO]::TRANSCODER: DISABLED: ffprobe failed to analyse test file. Stopping corruption check.
[04:12:03] [ERROR]::TRANSCODER: Checking [/share/MD0_DATA/Download/nzbToMedia/tests/test.mp4] has failed
[04:12:03] [INFO]::TRANSCODER: DISABLED: ffprobe failed to analyse test file. Stopping corruption check.
[04:12:03] [ERROR]::TRANSCODER: Checking [/share/MD0_DATA/Download/nzbToMedia/tests/test.mp4] has failed
[04:12:03] [INFO]::TRANSCODER: DISABLED: ffprobe failed to analyse test file. Stopping corruption check.
[04:12:03] [ERROR]::TRANSCODER: Checking [/share/MD0_DATA/Download/nzbToMedia/tests/test.mp4] has failed
[04:12:03] [INFO]::TRANSCODER: DISABLED: ffprobe failed to analyse test file. Stopping corruption check.
[04:12:03] [ERROR]::TRANSCODER: Checking [/share/MD0_DATA/Download/nzbToMedia/tests/test.mp4] has failed
[04:12:03] [INFO]::TRANSCODER: DISABLED: ffprobe failed to analyse test file. Stopping corruption check.
[04:12:03] [ERROR]::TRANSCODER: Checking [/share/MD0_DATA/Download/nzbToMedia/tests/test.mp4] has failed
[04:12:03] [INFO]::TRANSCODER: DISABLED: ffprobe failed to analyse test file. Stopping corruption check.
[04:12:03] [ERROR]::TRANSCODER: Checking [/share/MD0_DATA/Download/nzbToMedia/tests/test.mp4] has failed
[04:12:03] [INFO]::TRANSCODER: DISABLED: ffprobe failed to analyse test file. Stopping corruption check.
[04:12:03] [ERROR]::TRANSCODER: Checking [/share/MD0_DATA/Download/nzbToMedia/tests/test.mp4] has failed
[04:12:03] [INFO]::TRANSCODER: DISABLED: ffprobe failed to analyse test file. Stopping corruption check.
[04:12:03] [ERROR]::TRANSCODER: Checking [/share/MD0_DATA/Download/nzbToMedia/tests/test.mp4] has failed
[04:12:03] [INFO]::TRANSCODER: DISABLED: ffprobe failed to analyse test file. Stopping corruption check.
[04:12:03] [POSTPROCESS]::SICKBEARD: SUCCESS: The download succeeded, sending a post-process request
[04:12:04] [ERROR]::SICKBEARD: Server returned status 400
[04:12:04] [ERROR]::MAIN: A problem was reported in the /share/Download/nzbToMedia/nzbToSickBeard.py script.
Changing to directory: /share/MD0_DATA/Download/nzbToMedia

-- Cleaning bytecode --

No bytecode to clean

-- Cleaning folders: [u'libs', u'core'] --
No folders to clean

Returning to directory: /share/MD0_DATA/.qpkg/SABnzbdplus/SABnzbdplus

-- Cleanup finished --

SickBeard: Failed to post-process - Server returned status 400!

****************************************************************************************************************************************
TVS-872XT-32GB | Raid 6 | 8 x 6TB WD Gold | 1TB NVMe SSD | QTS 4.5.2 1566
TS-569L-3GB | Raid 5 | 5 x 3TB WD Red Drives | QTS 4.3.4.1368 |
Apps: Python 2.7.12 | Python3 3.5.2.0 | Sherpa qpkg 200917 SABnzbdplus v3.1.1 |SickChill Master v2020.09.20-7 |
Plex Media Server 4.51.1 |

[Old Box] - QNAP TS-509 Pro | Raid 5 - 5 x 1TB WD Green Drives
FW 3.7.3 Build 20120801 -Redundancy backup
User avatar
OneCD
Guru
Posts: 12156
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: [SCRIPT] sherpa.sh

Post by OneCD »

Shadytree wrote: Fri Apr 10, 2020 3:46 pm Do any settings need adjusting here?
Sorry, I don't know. You may need to ask Clinton Hall about this one by creating a new issue on GitHub for nzbToMedia.

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
frustin
Know my way around
Posts: 109
Joined: Mon Oct 05, 2009 1:46 am

Re: [SCRIPT] sherpa.sh

Post by frustin »

if i add multiple movies on watcher, how do you force it to go and [try to] download them?
User avatar
OneCD
Guru
Posts: 12156
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: [SCRIPT] sherpa.sh

Post by OneCD »

frustin wrote: Thu Apr 16, 2020 12:53 am if i add multiple movies on watcher, how do you force it to go and [try to] download them?
No need to force, it will automatically try to find them after you add them.

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
frustin
Know my way around
Posts: 109
Joined: Mon Oct 05, 2009 1:46 am

Re: [SCRIPT] sherpa.sh

Post by frustin »

OneCD wrote: Thu Apr 16, 2020 2:57 am
frustin wrote: Thu Apr 16, 2020 12:53 am if i add multiple movies on watcher, how do you force it to go and [try to] download them?
No need to force, it will automatically try to find them after you add them.
I've been adding movies all day and until i hit the download button on any particular movie that has "found" on it, it doesnt send to sabnzb download.
User avatar
OneCD
Guru
Posts: 12156
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: [SCRIPT] sherpa.sh

Post by OneCD »

Sorry, I’m unable to advise further. Maybe you could try asking the Watcher3 community?

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
Post Reply

Return to “Community Apps”