Hi I've updated the Postgres and Redshift componen...
# replication-ask-ai
z
Hi I've updated the Postgres and Redshift component in Airbyte, but every time I stop airbyte (ctrl+c, dockers go down) my source and destination connector versions reset and I need to do an update again after starting Airbyte. How to persist the updates versions of the components?
k
A message from kapa.ai
The Configuration API in Airbyte caches connector specifications to avoid needing to run Docker every time one is needed in the UI. If you update the specification of a connector and need to clear this cache so the API / UI picks up the change, you have two options: 1. Go to the Admin page in the UI and update the version of the connector. Updating to any version, including the one you're already on, will trigger clearing the cache. 2. From your local
airbyte-platform
repository, restart the server by running the following commands:
Copy code
bash VERSION=dev docker compose down -v   VERSION=dev docker compose up
This should help persist the updated versions of your components. If you're running in
dev
mode, all data will be persisted in
/tmp/dev_root
[source](https://docs.airbyte.com/contributing-to-airbyte/resources/developing-locally). If you're still facing issues, it might be helpful to reset Airbyte. However, be aware that this will reset and delete existing syncs, configured sources, or destinations. You can reset Airbyte by deleting the docker volumes associated with Airbyte. Here's how you can do it: - Turn off Airbyte completely:
docker-compose down -v
(-v will remove volumes and you'll start from an empty db) - Turn Airbyte back on:
docker-compose up
More on this can be found [here](https://airbyte.com/tutorials/creating-duckdb-destination-with-python).