Tobias Hornberger
10/19/2023, 11:20 AMkapa.ai
10/19/2023, 11:21 AMairbyte-platform repository. 2. Delete the datastore volumes in Docker with the following command: bash VERSION=dev docker compose down -v 3. Remove the data on disk with these commands: bash rm -rf /tmp/dev_root rm -rf /tmp/airbyte_local 4. Rebuild the project with these commands: 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: 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: 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: 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/).kapa.ai
10/19/2023, 11:22 AMairbyte-platform repository. 2. Delete the datastore volumes in Docker: bash VERSION=dev docker compose down -v 3. Remove the data on disk: bash rm -rf /tmp/dev_root rm -rf /tmp/airbyte_local 4. Rebuild the project: 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: 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: 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).