[QPKG] SortMyQPKGs

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
Ask me anything
Posts: 8057
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: [QPKG] SortMyQPKGs

Post by OneCD » Wed Nov 14, 2018 1:37 pm

Don wrote:
Wed Nov 14, 2018 1:29 pm
I installed SortMyQPKGs and set up the ALPHA and OMEGA custom files. I then upgraded my TVS-663 to firmware 4.3.5.0756 and rebooted. Now the NAS hangs at mounting volume during the boot process. Any chance SortMyQPKGs is messing things up?
Not if the bootup is hanging at "mounting volume...".

QPKGs are loaded during the "starting services..." stage which comes next.
Don wrote:
Wed Nov 14, 2018 1:29 pm
I also noticed that when I boot the 663 my TVS-882BR starts having networking issues.
Yes, it may well be those networking packages you've listed.

That's why keen hackers like yourself have to shuffle and tweak the order and find out what works and what doesn't. :wink:

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage

User avatar
Don
Guru
Posts: 12007
Joined: Thu Jan 03, 2008 4:56 am
Location: Long Island, New York

Re: [QPKG] SortMyQPKGs

Post by Don » Wed Nov 14, 2018 10:55 pm

It hangs even when the drives are pulled so probably not the QPKG. I’ll pull here QM2 cache card as soon as i get a chance.
Read the Online Manuals and use the forum search feature before posting.

It is a recommended to use RAID and have external backups. RAID will protect you from disk failure, keep your system running, and data accessible while the disk is replaced and the RAID rebuilt. Backups will allow you to recover data that is lost or corrupted, or from system failure. One does not replace the other.

Submit bugs and feature requests to QNAP via their Helpdesk app.

NAS: TVS-882BR | F/W: 4.3.6.0895 | 40GB | 2 x M.2 SATA RAID 1 (System/VMs) | 4 x M.2 NMVe QM2-4P-384A RAID 5 (Cache) | 5 x 4TB HDD RAID 6 (Data) | 1 x Blu-ray
NAS: TVS-663 | F/W: 4.4.2.1320 | 16GB | 2 x M.2 NMVe QM2-2P RAID 1 (Cache) | 4 x 4TB RAID 5
Apps: Boinc, Squid, DNSMasq, PLEX, iDrive, QVPN, QLMS, MP3fs, HBS, Entware, DLstation, +others

User avatar
Don
Guru
Posts: 12007
Joined: Thu Jan 03, 2008 4:56 am
Location: Long Island, New York

Re: [QPKG] SortMyQPKGs

Post by Don » Thu Nov 22, 2018 5:49 am

Finally got a change to install the QPKG on both my units. I use the custom files on both and it is working great. Thanks for the updates!
Read the Online Manuals and use the forum search feature before posting.

It is a recommended to use RAID and have external backups. RAID will protect you from disk failure, keep your system running, and data accessible while the disk is replaced and the RAID rebuilt. Backups will allow you to recover data that is lost or corrupted, or from system failure. One does not replace the other.

Submit bugs and feature requests to QNAP via their Helpdesk app.

NAS: TVS-882BR | F/W: 4.3.6.0895 | 40GB | 2 x M.2 SATA RAID 1 (System/VMs) | 4 x M.2 NMVe QM2-4P-384A RAID 5 (Cache) | 5 x 4TB HDD RAID 6 (Data) | 1 x Blu-ray
NAS: TVS-663 | F/W: 4.4.2.1320 | 16GB | 2 x M.2 NMVe QM2-2P RAID 1 (Cache) | 4 x 4TB RAID 5
Apps: Boinc, Squid, DNSMasq, PLEX, iDrive, QVPN, QLMS, MP3fs, HBS, Entware, DLstation, +others

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

Re: [QPKG] SortMyQPKGs

Post by OneCD » Thu Nov 22, 2018 5:57 am

Good work Don. :D

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage

leonalderton
New here
Posts: 3
Joined: Sat Dec 08, 2018 12:26 am

Re: [QPKG] SortMyQPKGs

Post by leonalderton » Tue Jan 15, 2019 7:14 am

I have a TS453-Be with the latest firmware (4.3.6) and my system hung a couple of days ago with a shutdown, probably as a result of having installed Plex. Anyway, I checked the Qnapclub store, and my NAS isn't in the download list. Any chance it can be added, or can I use one of the other NAS in the list?

Thanks...

User avatar
Toxic17
Ask me anything
Posts: 5432
Joined: Tue Jan 25, 2011 11:41 pm
Location: Planet Earth
Contact:

Re: [QPKG] SortMyQPKGs

Post by Toxic17 » Tue Jan 15, 2019 5:48 pm

leonalderton wrote:
Tue Jan 15, 2019 7:14 am
I have a TS453-Be with the latest firmware (4.3.6) and my system hung a couple of days ago with a shutdown, probably as a result of having installed Plex. Anyway, I checked the Qnapclub store, and my NAS isn't in the download list. Any chance it can be added, or can I use one of the other NAS in the list?

Thanks...
you will need to specify the model of NAS you have.
Regards Simon

QTS 4.x User Guidex

QNAP Club Repository
Submit a ticket • QNAP Helpdesk
QNAP Tutorials, User Manuals, FAQs, Downloads, Wiki
When you ask a question, please include the following


NAS: TS-473-32GB QM2-2P QXG-10G1T 4.4.2.1354 • TVS-463-16GB 4.4.2.1354 QM2-2S10G1TB • TS-459 Pro 2GB 4.2.6 • TS-121 4.3.3.1161 • APC Back-UPS ES 700G •
QPKG's: Plex 1.19.3 • Apache73 v2443.74070 • QSonarr 3.0.3.809 • QNBZGet 21.0 • phpMyAdmin 5.0.2 • Qmono 6.80.105 • McAfee 3.1.0 -6010 • HBS 3.0.200424 • LEgo v3.6.0
Network: VM Hub 3.0 <500/35> • UniFi USG Pro 4 • UniFi USW-16-150W • UniFi USW-8-60W • UniFi CloudKey Gen2+ • UniFi G3-Flex • UAP AC Pro • UAP AC Lite • SLM2008 • Dell 7050 MFF •

leonalderton
New here
Posts: 3
Joined: Sat Dec 08, 2018 12:26 am

Re: [QPKG] SortMyQPKGs

Post by leonalderton » Tue Jan 15, 2019 6:44 pm

I did already. It's a TS-453-Be...

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

Re: [QPKG] SortMyQPKGs

Post by OneCD » Wed Jan 16, 2019 3:25 am

leonalderton wrote:
Tue Jan 15, 2019 6:44 pm
I did already. It's a TS-453-Be...
If you add the Qnapclub Store as a 3rd-party repo in your QTS App Center, only packages compatible with your NAS will be displayed. ;)

SortMyQPKGs only contains a BASH script, so all packages are identical.

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage

leonalderton
New here
Posts: 3
Joined: Sat Dec 08, 2018 12:26 am

Re: [QPKG] SortMyQPKGs

Post by leonalderton » Wed Jan 16, 2019 3:42 am

Thanks very much. Downloaded and installed...

Maximilious
New here
Posts: 5
Joined: Sat Jul 15, 2017 2:44 am

Re: [QPKG] SortMyQPKGs

Post by Maximilious » Tue Mar 19, 2019 12:11 am

Excuse my ignorance as I'm not sure what I need to add to your scripts to get this to work. I'd be happy to test it out if you can point me in the right direction.

I need these dependencies, in this order if possible:

QJDK8
QMongoDB
Unifi

Also, the person managing the Unifi app is pretty good about releasing updates as Ubiquiti dolls them out, so what happens after an application update? Does a new dependency have to be built based on the version number, or are you matching just part of the package name?

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

Re: [QPKG] SortMyQPKGs

Post by OneCD » Tue Mar 19, 2019 3:29 am

Maximilious wrote:
Tue Mar 19, 2019 12:11 am
I need these dependencies, in this order if possible:

QJDK8
QMongoDB
Unifi
The 'default' SortMyQPKGs lists already specify this order. ;)

'QJDK8' and 'QMongoDB' are listed in the [ALPHA.default] file, so they are loaded early. 'Unifi' will be pushed into the middle group of unspecified packages and so will be loaded after 'QJDK8' and 'QMongoDB'.

If you really need 'Unifi' to load directly after 'QMongoDB' (rather than sometime later in the boot process), then make a copy of the [ALPHA.default] file and call it [ALPHA.custom]. Edit the [ALPHA.custom] file and include the internal package name for the 'Unifi' QPKG. SortMyQPKGs preference is to use [ALPHA.custom] instead of [ALPHA.default].

The internal package name can be seen in [/etc/config/qpkg.conf]. It's the name between the square brackets at the start of that package's configuration block.
Maximilious wrote:
Tue Mar 19, 2019 12:11 am
Does a new dependency have to be built based on the version number, or are you matching just part of the package name?
Sorting is performed by exact-matching the internal QPKG name (as designated by the package maintainer). QPKGs do not change their internal names when the packaged application is updated.

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage

Maximilious
New here
Posts: 5
Joined: Sat Jul 15, 2017 2:44 am

Re: [QPKG] SortMyQPKGs

Post by Maximilious » Tue Mar 19, 2019 8:13 pm

OneCD wrote:
Tue Mar 19, 2019 3:29 am
The 'default' SortMyQPKGs lists already specify this order. ;)
OneCD wrote:
Tue Mar 19, 2019 3:29 am
Sorting is performed by exact-matching the internal QPKG name (as designated by the package maintainer). QPKGs do not change their internal names when the packaged application is updated.
Awesome! Thanks for the response!

_Floyd
Starting out
Posts: 12
Joined: Sun Sep 16, 2018 6:35 pm

Re: [QPKG] SortMyQPKGs

Post by _Floyd » Tue Mar 26, 2019 8:13 pm

Can you add Xteve to start before Plex?

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

Re: [QPKG] SortMyQPKGs

Post by OneCD » Wed Mar 27, 2019 3:20 am

_Floyd wrote:
Tue Mar 26, 2019 8:13 pm
Can you add Xteve to start before Plex?
Done. This will be included in the next release. :)

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage

maroonwarrior71
New here
Posts: 2
Joined: Sun Mar 25, 2018 7:51 am

Re: [QPKG] SortMyQPKGs

Post by maroonwarrior71 » Sun Jul 14, 2019 4:19 am

Would it be possible to have QVPN start earlier in the Alpha list than Plex and xTeVe? Weird things happen sometimes when Plex starts with remote access without VPN, then VPN becomes active. I figure it'll be easily fixed by just starting QVPN first.

Also - is there a way to do my own custom Alpha / Omega lists? or is it all centrally controlled?

Post Reply

Return to “Community Apps”