Skip to main content

Upgrade Infrahub

Community

The process to migrate your instance of Infrahub to the latest version will vary depending on your deployment of Infrahub. However, at a high-level, it will involve getting the latest version and performing any needed Database Migrations and Schema updates.

For installation instructions, please refer to our Installation Guide.

Follow the instructions below for your current release version and deployment method.

info

Even though a "smooth" migration is anticipated, we nonetheless strongly suggest creating a backup beforehand. For detailed information, see our Backup Guide.

info

In Infrahub 1.2 and later, the upgrade process has been streamlined with a unified upgrade command. For earlier versions, please refer to the release notes for specific upgrade instructions.

Upgrading to Infrahub 1.2 and after

# Stop the current instance
docker compose down

# Retrieve the latest docker-compose version
curl https://infrahub.opsmill.io > docker-compose.yml

# Run the unified upgrade command
docker compose run infrahub-server infrahub upgrade

# Restart the instance
docker compose up -d

EnterpriseEnterprise Edition

The process to migrate your instance of Infrahub Enterprise to the latest version will vary depending on your deployment of Infrahub Enterprise. However, at a high-level, it will involve getting the latest version and performing any needed Database Migrations and Schema updates.

For installation instructions, please refer to our Enterprise Installation Guide.

Follow the instructions below for your current release version and deployment method.

info

Even though a "smooth" migration is anticipated, we nonetheless strongly suggest creating a backup beforehand. For detailed information, see our Backup Guide.

info

In Infrahub 1.2 and later, the upgrade process has been streamlined with a unified upgrade command. For earlier versions, please refer to the release notes for specific upgrade instructions.

Upgrading to Infrahub Enterprise 1.2 and after

# Stop the current instance
docker compose down

# Retrieve the latest docker-compose version
curl https://infrahub.opsmill.io/enterprise > docker-compose.yml

# Run the unified upgrade command
docker compose run infrahub-server infrahub upgrade

# Restart the instance
docker compose up -d