When I switch the Auto-update schedule off. It re-enabled itself when you click off the page. There is no " Save Changes " button to confirm the change
9 replies
tomspark wrote:
Nailed it, and it's not you — that's a real bug. When you flip the toggle off, the panel it lives in collapses and takes the Save button down with it, so the off-state never gets saved and it snaps back on next time you open the page. Classic chicken-and-egg. I've fixed it (the Save button now stays put when you toggle off) and it'll land in the next update. If you want auto-updates fully off before then, there's a quick one-time terminal step — say the word and tell me your install path (default is /opt/sparkbox) and I'll give you the exact command. Thanks for the clear report.
Ves wrote:
Can you shoot over the terminal code for this, please? I cannot disable Auto-Update through the dashboard, and I'd really like to have it off. My install path is the default!
Chris wrote:
Good news — you don't need the terminal for this any more. That missing Save button was the bug itself: it sat inside the panel that collapses when you switch the toggle off, so the off-state never had a way to be saved. Tom shipped the fix in v1.6.316 — the Save button now stays put. Your box is likely still on an older build, so from SSH: sudo sparkbox upgrade Then Updates tab - Auto-Update Schedule - untick "Enable scheduled updates" - click Save Schedule. It should hold this time. If it still snaps back on after that, tell me which version you're on and I'll take it further. — Chris
Ves wrote:
I'm on 1.6.465 currently. Attempting to uptick "Enable scheduled updates" doesn't do anything at all. I have tried on mobile and desktop with the same results. I also can't even change the update schedule. Perhaps I'm missing something. Below is what I'm seeing:
Chris wrote:
You're not missing anything — your screenshot answers it. Both the toggle and Save Schedule are greyed out, because the dashboard disables those two controls on a box with no activated license. That is why clicking does nothing on phone and desktop alike. Open Settings → License. If you see an email box and an Activate button rather than a tier badge, that's the cause — leave the key field blank and it mints a free one, no payment. The toggle then comes alive: untick it, then press Save Schedule. The fault is ours, though. That nightly update runs whether a box is licensed or not, so the switch that stops it should never have been locked. I'm flagging that to Tom. — Chris
Ves wrote:
I followed the steps to activate a free license and it did not change the issue for scheduled updates. It almost seemed like a free one was already activated. Before clicking "Activate", it said "Activations: 1 of 3 used" and then when I entered my email and clicked "Activate", it showed red text that said "Key status: free". We can keep troubleshooting if it helps fix an issue that others might run into, but in the meantime, can I get the SSH code? My sparkbox keeps updating and I'd rather have control over when that happens!
Chris wrote:
That red "Key status: free" isn't you — our licence server stamps free keys with that status and then refuses to validate them, so the toggle can never wake up that way. Ignore what I said about activating; I've put it in front of Tom. The terminal route you asked for: sudo nano /opt/sparkbox/state/updates.json In the "schedule" block, change "enabled": true to "enabled": false, save (Ctrl+O, Enter, Ctrl+X), then run: sudo sparkbox restart dashboard That stops the nightly app-image run and the self-installing release upgrades. Your box still checks daily and tells you when a new SparkBox is out — it just won't install it for you. — Chris
Chris wrote:
Update for you, and it came straight out of this thread. That red "Key status: free" was our own licence server refusing the very key it had minted a second earlier — every free signup hit it, which is why the toggle could never wake up. Tom shipped the fix today in v1.6.484. Your existing key should now validate on its own. Reload Settings → License; once a tier badge shows, the Auto-Update Schedule controls come alive — untick "Enable scheduled updates", then Save Schedule. The updates.json edit stays valid either way, so nothing breaks if you leave it as is. If it still comes back red, tell me and I'll take it back to Tom. — Chris
Ves wrote:
Awesome. Yep, license behavior working now exactly as stated above (apart from a toast notification that includes the blurb "auto updates are now enabled", which, if someone has gone through editing the .json file, I think they'll know that can be ignored.) The auto update toggle remained off since we edited that json and is now functional if I want to change through the dashboard instead. Thanks Tom and 'Chris'!