Appearance
Updating
Most updates install from inside SPUNK: Setup, SPUNK, Updates. Every screen reloads onto the new version by itself. Your setup stays as it is.
Two things still update by hand, when a release changes them: nginx.conf and the SPUNK extension for Reaper. The release notes say when they changed, and SPUNK refuses an update that needs a newer nginx.conf until it is replaced.
Before you update
- Read the changes for the new version. They lead with what needs action.
- Back up your setup. Updating doesn't touch it, and a backup costs one press.
- Pick a quiet moment. Every screen reloads about 10 seconds after an update, and anything not yet applied in an open window is lost.
Update from Setup
See Updates: Check for updates, or Install from file… on a SPUNK server with no internet.
Replace nginx.conf
Needed when the release notes say nginx.conf changed, and once for any SPUNK server set up before v0.34.0.
On a Windows SPUNK server:
Copy
nginx/conf/nginx.conffrom the zip overC:\nginx\conf\nginx.conf.Reload nginx. In a command prompt:
cd C:\nginx nginx.exe -s reload
Replace the Reaper extension
Needed when the release notes say the extension changed.
- Quit Reaper.
- Copy the new
reaper/reaper_spunk.dllinto Reaper'sUserPluginsfolder, over the old one. - Start Reaper.
SPUNK and the extension check each other's versions. If they don't match, the record button's pop-up in the header and the Reaper window in Setup say which one to update. See Reaper troubleshooting.
Update the whole zip by hand
If you'd rather not use Updates, copy the contents of the zip's nginx folder over C:\nginx, so conf and html merge with the ones already there. Say yes to replacing nginx.conf and index.html, then reload nginx as above and press Ctrl+F5 on each screen. layout.json and the data folders aren't in the zip, so nothing overwrites them.
An update installed from Setup takes precedence over the page in the zip. To go back to the zip's page, use Use the installed version in Updates.
If no screen has Setup access after an update
Press the cog on the screen you set SPUNK up from. While nobody has Setup access and no setup PIN is set, it offers to make that screen the first Setup screen. Then give the other screens their access in Screens and access.
Rolling back to v0.23
The zip carries v0.23, the first version named SPUNK, in rollback.
- Copy
rollback\index-v0.23.htmltoC:\nginx\html\index.html. - Press Ctrl+F5 on each screen.
The current nginx.conf can stay. v0.23 works with it.