[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.
User avatar
dirkonline
Easy as a breeze
Posts: 250
Joined: Mon Oct 18, 2010 4:08 pm

Re: [QPKG] sherpa mini-package-manager

Post by dirkonline » Fri Oct 23, 2020 1:14 am

Oh dear, I was just about to upgrade QTS to 4.5.1 when I read the changelog and...

Code: Select all

Known Issues
[b]After a system update to QTS 4.5.1, users cannot run applications that lack digital signatures[/b].
Thanks QNAP. Now hoping they did not break anything significant in the version I am currently running.

craZyC
Starting out
Posts: 13
Joined: Wed May 24, 2017 1:00 pm

Re: [QPKG] sherpa mini-package-manager

Post by craZyC » Fri Oct 23, 2020 12:47 pm

After a system update to QTS 4.5.1, users cannot run applications that lack digital signatures.
I actually do not think that is 100% the case, I may be different as i have the original sherpa script..
noticed that Sab, Par 2, Sort my QPKG and Entware all showed an exclamation as no digital signature with the only option to remove. I checked and all apps were actually running and working fine.
The work around or way to check that I found after a google search was to was to first go into the app centre and settings and ensure Allow applications without a digital signature to be installed. Step 2 is to go into Qboost and select the elliptical at the bottom right which is app management and ensure your app is enabled. For me everything was running fine.
I hope this helps until they fix it
Intel Core i7 6700K @4GB, Asus Z170Pro, 32gb Ripjaw 2400c, Asus ROG GTX 1070 8GBOC,Samsungs 850 Pro 256GB SSD, Samsung 850 Evo 500GB SSD
Replaced my i7 6700K 16GB 2400c Asus GTX750TI Samsung 850 EVo 256GB, 4 x 2TB Segate Barracuda Kodi v17 Final with AeonMQ7 fully skinned Inside a Silverstone HiFi enclosure.
with
QNAP-TS453BE 8GB 4 x 4TB Seagate Ironwolf

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

Re: [QPKG] sherpa mini-package-manager

Post by OneCD » Fri Oct 23, 2020 1:12 pm

craZyC wrote:
Fri Oct 23, 2020 12:47 pm
The work around or way to check that I found after a google search was to was to first go into the app centre and settings and ensure Allow applications without a digital signature to be installed. Step 2 is to go into Qboost and select the elliptical at the bottom right which is app management and ensure your app is enabled. For me everything was running fine.
Awesome! Good work! :geek:

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage

mrx9qn1
New here
Posts: 3
Joined: Mon Mar 23, 2020 11:41 pm

Re: [QPKG] sherpa mini-package-manager

Post by mrx9qn1 » Mon Oct 26, 2020 12:24 am

Hi - thanks for this. I have version 3 in the app centre, but version 2 is no longer showing but it is still running so not sure how to uninstall.

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

Re: [QPKG] sherpa mini-package-manager

Post by OneCD » Mon Oct 26, 2020 4:06 am

mrx9qn1 wrote:
Mon Oct 26, 2020 12:24 am
I have version 3 in the app centre, but version 2 is no longer showing but it is still running so not sure how to uninstall.
Which application? :'

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage

craZyC
Starting out
Posts: 13
Joined: Wed May 24, 2017 1:00 pm

Re: [QPKG] sherpa mini-package-manager

Post by craZyC » Tue Oct 27, 2020 3:41 pm

Hi OneCD

Quick question I noticed on github you have added the newer signed version of Entware. Will that still work with your old script, if i recall stop then restart the app updates ?? or am I wrong. Also have you heard anything about par2 and Sab..
Still holding off installing your new script until the firmware fixes come in if any
Intel Core i7 6700K @4GB, Asus Z170Pro, 32gb Ripjaw 2400c, Asus ROG GTX 1070 8GBOC,Samsungs 850 Pro 256GB SSD, Samsung 850 Evo 500GB SSD
Replaced my i7 6700K 16GB 2400c Asus GTX750TI Samsung 850 EVo 256GB, 4 x 2TB Segate Barracuda Kodi v17 Final with AeonMQ7 fully skinned Inside a Silverstone HiFi enclosure.
with
QNAP-TS453BE 8GB 4 x 4TB Seagate Ironwolf

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

Re: [QPKG] sherpa mini-package-manager

Post by OneCD » Wed Oct 28, 2020 2:57 am

craZyC wrote:
Tue Oct 27, 2020 3:41 pm
Quick question I noticed on github you have added the newer signed version of Entware. Will that still work with your old script, if i recall stop then restart the app updates ?? or am I wrong.
Yes, the new version will work fine. Whenever I push an updated package to GitHub, I update the sherpa management script at the same time. Your local sherpa QPKG will automatically start using the new one.

However, Entware will need to be reinstalled as I haven't written an upgrade process for it yet:

Code: Select all

sherpa reinstall ew
craZyC wrote:
Tue Oct 27, 2020 3:41 pm
Also have you heard anything about par2 and Sab..
Par2 is a package maintained by QNAP_Stephane. When I see that Par2 has been signed, I'll update sherpa to use it.

The SABnzbd QPKG is maintained by myself, and I'm unable to sign packages yet. Still waiting for QNAP to tell me how. :(

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage

niwa2
Experience counts
Posts: 1784
Joined: Sat Oct 13, 2007 2:21 am
Location: Germany

Re: [QPKG] sherpa mini-package-manager

Post by niwa2 » Wed Oct 28, 2020 5:08 am

With the latest firmware unsigned QPKG can be run again from the app center.
Only thing I noticed was that I had to add "Status = complete" to the according sections of the QPKGs in /etc/config/QPKG.conf

I have not tried installing any. So it is possible that the installation process is still broken.
TVS-1282 | Version 4.4.3 | 3x 12TB WDC WD121KRYZ RAID5
TS-639 Pro | Version 4.2.6 | 5x 3TB WDC WD30EFRX RAID5 as Backup
LianLi EX-50 with 3x 2TB SAMSUNG HD203WI + 2x 2TB SAMSUNG HD204UI in RAID5 as Backup drive
LianLi EX-503 with 5x 2TB SAMSUNG HD204UI in RAID5 as Backup drive

kentuckyjo
New here
Posts: 2
Joined: Fri Aug 04, 2017 7:48 am

Re: [QPKG] sherpa mini-package-manager

Post by kentuckyjo » Wed Oct 28, 2020 3:24 pm

OneCD wrote:
Wed Oct 21, 2020 6:41 am
aslakege wrote:
Tue Oct 20, 2020 2:10 pm
All of the packages were set at "Always enabled", but I tried disabling them and then re-enabling them. I then ran

sherpa reinstall SickChill debug

Code: Select all

/share/CACHEDEV1_DATA/.qpkg/sherpa/cache/sherpa.manager.sh: line 4009: /dev/fd/62: No such file or directory
This error is something I can't do much about. It means the current QTS BASH isn't handling file-descriptors properly. :(

It occurred several times in your last sherpa session. I suspect this is another breakage in QTS 4.5.1
aslakege wrote:
Wed Oct 21, 2020 2:46 am
I am now running 4.4.3.1439, and sherpa installed everything with no glitches whatsoever. Working like a charm. :)
No worries Aslak, downgrading looks like a good idea. Hopefully we can get sherpa working on the new QTS versions. I don't have access to it myself so it's a bit difficult to do. :lol:
I ran into this issue as well. Ended up downgrading and got everything working again but had a pending upgrade to Sabnzbd I wanted to do as I was now almost a year out of sync with the latest update. But then I got that same /dev/fd error when trying to update, even though I was back on the old firmware.

Anywho, I was able to get around it by manually creating the link and trying the upgrade command again and everything was successful:

Code: Select all

ln -s /proc/self/fd /dev/fd
sherpa upgrade sabnzbd debug

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

Re: [QPKG] sherpa mini-package-manager

Post by OneCD » Wed Oct 28, 2020 4:07 pm

Hi and welcome to the forum. :)
kentuckyjo wrote:
Wed Oct 28, 2020 3:24 pm
Anywho, I was able to get around it by manually creating the link and trying the upgrade command again and everything was successful:

