<@U04S8PLJWMT> is there a way to force run migrati...
# ask-ai
d
@kapa.ai is there a way to force run migrations?
k
Yes, you can force Airbyte to run migrations by using the abctl CLI with the --migrate flag. The documented process is as follows: 1. Stop your running Docker Compose instance:
Copy code
docker compose stop
2. Ensure you have the latest version of abctl:
Copy code
curl -LsfS https://get.airbyte.com | bash -
3. Run the migration:
Copy code
abctl local install --migrate
This will trigger the migration process for your Airbyte instance. Note that if you are using an external database or secret manager, you do not need to run the --migrate flag; instead, you should use the --values and --secret flags with your configuration files. More details can be found in the official documentation for your Airbyte version, for example: [Migrating from Docker Compose](https://docs.airbyte.com/platform/1.7/deploying-airbyte/migrating-from-docker-compose). If you are troubleshooting migration issues, also ensure that your environment variables and configuration files are up to date, as outdated settings can cause migration failures or unexpected behavior<sup>[source](https://discuss.airbyte.io/t/3843)</sup>.