Online renewal, update notice, date-rollback guard, encrypted cloud backup
NextPOS 1.46.0 — Online renewal, update notice, date-rollback guard, encrypted cloud backup
No schema change (still 14500). The new settings live in app_settings. Existing licences, backups and backup settings keep working untouched.
Licence renewal without a file
- NextPOS asks the NextPOS website for a newer licence for this PC at start-up and after each sign-in (at most once every 6 hours). When a payment has been approved on the site, the renewed licence is downloaded, verified and activated with no action from the shop.
- Check online for a renewed license on the sign-in screen does the same on demand. An expired shop pays, clicks it, and signs in. Check online is also in Production › License.
- The downloaded licence passes the same signature and Installation ID checks as a licence file. A working licence is only replaced by one that lasts longer; a perpetual licence is never replaced.
- In the last 7 days of a dated licence, staff see one reminder after sign-in.
- Offline shops are unaffected: the stored licence keeps working and the licence file route is unchanged.
- The PC must be registered under My account on the website (Installation ID) for the server to answer; otherwise the message says so.
Update notice
After sign-in, administrators and managers see a small notice when the website publishes a newer version than the one installed: Download opens the download page and What's new opens the release notes in the browser. Nothing is downloaded or installed by NextPOS itself.
PC date set back
- Trial and rental deadlines are now measured against the latest time NextPOS has recorded, so setting the Windows date back gains no time.
- If the Windows date is more than a day behind that record, trial and rental installations stop at the sign-in screen with the reason (state CLOCK) until the date is corrected. Perpetual licences are not affected.
- Check online resynchronises the record with the server's time. Use it if the PC's date was once set far in the future by mistake and NextPOS now reports the licence as expired.
- The record is kept in the database and in a
license-clockfile beside it, so restoring an older backup does not move it back.
Encrypted cloud backup
Settings › Backups › Off-PC protection.
- Choose the Google Drive or OneDrive folder on the PC (detected folders are suggested), set a recovery password, and save. NextPOS writes and verifies an encrypted copy immediately, so a wrong folder shows at once.
- After that, every verified backup gets an encrypted copy in
<folder>\NextPOS-Cloud-Backups\PC-<first 8 of Installation ID>\*.npbk. The cloud drive uploads it. The newest 14 copies are kept (3–365). - NextPOS now re-checks the daily backup every hour while it is open, so a PC that is never switched off still gets each day's backup and cloud copy.
- A failed cloud copy never fails the local backup. It shows in the panel and as a notice to the administrator on the dashboard.
- The plain
.sqlite3backups are never copied to the cloud folder. Do not point the older Secondary folder setting at a cloud drive; it copies unencrypted files.
Restoring on a replacement PC: install NextPOS, sign in to the same cloud drive, activate, create the administrator, then Settings › Backups › Restore from a cloud copy… › type the folder and the recovery password › Decrypt. The backup appears in the restore points list; Verify, then Restore as usual.
If the shop forgot the recovery password: each copy is also encrypted to the NextPOS licence issuer key. On the PC that holds issuer-private.pem:
npm run backup:recover -- --file "D:\from-shop\nextpos-daily-....npbk"
It writes a checked .recovered.sqlite3 next to the file. --info shows the shop, PC and date without needing the key. Whoever holds the issuer key can therefore read any shop's cloud backup; keep that key as protected as before.
Limits
- The update notice only tells; installing is still a manual download and run. The installer is still unsigned, so Windows shows an unknown-publisher warning.
- Someone who deletes the whole NextPOS data folder still gets a fresh trial.
- Cloud backup depends on the shop's cloud drive app being signed in and syncing. NextPOS confirms the encrypted file was written to the folder, not that the drive uploaded it.
- A recovery password change applies to new copies. Older copies still open with the password that was set when they were written.