Appearance
Updates
SPUNK installs its own updates from Setup. It never updates itself and never looks for one unless you press the button. Every screen reloads onto the new version by itself 10 seconds after it is installed, so install between shows.
The Updates section is on the SPUNK tab of Setup. It needs Setup access.
Check for updates
- Press the cog, open the SPUNK tab and open Updates.
- Press Check for updates. SPUNK asks the update site through the SPUNK server first, then straight from the device you're on, so only one of the two needs internet.
- If a newer version is listed, read its notes and press Install with its version number.
- Read the confirmation and press Install again. SPUNK keeps the setup and the version running now, writes the update, checks the server is serving it, and reloads this screen. While it works, this screen shows Updating SPUNK and can't be used; it takes about 10 seconds.
While the update is written, every other screen says SPUNK is being updated. When it is done, each one counts down from 10 seconds in its banner and reloads onto the new version, whatever it is doing. Reload now reloads straight away.
A reload takes a couple of seconds. Audio isn't affected: listening and patching are set on the base stations and in Reaper, not in the screen. Changes not yet applied on a screen, such as routing changes waiting for Apply, are lost.
Install from a file
Use this when neither the SPUNK server nor your device has internet.
- On a computer with internet, download the update file from spunk.teapot.media/updates. Its name is
spunk-update-followed by the version, ending.json. - Bring the file to a device that can open SPUNK with Setup access.
- In Updates, press Install from file… and pick the file.
Going back
After an update, Updates has two more buttons:
- Go back to the version before. The update is kept, so the button then offers the way forward again.
- Use the installed version. This removes updates installed from Setup. The SPUNK server then serves the version it was installed with from the zip.
Both ask first. Every screen then reloads in the same way as after an update.
Stable and beta
Releases offered chooses which versions Check for updates lists. Beta gets new versions first. Switching from Beta to Stable never takes a version away: the server stays on what it has until a stable release overtakes it, or you go back.
What SPUNK checks before installing
- The file is signed by SPUNK's maker. A file that isn't, or that was changed after signing, is refused and nothing is written.
- The SPUNK server is new enough. Some updates need a newer
nginx.conf. SPUNK then says so and tells you how to update the server; see Updating. - Your licence. If your key doesn't cover the new version, SPUNK warns you that it will show licence reminders, and installs only if you confirm. Everything keeps working either way; see Licence.
Limits and gotchas
- An update replaces the page only.
nginx.confand the SPUNK extension for Reaper are updated from the release zip, as in Updating. - This manual is part of the zip, so the copy on your SPUNK server stays at the zip's version. The copy at spunk.teapot.media/docs is the current one.
- A SPUNK server set up before v0.34.0 needs its
nginx.confreplaced once before it can take updates from Setup. - While an update is being written, the screen doing it stops reading base stations for about 10 seconds. Other screens carry on.
- Anyone who can reach the SPUNK server on the network can write to it, as with the rest of SPUNK's settings. The signature check runs in the screen that installs, not on the server.
Where updates are kept
| File on the SPUNK server | What it is |
|---|---|
html/app/index.html | The update in use. Deleting it returns to the installed version. |
html/app/index-prev.html | The version before, for Go back |
html/app/version.json | What was installed, when, and from which screen |
html/app/layout-before.json | The setup as it was before the last update |