Skip to content

Upgrading

Every install method upgrades the same way underneath: the ClickHouse schema migration (tayga-writer migrate) runs first, and the services that read or write the new tables start only after it succeeded. Your data stays. Read the release notes in the Changelog before you upgrade, and the version notes for changes that need attention.

Run the installer again with the new version and the same directory:

Terminal window
curl -fsSL https://raw.githubusercontent.com/softberries/tayga/master/scripts/install.sh | sh -s -- --version <new version> --dir ~/tayga

It sets TAYGA_VERSION in .env, replaces compose.yaml, keeps your .env settings, notifier.toml and otel-collector.yaml (new copies of those two go next to them as *.new, to compare), runs docker compose up -d, and waits for health.

  • Reload open browser tabs. A tab opened before the upgrade runs the old web app, which can reject fields the new API sends.

  • Check the Pipeline page. Every job should be up and the consumer lag should go back to near 0.

  • Restarting one service by hand? Run the migration first, or the service may meet a schema it does not know:

    Terminal window
    docker compose run --rm tayga-migrate
  • Topic settings. Tayga never alters an existing Kafka topic. A topic created by an older version keeps its retention and partitions; see Changing retention on an existing stack.
  • Log templates. An upgrade that changes log masking starts a new masking epoch (15 minutes without new alerts for templates first seen then) and new templates appear next to the older ones. To rebuild the templates from stored logs with the new rules, see Re-mining templates.