Skip to content
These docs are a preview of Self-Managed Kindo 2026.11, an upcoming release.

Connect to and reset Kindo's databases

The Kindo CLI connects you to Kindo’s databases through the cluster. Opening an interactive session and resetting a database need the PostgreSQL command-line client on your workstation.

ToRun
List the databaseskindo db list
Open a tunnel on localhost:15432 (Ctrl+C closes it)kindo db tunnel main
Open an interactive psql sessionkindo db prompt litellm
Check that the databases were createdkindo db bootstrap-status
Create missing databases and roles, and reset the password of any service whose login the database refuseskindo doctor --fix
Delete everything in a databasekindo db reset <database>

Reset a database only when you mean to discard its data. You can recover it only from your own backup.

Before you reset Flagsmith’s database, remove any flag provider overrides you set.

Terminal window
kindo db reset hatchet

Answer yes only if the question names your cluster and the database you mean to reset.

In a script or CI job, where nothing can answer, the command stops before changing anything unless you add the apply option:

Terminal window
kindo db reset hatchet --apply

If the reset stops because another command is running, see How every command behaves.

The service whose database you reset doesn’t work until you apply the config, which rebuilds the database. Flagsmith rebuilds its own when the reset restarts it.

Resetting Flagsmith’s or Hatchet’s database also forgets the keys that service issued, and restarts it. Resetting Flagsmith’s also moves Kindo’s applications back to Unleash until you copy your flags again. Hatchet is unavailable while its database is emptied. If Hatchet doesn’t start again, run the command the reset prints.

If the reset was to continue installing, restoring or upgrading after it stopped, run that command again instead of applying the config.

Otherwise, apply the config:

Terminal window
kindo config apply

The plan can list routine repairs. Answer no if it changes another service’s data, or config settings you didn’t change.

After a reset of Kindo’s database, the instance has no superadmin. Once the apply finishes, create one again. The health check names how.

After a reset of Kindo’s database or the LiteLLM database, register your models again. The reset removes them.

For what a reset refuses, and what to do if one stops partway, see Reset refusals.