Skip to content

Upgrading

Keeping your Suricatavel installation up to date ensures you receive the latest detection capabilities, security updates, and performance optimizations.


Suricatavel supports two upgrade methods:

  1. Unified CLI update (recommended)
  2. System package manager

The recommended upgrade method is using the unified suricatavel update command:

  1. Run the update command:

    Terminal window
    suricatavel update

    The command performs the following sequence:

    • Checks the upstream repository for new releases.
    • Displays a version comparison summary.
    • Enables application maintenance mode.
    • Upgrades application packages via apt or dnf.
    • Runs database migrations (migrate --force).
    • Rebuilds application, route, and config caches.
    • Reloads Supervisor workers.
    • Disables maintenance mode.
  2. Verify system health:

    Terminal window
    suricatavel status
    suricatavel version
OptionDescription
--backupCreate a full database backup before running migrations (backups are skipped by default).
--skip-cleanupPrevent automated pruning of older database backup files.
--no-rollbackDisable automated rollback in the event of migration failure.
--no-tuiDisable interactive terminal formatting (plain-text output).
--forceExecute without interactive confirmation prompts.

Examples:

Terminal window
# Standard interactive update
suricatavel update
# Update with an explicit database backup
suricatavel update --backup
# Automated unattended update for scripts
suricatavel update --force --no-tui

Alternatively, you can upgrade packages directly using the operating system package manager, followed by running suricatavel deploy:

Terminal window
sudo apt update
sudo apt upgrade suricatavel
suricatavel deploy --migrate