canasta reconcile

From Canasta Wiki

canasta > reconcile

canasta reconcile

Bring an instance's config and running containers back into agreement

Synopsis

Reconcile an instance to a consistent state without a disruptive restart. Re-derives COMPOSE_PROFILES from the feature flags and database mode, regenerates rendered config (e.g. the Caddyfile), and converges the running containers with 'docker compose up -d' — starting anything missing and recreating only what changed, with no stop. Idempotent and safe to run anytime.

This is the fix companion to 'canasta doctor': when doctor reports config/runtime drift (profiles out of sync with the flags, a container running unmanaged, search configured without its backend), 'canasta reconcile' applies the reconcilers to fix it.

canasta reconcile [flags]

Examples

canasta reconcile
canasta reconcile --id mysite

Flags

Flag Shorthand Description Default Required Orchestrator
--id -i Canasta instance ID * Both

* Defaults to the Canasta instance matching the current directory, if any.

Global flags

Flag Shorthand Description Default Required Orchestrator
--help -h Show help message and exit Both
--verbose -v Enable verbose output Both