<@U04S8PLJWMT> On upgrading my existing Airbyte 1....
# ask-ai
j
@kapa.ai On upgrading my existing Airbyte 1.7.2 installation under abctl to Airbyte 1.8.2, the upgrade fails with the following error: "i.a.a.c.a.DataplaneAccessTokenInterceptor(intercept):131 - Failed to obtain or add dataplane access token."
k
The error message "Failed to obtain or add dataplane access token" during an upgrade from Airbyte 1.7.2 to 1.8.2 under abctl is related to issues with the dataplane records in the Airbyte database. This problem has been reported in previous Airbyte versions, especially around upgrades or fresh installs, and is often due to inconsistencies or constraints in the dataplane tables. What’s happening: - Airbyte 1.8.x introduced changes to how dataplanes are managed, including removing unique constraints and adding UUIDs to dataplane names to resolve upgrade and reinstall issues. However, if your database has leftover or conflicting dataplane records from previous versions, the upgrade can fail with the error you’re seeing. Recommended steps: 1. Delete problematic dataplane records: You can manually clear the
dataplane
and
dataplane_client_credentials
tables in your Airbyte database. This has been a successful workaround for similar issues in the past:
Copy code
shell    export KUBECONFIG="$HOME/.airbyte/abctl/abctl.kubeconfig"    kubectl exec -it -n airbyte-abctl airbyte-db-0 -- /bin/bash    psql -U airbyte db-airbyte    delete from dataplane_client_credentials;    delete from dataplane;    \q    exit
After this, re-run your
abctl local install
or upgrade command. This should allow Airbyte to recreate the necessary dataplane records and credentials in the correct format for 1.8.x+ [See details in this GitHub issue](https://github.com/airbytehq/airbyte/issues/58587). 2. Ensure you are using the latest abctl: abctl version 0.28 and later is required for Airbyte 1.7+ and 1.8+. Upgrade abctl if needed:
Copy code
shell    brew upgrade abctl
Then retry the upgrade:
Copy code
shell    abctl local install
3. If you still encounter issues: Airbyte 1.8.1 specifically addressed dataplane name constraint issues that could cause uninstall/reinstall failures. If you are still seeing errors after following the above steps, ensure your database is restored to a clean state before the upgrade, as some users have reported needing to restore from backup if the database schema or data is inconsistent after failed upgrades [Release notes 1.8.1](https://docs.airbyte.com/release_notes/v-1.8#patch-releases). Summary: This error is almost always due to legacy or conflicting dataplane records in the database. Clearing those tables and letting Airbyte recreate them during the upgrade/install process resolves the issue in most cases. If you continue to have problems after these steps, please provide more detailed logs or describe any manual changes made to the database, as further troubleshooting may be required. --- References: - [GitHub Issue: Could not deploy latest (v1.6.0) airbyte community with abctl](https://github.com/airbytehq/airbyte/issues/58587) - [Airbyte 1.8 Patch Releases](https://docs.airbyte.com/release_notes/v-1.8#patch-releases)
j
@kapa.ai I deleted all rows in dataplane and dataplane_client_credentials and abctl still fails with the following: INFO Starting Helm Chart installation of 'airbyte/airbyte' (version: 2.0.12) DEBUG helm: preparing upgrade for airbyte-abctl DEBUG helm: performing update for airbyte-abctl DEBUG helm: creating upgraded release for airbyte-abctl DEBUG helm: Starting delete for "airbyte-abctl-airbyte-env" ConfigMap DEBUG helm: beginning wait for 1 resources to be deleted with timeout of 1h0m0s DEBUG helm: creating 1 resource(s) DEBUG helm: Starting delete for "airbyte-abctl-airbyte-secrets" Secret DEBUG helm: beginning wait for 1 resources to be deleted with timeout of 1h0m0s DEBUG helm: creating 1 resource(s) DEBUG helm: Starting delete for "airbyte-abctl-bootloader" Pod DEBUG helm: beginning wait for 1 resources to be deleted with timeout of 1h0m0s DEBUG helm: creating 1 resource(s) DEBUG helm: Watching for changes to Pod airbyte-abctl-bootloader with timeout of 1h0m0s DEBUG Successfully assigned airbyte-abctl/airbyte-abctl-bootloader to airbyte-abctl-control-plane DEBUG helm: Add/Modify event for airbyte-abctl-bootloader: ADDED DEBUG helm: Pod airbyte-abctl-bootloader pending DEBUG helm: Add/Modify event for airbyte-abctl-bootloader: MODIFIED DEBUG helm: Pod airbyte-abctl-bootloader pending DEBUG helm: Add/Modify event for airbyte-abctl-bootloader: MODIFIED DEBUG helm: Pod airbyte-abctl-bootloader pending DEBUG Container image "airbyte/bootloader:1.8.2" already present on machine DEBUG Created container airbyte-bootloader-container DEBUG Started container airbyte-bootloader-container DEBUG helm: Add/Modify event for airbyte-abctl-bootloader: MODIFIED DEBUG helm: Pod airbyte-abctl-bootloader running DEBUG Container image "airbyte/server:1.7.2" already present on machine DEBUG Container image "airbyte/workload-launcher:1.7.2" already present on machine DEBUG Container image "airbyte/worker:1.7.2" already present on machine DEBUG helm: Add/Modify event for airbyte-abctl-bootloader: MODIFIED DEBUG helm: Pod airbyte-abctl-bootloader running DEBUG helm: Add/Modify event for airbyte-abctl-bootloader: MODIFIED DEBUG helm: warning: Upgrade "airbyte-abctl" failed: pre-upgrade hooks failed: 1 error occurred: * pod airbyte-abctl-bootloader failed DEBUG helm: release upgrade failed: pre-upgrade hooks failed: 1 error occurred: * pod airbyte-abctl-bootloader failed ERROR Failed to install airbyte/airbyte Helm Chart
k
A message from kapa.ai
Based on the information in the provided knowledge sources, the error you are encountering—where the upgrade fails at the bootloader step even after deleting all rows in the dataplane and dataplane_client_credentials tables—remains a known and recurring issue with Airbyte upgrades using abctl. The logs you posted are consistent with several open and closed issues where the bootloader pod fails during Helm chart upgrades, often with little actionable detail in the logs themselves. The official troubleshooting documentation for abctl highlights that the most common cause for the bootloader failing to start is an inability to connect to the airbyte-db service, but it does not provide a specific solution for persistent bootloader failures after clearing dataplane tables or for the exact scenario you describe. The documentation recommends running the install with --verbose to get more detailed logs, which may help pinpoint the root cause if it is not related to the dataplane tables themselves. Other users have reported that sometimes a full uninstall and reinstall, or downgrading to a previous working version, can temporarily resolve the issue, but these are not guaranteed solutions and may result in data loss if not handled carefully. There is also mention of issues with permissions or folder creation in the underlying Docker/Kind environment, which could be relevant if the database or storage is not being initialized correctly, but again, no definitive fix is documented for your specific upgrade path or error sequence. In summary, the knowledge sources do not contain a definitive solution for your scenario where the bootloader fails after clearing the dataplane tables during an upgrade from Airbyte 1.7.2 to 1.8.2 with abctl. The best next step, as suggested in the documentation, is to rerun the installation with the --verbose flag to obtain more detailed logs and to check for any underlying database or storage permission issues. If the problem persists, you may need to open a new issue with the Airbyte team, providing the full verbose logs for further investigation. [See Troubleshooting abctl](https://docs.airbyte.com/platform/1.7/deploying-airbyte/troubleshoot-deploy)
j
@kapa.ai What abctl syntax would allow me to specify installation of Airbyte 1.7.2?
k
A message from kapa.ai
To install a specific version of Airbyte (such as 1.7.2) using abctl, you cannot directly specify the version as a command-line argument. Instead, you must provide a custom
values.yaml
file that sets the desired Airbyte version. You then use the following syntax:
Copy code
bash abctl local install --values ./values.yaml
In your
values.yaml
, you should configure the Airbyte image tags to match the version you want (e.g., 1.7.2). The knowledge sources confirm that this is the supported method for installing a specific version with abctl; there is no direct flag for version selection in the abctl command itself. [See Support QA](#)
j
@kapa.ai What is the name of the key for specifying the airbyte version and where in the YAML hierarchy is it nested?
k
A message from kapa.ai
The key for specifying the Airbyte version in the
values.yaml
file is
global.image.tag
. It is nested under the
global
section in the YAML hierarchy. For example:
Copy code
yaml global:   image:     tag: 1.7.2
This is how you set the Airbyte version when deploying or upgrading with Helm chart V2, and it is referenced in the installation and upgrade commands for Airbyte using Helm and abctl [Deploy Airbyte](https://docs.airbyte.com/platform/enterprise-setup/chart-v2-enterprise#deploy-airbyte).