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.ymlfile. - Running database PostgreSQL of major version 14
- Compose file (
docker/compose.yml) is setup to use the image of PostgreSQL 17 (check yourPOSTGRES_TAGvariable in the.envfile)
Steps to upgrade
- Go to directory:
taranis-ai/docker - Ensure the script
upgrade-database.shis executable - Run the script:
./upgrade-database.sh
All containers should now be again up and running!