What does not update automatically, and why
- MySQL. The install script keeps MySQL out of automatic updates (the file
/etc/apt/apt.conf.d/51configview-unattended-blacklist). An automatic MySQL upgrade restarts the database at a random time, and Configview stops with it. Keeping MySQL out means its security fixes wait for you, so this is the part not to skip. - Ordinary updates. Unattended-upgrades only installs security updates. Bug-fix updates from Ubuntu’s
-updateschannel wait for you. - Reboots. A new Linux kernel installs, but nothing reboots the server to start using it. The file
/var/run/reboot-requiredtells you one is waiting.
See what is waiting
The script was added in November 2026. If the file is missing, your server has not taken the latest Configview update yet. Until it has, the same by hand is
sudo apt-get update && sudo apt-get upgrade --with-new-pkgs, then sudo systemctl restart configview-backend configview-mcp, then sudo reboot if /var/run/reboot-required exists.2 when anything is waiting, so you can run it from your own monitoring.
Install everything
systemd-run keeps the update running if your SSH session drops when the server reboots. To patch without rebooting, leave out --reboot and reboot later in your own window.
What the script does, in order:
- Stops if the disk is 90% full or has less than 1 GB free, rather than risk filling it.
- Pauses Configview’s watchdog and auto-update timers, so nothing restarts Configview while MySQL is being upgraded.
- Installs every waiting update, keeping your existing configuration files, then clears the download cache.
- Waits for MySQL, restarts the Configview backend and its AI connector (MCP) service, and checks the backend answers.
- Resumes the timers. With
--reboot, reboots only if Ubuntu asks for it. Every Configview service starts by itself after a reboot.
1. The log is /var/log/configview-os-patch.log.
Downtime
Expect about a minute. The Configview API (dashboards, the Slack bot, the AI connector) is down while MySQL restarts and again during the reboot. The web interface keeps loading but cannot show data in that time. Scheduled collections that were due run on their next scheduled time. Pick a quiet hour.Check it worked
failed after an update:
sudo dpkg --configure -a and then the install command again. Updates the script lists as held back need a person to look at them; it never forces them.
Take a disk snapshot of the server before patching if your policies require one. The nightly database backup covers your data, not the operating system.