Updating
Lunetta doesn’t update itself. You replace the files with the new version, and your settings, users, and footage stay where they are.
Check your current version under Settings → About. The latest version and what changed is listed on the releases page.
Before you start
Make a copy of the data/ folder in your Lunetta directory. It holds your database: events, labels, users, and settings. Also keep your current Lunetta files until you’ve checked that the update works. Footage isn’t part of the zip, so an update doesn’t touch it.
Update
- Download the latest lunetta.zip and unzip it on your computer.
- Upload the contents of the zip to your Lunetta folder on your server and overwrite the existing files.
- Open Lunetta and check Settings → About. It should show the new version.
The zip doesn’t contain config.php or the data/ folder, so uploading it can’t overwrite them. Don’t delete either one.
If something breaks
Put your backup of data/ back and upload your old files again.
Notes
- You don’t need to run the installer again. If you open
install.phpon an installed copy of Lunetta, it sends you back to the app. - Your browser picks up the new styles by itself. If a page looks off after updating, reload it once.