Code: Select all

ln -s /proc/self/fd /dev/fd
Nice! I haven't seen that one before. Should I add that to sherpa? :geek:

Did you find that the [/dev/fd] directory was missing on your NAS?

I was guessing the allocated file-descriptor wasn't being created and was causing the error. Couldn't understand why, though. :S

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage

kentuckyjo
New here
Posts: 2
Joined: Fri Aug 04, 2017 7:48 am

Re: [QPKG] sherpa mini-package-manager

Post by kentuckyjo » Thu Oct 29, 2020 4:35 am

OneCD wrote:
Wed Oct 28, 2020 4:07 pm
Hi and welcome to the forum. :)

Nice! I haven't seen that one before. Should I add that to sherpa? :geek:

Did you find that the [/dev/fd] directory was missing on your NAS?

I was guessing the allocated file-descriptor wasn't being created and was causing the error. Couldn't understand why, though. :S
Thank you! Long time lurker and appreciator of your work.

I'm not sure if it should be added to sherpa. I don't know enough about how it all works to advise. What I can say is that /dev/fd did not exist on my NAS when I encountered the issue. Could be a byproduct from upgrading the 4.5.1.1465 then downgrading to 4.4.3.1439. From what I've read, it's supposed to and is the system's responsibility to ensure it's there.

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

Re: [QPKG] sherpa mini-package-manager

Post by OneCD » Thu Oct 29, 2020 5:18 am

kentuckyjo wrote:
Thu Oct 29, 2020 4:35 am
What I can say is that /dev/fd did not exist on my NAS when I encountered the issue. Could be a byproduct from upgrading the 4.5.1.1465 then downgrading to 4.4.3.1439. From what I've read, it's supposed to and is the system's responsibility to ensure it's there.
Agree, but I'll add a check-and-create for this into sherpa anyway.

Cheers! :D

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage

The Mask
Starting out
Posts: 37
Joined: Sun Jan 10, 2016 2:18 am

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

Post by The Mask » Sun Nov 08, 2020 11:25 pm

Hi OneCd,

I installed the Deluge package but I don't see any plugins that normally are included in the package.

Is this a known issue?

I installed both server and web packages.

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

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

Post by OneCD » Mon Nov 09, 2020 5:21 am

The Mask wrote:
Sun Nov 08, 2020 11:25 pm
I installed the Deluge package but I don't see any plugins that normally are included in the package.

Is this a known issue?
Ah, I don't know. :'

This version of Deluge is installed via Entware, so it will only have the capabilities of the version compiled for Entware.

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage

User avatar
quassum
Know my way around
Posts: 212
Joined: Thu Jan 21, 2010 12:21 am

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

Post by quassum » Mon Nov 09, 2020 9:51 pm

Is there any chance you could add a Youtube download solution to your excellent mini package manager? I'm looking for something like https://github.com/Tzahi12345/YoutubeDL-Material that's able to automatically download new videos from a list of channels I'm interested in.

Post Reply

Return to “Community Apps”