Upgrading from v0.9.0 to v0.10.0
Upgrading from v0.9.0 to v0.10.0 takes some care as it includes changes to the underlying ClickHouse schema. This guide will walk you through the necessary steps to upgrade your existing installation.
Step 1: Setting Up Your docker-compose.lite.yaml
File
First, add the environment variable BOOTSTRAP: "false"
to your docker-compose.lite.yaml
file. This will prevent your lite instance from running bootstrap operations when it restarts.
Next, make sure you have an admin-cli
instance specified in our docker-compose.lite.yaml
file. We’ll be using this service to run the upgrade scripts.
Your docker-compose.lite.yaml
file should look something like this:
Step 2: Start the admin-cli
Service
Next, run the following command to start your admin-cli
service:
Step 3: Run the Pre-Upgrade Script
Then run the following command to run the pre-upgrade script:
Step 4: Upgrade Your docker-compose.lite.yaml
File
Upgrade the version in your docker-compose.lite.yaml file to v0.10.0:
Now restart your lite instance:
Step 5: Run the Post-Upgrade Script
Finally, run the post-upgrade script:
And stop the admin-cli
service: