OneCDOnly / RunLast

run custom shell-scripts after QPKG startup.
GNU General Public License v3.0
37 stars 6 forks source link

UPDATE QTS max version to 5.2.2 #13

Open rivy opened 1 day ago

rivy commented 1 day ago

I've had to upgrade my firmware on one of my NAS (a TVS-H1288X) to "QuTS hero h5.2.2.2952" in order to debug a Hybrid Backup Sync 3 (HBS3) problem (and hopefully protect against some of the newer malware/OpenSSH RCE attack vectors).

Unfortunately, both RunLast and SortMyQPKGs are now being shown as incompatible. I believe it's only the QTS max version setting.

Would it be possible to raise the max version limits?

Thanks for looking at this issue.

OneCDOnly commented 23 hours ago

Hi Roy. 🤓

Sorry, SortMyQPKGs and RunLast are no-longer effective due to changes in QTS (and QuTS Hero) 5.2.0 onwards.

So, I've capped them at 5.1.8. If you're running 5.2.0 or later, you can uninstall them, as the manipulation methods they use on the qpkg.conf file are now ignored by the newer QTS/QuTS versions.

I remain hopeful that RunLast can be fixed, but I need to find a way to monitor the startup state of all other QPKGs. I haven't yet figured-out a way to do this. Suggestions are welcome.

rivy commented 14 hours ago

Hiya, 👋🏻.

Ah, thanks for the explanation.

I've downgraded the firmware back to 5.1.8 (specifically, 5.1.8.2823 build 20240712).

Is 5.1.9 possible? It contains some OpenSSH algorithm updates. If not, no worries. I'll make the 5.1.8 OpenSSH version work.

Thanks again for your work on all this! You've always made the extra functionality for these QNAP NAS boxes so much easier to use! I know it's time consuming... but much appreciated.

OneCDOnly commented 10 hours ago

Oops, where did this 5.1.9 come from? I must have missed that release. 😮

Looking at the release notes, I agree: SortMyQPKGs and RunLast should still work fine in 5.1.9.

I'll release updated versions shortly.

Thanks again for your work on all this! You've always made the extra functionality for these QNAP NAS boxes so much easier to use! I know it's time consuming... but much appreciated.

Cheers mate, I appreciate your feedback and suggestions too. 🤓

OneCDOnly commented 9 hours ago

Short update: I'm just waiting to confirm a detail for Stephane's latest MySQL QPKG before releasing the new SortMyQPKGs version. Not sure how long this will take though.

In the meantime, you can manually increase the supported maximum QTS/QuTS version for your existing SortMyQPKGs (as-long as it's already installed) with:

setcfg SortMyQPKGs FW_Ver_Max 5.1.9 -f /etc/config/qpkg.conf

... and RunLast with:

setcfg RunLast FW_Ver_Max 5.1.9 -f /etc/config/qpkg.conf