Maintainance
How to upgrade database of Taranis AI
Supported upgrade of PostgreSQL 14.x to PostgreSQL 17.x. This upgrade is capable of upgrading a fully running instance of Taranis AI. Expect Taranis AI downtime during the process of the upgrade.
Prerequisites
- Installed Docker Compose V2 or podman-compose
- Running Taranis AI deployment using the
docker/compose.yml
file. - Running database PostgreSQL of major version 14
- Compose file (
docker/compose.yml
) is setup to use the image of PostgreSQL 17 (check yourPOSTGRES_TAG
variable in the.env
file)
Steps to upgrade
- Go to directory:
taranis-ai/docker
- Ensure the script
upgrade-database.sh
is executable - Run the script:
./upgrade-database.sh
All containers should now be again up and running!