<@U04S8PLJWMT> I tried installing Airbyte from zer...
# ask-ai
j
@kapa.ai I tried installing Airbyte from zero using abctl and then restoring in the internal database my old installation data using a dump I previously created from the old database. Before restoring I deleted all information inside the new database and then restored. The thing is that a mismatch of dataplane-client-credentials happens because the database has different credentials then the ones in the airbyte-auth-secrets. What I tried doing was: 1. Only doing a parcial dump only excluding the credentials tables and then another dump only including the pipelines data table, but this lead to a mismatch in workspaces ids. 2. I then tried to restore everything but when installing Airbyte again I passed the dataplane credentials in the secrets.yaml file, but the bootloader overwrites the credentials while installing and then we have the dataplane credentials mismatch again. How can I do the restore of my dump file without having to manually alter these credentials?
k
Short answer: with 1.6.x, the bootloader auto-(re)generates dataplane credentials into the airbyte-auth-secrets on install, which can conflict with credentials you restore in the DB. There isn’t a documented, fully automated restore path that preserves your DB dump while also preventing the bootloader from overwriting or mismatching dataplane credentials in 1.6.x. The docs and issues show two practical approaches: Option A — Recreate dataplane creds after restore (works on 1.6.x) - Install Airbyte fresh with abctl. - If you already restored a DB dump and see the mismatch, delete existing dataplane rows to force regeneration: - Connect to the internal DB pod and run: - delete from dataplane_client_credentials; - delete from dataplane; - Then rerun abctl install so bootloader recreates matching credentials into airbyte-auth-secrets. [[Issue 58587](https://github.com/airbytehq/airbyte/issues/58587)]. This regenerates creds to match the secret the bootloader manages, resolving the mismatch that blocks workloads. [[Issue 58587](https://github.com/airbytehq/airbyte/issues/58587)]. Option B — Upgrade to 1.8.0+ (preferred going forward) - Starting with 1.8.0, the bootloader first checks for valid dataplane credentials in airbyte-auth-secrets; if they’re valid, it skips regeneration. This allows you to supply/restore consistent credentials without the bootloader overwriting them. [[Issue 64159](https://github.com/airbytehq/airbyte/issues/64159)]. - Users also report fewer dataplane secret issues on 1.7.1+ compared to 1.6.0, but the explicit “don’t overwrite if valid” behavior is called out for 1.8.0. [[Issue 62468](https://github.com/airbytehq/airbyte/issues/62468); [Issue 64159](https://github.com/airbytehq/airbyte/issues/64159)]. Practical restore sequence (staying on 1.6.x): 1) abctl local install (let it complete). 2) Restore your DB dump. 3) Delete dataplane rows: - delete from dataplane_client_credentials; delete from dataplane; 4) Run abctl local install again so bootloader recreates dataplane and writes matching credentials into airbyte-auth-secrets. [[Issue 58587](https://github.com/airbytehq/airbyte/issues/58587)]. If you need to set your own admin password/email or disable auth, do it using the documented auth secret or values.yaml; just be aware on 1.6.x the bootloader still writes dataplane keys into the same auth secret. [[Auth integration](https://docs.airbyte.com/platform/deploying-airbyte/integrations/authentication); [Auth next](https://docs.airbyte.com/platform/next/deploying-airbyte/integrations/authentication); [Issue 62468](https://github.com/airbytehq/airbyte/issues/62468)]. If you can upgrade, prefer 1.8.0+ to avoid overwrites when valid dataplane creds already exist in the secret. [[Issue 64159](https://github.com/airbytehq/airbyte/issues/64159)].
j
@kapa.ai Is there a way to change the airbyte-auth-secrets after installation?
k
A message from kapa.ai
Yes. You can modify or replace the airbyte-auth-secrets Kubernetes Secret after installation. - With kubectl: edit or re-apply the secret in your namespace. - View current values:
kubectl get secret airbyte-auth-secrets -n <NAMESPACE> -o yaml
. [[Auth (1.6)](https://docs.airbyte.com/platform/1.6/deploying-airbyte/integrations/authentication); [Auth (Next)](https://docs.airbyte.com/platform/next/deploying-airbyte/integrations/authentication)] - Apply an updated secret manifest (example sets instance-admin-password; you may also include client ID/secret if desired):
Copy code
apiVersion: v1     kind: Secret     metadata:       name: airbyte-auth-secrets     type: Opaque     stringData:       instance-admin-password: <your-password>       # instance-admin-client-id: <optional>       # instance-admin-client-secret: <optional>
Then:
kubectl apply -f secret.yaml -n <NAMESPACE>
. You may need to restart the airbyte-server pod for changes to take effect. [[Auth (1.6)](https://docs.airbyte.com/platform/1.6/deploying-airbyte/integrations/authentication); [Auth (Platform)](https://docs.airbyte.com/platform/deploying-airbyte/integrations/authentication)] Caveat for 1.6.x: the bootloader may write dataplane credentials into this same secret during install, which can lead to mismatches if your database has different values; some users resolved by deleting dataplane rows in the DB and reinstalling so the credentials are regenerated to match the secret. [[Issue 58587](https://github.com/airbytehq/airbyte/issues/58587)]