Hi <@U04SE163WC8> I would like to install Airbyte ...
# replication-ask-ai
t
Hi @kapa.ai I would like to install Airbyte completely new since upgrading didn't work. However when I would like to setup airbyte new, it reports that I still have the old version installed. How can I completely get rid of the old installation? INFO i.a.b.Bootloader(getRequiredVersionUpgrade):215 - Current Airbyte version: AirbyteVersion{version='0.29.17-alpha', major='0', minor='29', patch='17'}
k
To completely remove the old installation of Airbyte, you need to delete the data in your local environment. Here are the steps to do so: 1. Make sure you are in your local
airbyte-platform
repository. 2. Delete the datastore volumes in Docker with the following command:
Copy code
bash VERSION=dev docker compose down -v
3. Remove the data on disk with these commands:
Copy code
bash rm -rf /tmp/dev_root   rm -rf /tmp/airbyte_local
4. Rebuild the project with these commands:
Copy code
bash SUB_BUILD=PLATFORM ./gradlew clean build   VERSION=dev docker compose up -V
If you've been modifying image tags while developing, you may also want to erase all of the data on your local Docker server with these commands:
Copy code
bash docker system prune -a   docker volume prune
If you are working on Python connectors, you may also need to reset the
virtualenv
and re-install the connector's dependencies with these commands:
Copy code
bash # Assuming you have a virtualenv loaded into your shell   deactivate      # From the connector's directory   # remove the venv directory entirely   rm -rf .venv      # make and activate a new venv   python3 -m venv .venv   source .venv/bin/activate   pip install -e ".[dev]"
Please note that these steps will completely reset your Airbyte deployment back to scratch and you will lose all data. For more details, you can refer to the [Airbyte documentation](https://docs.airbyte.com/contributing-to-airbyte/resources/developing-locally). If you are using Kubernetes and your current version of Airbyte is before 0.27.0-alpha, you need to delete the existing Airbyte Kubernetes volumes with this command:
Copy code
bash # Careful, this is deleting data!   kubectl delete -k kube/overlays/stable
Please note that this command will delete your data in Kubernetes, so make sure you have already exported your data. For more details, you can refer to the [Airbyte documentation](https://docs.airbyte.com/operator-guides/upgrading-airbyte/).
To completely remove the old installation of Airbyte, you need to delete the datastore volumes in Docker and remove the data on disk. Here are the steps you can follow: 1. Make sure you are in your local
airbyte-platform
repository. 2. Delete the datastore volumes in Docker:
Copy code
bash VERSION=dev docker compose down -v
3. Remove the data on disk:
Copy code
bash rm -rf /tmp/dev_root   rm -rf /tmp/airbyte_local
4. Rebuild the project:
Copy code
bash SUB_BUILD=PLATFORM ./gradlew clean build   VERSION=dev docker compose up -V
If you've been modifying image tags while developing, you may also want to erase all of the data on your local Docker server:
Copy code
bash docker system prune -a   docker volume prune
Please note that these commands will completely reset your Airbyte deployment back to scratch and you will lose all data. Make sure you have a backup of your data before proceeding. If you are working on Python connectors, you may also need to reset the
virtualenv
and re-install the connector's dependencies. Here are the steps:
Copy code
bash # Assuming you have a virtualenv loaded into your shell   deactivate      # From the connector's directory   # remove the venv directory entirely   rm -rf .venv      # make and activate a new venv   python3 -m venv .venv   source .venv/bin/activate   pip install -e ".[dev]"
For more details, you can refer to the [Airbyte documentation](https://docs.airbyte.com/contributing-to-airbyte/resources/developing-locally). If you encounter any issues during this process, you can check the logs, refer to the documentation, reach out to the community, or open a Github ticket for support as mentioned in the [Airbyte troubleshooting guide](https://docs.airbyte.com/troubleshooting).