Upgrading SecZim
Keep your SecZim installation up to date with the latest features and security patches.
Quick Upgrade Command
To upgrade an existing SecZim installation to the latest version, use the --upgrade flag:
curl -sSL https://seczim.com/install.sh | sudo bash -s -- --upgrade
Note
The --upgrade flag does not require a license key - it automatically reads your existing installation's license.
What the Upgrade Does
- Downloads the latest SecZim binaries
- Applies database migrations (safe and idempotent)
- Preserves your existing configuration and policies
- Restarts services automatically
Database Migrations
The upgrade process applies database migrations that are:
- Safe: Uses CREATE TABLE IF NOT EXISTS and conditional column additions
- Idempotent: Can be run multiple times without causing issues
- Non-destructive: Never removes existing data or tables
Verbose Mode
For troubleshooting upgrade issues, use verbose mode:
curl -sSL https://seczim.com/install.sh | sudo bash -s -- --verbose --upgrade
Full Reinstall
For major version updates or if you need to completely refresh your installation:
curl -sSL https://seczim.com/install.sh | sudo bash -s YOUR_LICENSE_KEY
This will update all components while preserving your database and configuration.
Troubleshooting
Upgrade Fails
- Ensure you have root/sudo access
- Check internet connectivity
- Verify SecZim is already installed
- Run with --verbose flag to see detailed output
Services Don't Restart
# Check logs
sudo journalctl -u seczim-daemon -n 50
# Manually restart
sudo systemctl restart seczim-daemon seczim-api