[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
OneCD
Guru
Posts: 12156
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

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

Post by OneCD »

rayza007 wrote: Thu Apr 08, 2021 11:39 pm Below are my logs, I can see a python issue maybe, but I have to admit I am not very clued up.
That makes two of us. :DD

Let's try removing your current cryptography modules, then letting sherpa reinstall them:

Code: Select all

sherpa clean
/opt/bin/pip3 uninstall -y cryptography
opkg remove python3-cryptography
sherpa check

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
rayza007
Starting out
Posts: 12
Joined: Thu Jun 13, 2013 1:20 am

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

Post by rayza007 »

[/quote]
That makes two of us. :DD

Let's try removing your current cryptography modules, then letting sherpa reinstall them:
[/quote]

Ah man you are a star, this worked perfectly! I did have to run it twice, first time it had an error restarting SAB, after running again it is working great. Thank you :)
User avatar
Xmantium
Been there, done that
Posts: 579
Joined: Fri Sep 03, 2010 3:55 am
Location: Manchester, England

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

Post by Xmantium »

My Sabnzbd is saying " Your UNRAR version is 5.30, we recommend version 5.50 or higher.<br />"

is there a commandline to update just unrar?
User avatar
OneCD
Guru
Posts: 12156
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

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

Post by OneCD »

rayza007 wrote: Fri Apr 09, 2021 5:18 pm I did have to run it twice, first time it had an error restarting SAB, after running again it is working great.
Yup, there's still an issue there - seems to depend on which cryptography module is seen first. I'll investigate using only PIP modules where possible. :geek:

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
User avatar
OneCD
Guru
Posts: 12156
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

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

Post by OneCD »

Xmantium wrote: Fri Apr 09, 2021 8:14 pm My Sabnzbd is saying " Your UNRAR version is 5.30, we recommend version 5.50 or higher.<br />"
Sounds like your Entware packages are very out-of-date. The current 'unrar' is 6.0.3. It might be time to upgrade all your packages?

Code: Select all

sherpa upgrade all
Xmantium wrote: Fri Apr 09, 2021 8:14 pm is there a commandline to update just unrar?
Yes, if you'd only like to upgrade 'unrar':

Code: Select all

opkg update
opkg upgrade unrar
sherpa restart sab

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
User avatar
Xmantium
Been there, done that
Posts: 579
Joined: Fri Sep 03, 2010 3:55 am
Location: Manchester, England

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

Post by Xmantium »

Strange thing happened

I did try opkg upgrade unrar - but got this message "Upgrading unrar on root from 5.9.1-1 to 6.0.3-1"
Restarted sab but still displayed im still using 5.30

so i used sherpa upgrade all but now getting " SABYenc module... NOT found! Expecting v4.0.0"
so i used "pip install sabyenc --upgrade" and said "Successfully installed sabyenc-3.3.6"
Im still getting "SABYenc module... NOT found! Expecting v4.0.0"

so i used "sherpa upgrade all" again, still no luck getting sabyenc
User avatar
OneCD
Guru
Posts: 12156
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

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

Post by OneCD »

Xmantium wrote: Sat Apr 10, 2021 7:49 am I did try opkg upgrade unrar - but got this message "Upgrading unrar on root from 5.9.1-1 to 6.0.3-1"
Restarted sab but still displayed im still using 5.30
Can you please reinstall SAB?

Code: Select all

sherpa reinstall sab

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
User avatar
Xmantium
Been there, done that
Posts: 579
Joined: Fri Sep 03, 2010 3:55 am
Location: Manchester, England

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

Post by Xmantium »

Thanks OneCD, perfect!
This project as always amazing!!

Please consider adding sonarr and radarr (without php), im finding shephane ways bit messy with install folders in the main directory

Thanks again!
User avatar
OneCD
Guru
Posts: 12156
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

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

Post by OneCD »

Xmantium wrote: Sat Apr 10, 2021 8:07 am Thanks OneCD, perfect!
This project as always amazing!!
Awesome. :D

You might consider adding a cron job to upgrade your packages automatically: maybe once a week?

Code: Select all

0 1 * * 1 /usr/sbin/sherpa upgrade all
... will do it.
Xmantium wrote: Sat Apr 10, 2021 8:07 am Please consider adding sonarr and radarr (without php), im finding shephane ways bit messy with install folders in the main directory
No chance - they are enormous projects and require a typically "Microsoft" level of oversized libraries to support them. I'd like to keep the supported package sizes down. :wink:

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
User avatar
Xmantium
Been there, done that
Posts: 579
Joined: Fri Sep 03, 2010 3:55 am
Location: Manchester, England

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

Post by Xmantium »

I removed Qoolbox Transmission and installed your Transmission package

How do i add password protect it?
User avatar
OneCD
Guru
Posts: 12156
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

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

Post by OneCD »

You'll need to stop the OTransmission package in your App Center first.

Then edit the [settings.json] file:

Code: Select all

nano $(getcfg OTransmission Install_Path -f /etc/config/qpkg.conf)/config/settings.json
Change these 3 key-value pairs:

Code: Select all

"rpc-authentication-required": true,
"rpc-username": "whatever-username-you'd-like-to-use",
"rpc-password": "insert-your-preferred-cleartext-password-here",
Then start the OTransmission QPKG again.

Your password will be rewritten into [settings.json] encoded.

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
vasarolli
Getting the hang of things
Posts: 59
Joined: Sun Dec 29, 2013 11:04 pm

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

Post by vasarolli »

Hi,

bumped into the same(?) issue Xmantium had after updating packages:
SABYenc module... NOT found! Expecting v4.0.0 - https://sabnzbd.org/sabyenc

Tried to reinstall sab and ew but no luck. any other tips?
User avatar
OneCD
Guru
Posts: 12156
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

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

Post by OneCD »

vasarolli wrote: Mon Apr 12, 2021 12:25 am bumped into the same(?) issue Xmantium had after updating packages:
SABYenc module... NOT found! Expecting v4.0.0 - https://sabnzbd.org/sabyenc
Can you please run this and post the result back here?

Code: Select all

pip3 show sabyenc3
If you get a "package not found" error, please try this instead:

Code: Select all

pip3 show sabyenc

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
User avatar
OneCD
Guru
Posts: 12156
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

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

Post by OneCD »

OneCD wrote: Mon Apr 12, 2021 4:02 am
vasarolli wrote: Mon Apr 12, 2021 12:25 am bumped into the same(?) issue Xmantium had after updating packages:
SABYenc module... NOT found! Expecting v4.0.0 - https://sabnzbd.org/sabyenc
Can you please run this and post the result back here?

Code: Select all

pip3 show sabyenc3
If you get a "package not found" error, please try this instead:

Code: Select all

pip3 show sabyenc
Follow-up: I've re-added the process to recompile the 'sabyenc3' PIP module, as I suspect this was causing the issue you've reported.

Please run a check to ensure this PIP module is recompiled:

Code: Select all

sherpa clean
sherpa check

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
vasarolli
Getting the hang of things
Posts: 59
Joined: Sun Dec 29, 2013 11:04 pm

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

Post by vasarolli »

:D Thanks, did the sherpa clean and the check, works now.
Post Reply

Return to “Community Apps”