Yes will make a note when i get to that point. I will do via each apps config menu rather than via shell though.
[QPKG] sherpa: a mini-package-manager (CLI) beta
- Shadytree
- Know my way around
- Posts: 241
- Joined: Thu Feb 12, 2009 4:58 am
- Location: United Kingdom
Re: [QPKG] sherpa mini-package-manager (CLI)
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
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
- Shadytree
- Know my way around
- Posts: 241
- Joined: Thu Feb 12, 2009 4:58 am
- Location: United Kingdom
Re: [QPKG] sherpa mini-package-manager (CLI)
No easy way of doing this unfortunately, it was a case of pointing each file to a new folder route.
One thing that did surprise/confuse me is looking through the SAB config, SHERPA installed the QPKGs on a Default Base Folder:
Code: Select all
/share/CACHEDEV1_DATA/.qpkg/SABnzbd/config
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
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
- OneCD
- Guru
- Posts: 12147
- Joined: Sun Aug 21, 2016 10:48 am
- Location: "... there, behind that sofa!"
Re: [QPKG] sherpa mini-package-manager (CLI)
I've been thinking about this and it shouldn't be as big a problem as I first feared. So, now I'm wondering if you're doing something non-standard with the QPKGs on your new NAS?
Can you please provide at-least one example of a path that needed changing? I need to see what file you changed, as well as the folder routes before-and-after.
That's correct. All QPKGs are installed into the default volume QPKG installation directory. This is by-design.Shadytree wrote: ↑Wed Jan 27, 2021 12:24 am One thing that did surprise/confuse me is looking through the SAB config, SHERPA installed the QPKGs on a Default Base Folder:, even though I ran Sherpa on /share/publicCode: Select all
/share/CACHEDEV1_DATA/.qpkg/SABnzbd/config
It's not possible to "install" a QPKG in the Public share.
You lost me there. Not sure what you mean.
- Shadytree
- Know my way around
- Posts: 241
- Joined: Thu Feb 12, 2009 4:58 am
- Location: United Kingdom
Re: [QPKG] sherpa mini-package-manager (CLI)
/share/Multimedia/TVOneCD wrote: ↑Wed Jan 27, 2021 2:39 am I've been thinking about this and it shouldn't be as big a problem as I first feared. So, now I'm wondering if you're doing something non-standard with the QPKGs on your new NAS?
Can you please provide at-least one example of a path that needed changing? I need to see what file you changed, as well as the folder routes before-and-after.
/share/Multimedia/Movies
Instead of showing the remaining available space at the bottom of the queue window in SAB it shows 0mb free space with a warning !! rather than the 30.09TB that is available
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
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
- OneCD
- Guru
- Posts: 12147
- Joined: Sun Aug 21, 2016 10:48 am
- Location: "... there, behind that sofa!"
Re: [QPKG] sherpa mini-package-manager (CLI)
Context ... I need context!
- Which file did you modify to make this change?
- What was the variable name in this file?
- Did you decide on a different media folder layout for your new NAS?
It sounds like you have a cache volume on SSDs and a userdata volume on regular HDDS, and you're currently running SABnzbd on the cache volume - correct?
Have you tried "migrating" the SABnzbd application via your QTS App Center to the userdata volume? https://www.qnap.com/en/how-to/knowledg ... as-volume/
- Shadytree
- Know my way around
- Posts: 241
- Joined: Thu Feb 12, 2009 4:58 am
- Location: United Kingdom
Re: [QPKG] sherpa mini-package-manager (CLI)
mmmmm odd, there isn't that option on any of my apps, just :OneCD wrote: ↑Wed Jan 27, 2021 3:54 am It sounds like you have a cache volume on SSDs and a userdata volume on regular HDDS, and you're currently running SABnzbd on the cache volume - correct?
Have you tried "migrating" the SABnzbd application via your QTS App Center to the userdata volume? https://www.qnap.com/en/how-to/knowledg ... as-volume/
Stop
Remove
Display On > Admin Menu, All users Menu
Do I have to enable somewhere?
I did find a short term fix by moving the incomplete and complete folders to the HDDs
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
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
- OneCD
- Guru
- Posts: 12147
- Joined: Sun Aug 21, 2016 10:48 am
- Location: "... there, behind that sofa!"
Re: [QPKG] sherpa mini-package-manager (CLI)
I had to reinit my new NAS and create 2 volumes so I could check this.
It turns-out app volume migration is something that has to be configured in each QPKG at build-time.
I've now enabled volume migration for the SABnzbd app only and released an updated QPKG, but you'll need to upgrade your existing one before you can use it.
Code: Select all
sherpa clean
sherpa upgrade sab
With regard to space, that will be the only fix. SABnzbd will read the free-space on whichever volumes your folder paths point-to, not the volume SABnzbd is installed on. So, you don't need to migrate SABnzbd unless you really want to.
- Shadytree
- Know my way around
- Posts: 241
- Joined: Thu Feb 12, 2009 4:58 am
- Location: United Kingdom
Re: [QPKG] sherpa mini-package-manager (CLI)
I think that is called, going above and beyond !OneCD wrote: ↑Thu Jan 28, 2021 8:07 amI had to reinit my new NAS and create 2 volumes so I could check this.
It turns-out app volume migration is something that has to be configured in each QPKG at build-time.
I've now enabled volume migration for the SABnzbd app only and released an updated QPKG, but you'll need to upgrade your existing one before you can use it.Once this is complete, relaunch your QTS App Center UI, and you should now find the SABnzbd icon drop-down menu has a "migrate to ..." option.Code: Select all
sherpa clean sherpa upgrade sab
With regard to space, that will be the only fix. SABnzbd will read the free-space on whichever volumes your folder paths point-to, not the volume SABnzbd is installed on. So, you don't need to migrate SABnzbd unless you really want to.
I'll see how things go, but is good to know its now possible. Thanks as ever for your unwavering support and dedication
As regards the file directories, I decided to backup my SickChill and SickGear and copy over like you suggested. Saves having to re-add all the media and settings again. So just making sure my paths are matched to my old NAS.
I also thought of a much simpler way of switching control over on the apps from my old NAS to new NAS. Just flip their static IP's ...DOH!
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
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
-
- Easy as a breeze
- Posts: 321
- Joined: Tue May 10, 2011 7:30 pm
Re: [QPKG] sherpa mini-package-manager (CLI)
sherpa status eror: A required NAS system file is missing (/bin/less): aborting ...
Any ideas?
Any ideas?
- OneCD
- Guru
- Posts: 12147
- Joined: Sun Aug 21, 2016 10:48 am
- Location: "... there, behind that sofa!"
Re: [QPKG] sherpa mini-package-manager (CLI)
What firmware-version and build-number is installed on your NAS?
-
- Easy as a breeze
- Posts: 321
- Joined: Tue May 10, 2011 7:30 pm
- OneCD
- Guru
- Posts: 12147
- Joined: Sun Aug 21, 2016 10:48 am
- Location: "... there, behind that sofa!"
Re: [QPKG] sherpa mini-package-manager (CLI)
OK, should be fixed now.
But, you'll need to remove your existing management script manually (as your sherpa installation is presently broken). Use this:
Code: Select all
rm $(getcfg sherpa Install_Path -f /etc/config/qpkg.conf)/cache/sherpa.manager.sh
-
- Easy as a breeze
- Posts: 321
- Joined: Tue May 10, 2011 7:30 pm
Re: [QPKG] sherpa mini-package-manager (CLI)
OK that worked thanks.. what happened?
- OneCD
- Guru
- Posts: 12147
- Joined: Sun Aug 21, 2016 10:48 am
- Location: "... there, behind that sofa!"
Re: [QPKG] sherpa mini-package-manager (CLI)
Mea culpa. I recently found QTS 4.5.1 includes GNU 'less' and thought maybe I had just not noticed it in the the older QTS versions. So I included a startup test for it, which has promptly shown it's NOT in the older firmwares.
-
- Easy as a breeze
- Posts: 321
- Joined: Tue May 10, 2011 7:30 pm
Re: [QPKG] sherpa mini-package-manager (CLI)
Thank again.. I still install from the github because downloads from the club always fail?