Hi guys, I have some trouble upgrading my airbyte ...
# replication-troubleshooting
n
Hi guys, I have some trouble upgrading my airbyte instance. It's hosted on a gcp VM. I initially install airbyte using abctl. The current version is 1.6.2 Each time I try to upgrade the version using
abct local install
, my connections won't start syncing. I get "Warning from source: Workload failed, source: airbyte_platform"
Unable to persist the job Output, check the document store credentials.
I tried several versions and same problem ..
k
There’s no mention of this specific error (
Unable to persist the job Output, check the document store credentials
) in the provided knowledge sources, so I can’t give a confirmed root cause or fix. I can only point to related upgrade/`abctl` issues and known workarounds. From the docs, the supported way to upgrade an
abctl
-managed local install is indeed to rerun:
Copy code
bash abctl local install
which upgrades to the latest chart/app version. [[Upgrading with abctl](https://docs.airbyte.com/platform/1.6/operator-guides/upgrading-airbyte); [Upgrading with abctl](https://docs.airbyte.com/platform/operator-guides/upgrading-airbyte)] However, there are known problems with some recent versions when upgrading with `abctl`: - A migration failure on new installs/upgrades, where users had to pin the chart version, e.g.:
Copy code
bash   abctl local install --chart-version 1.1.0
to avoid the failing migration. [[Migration failing with abctl](https://github.com/airbytehq/airbyte/issues/55251)] - Multiple issues around 1.6.x (especially 1.6.0–1.6.2) with
abctl
and Helm upgrades, including dataplane / secret problems that caused workloads not to start. [[Could not deploy 1.6.x](https://github.com/airbytehq/airbyte/issues/58587); [Helm patch error 1.6.2](https://github.com/airbytehq/airbyte/issues/60918)] Given that: 1. Your instance is already on 1.6.2 (a version with several reported upgrade/runtime issues), and 2. After
abctl local install
your sync workloads fail to run, the safest options based only on the available information are: 1. Try pinning a specific chart/app version known to be more stable for
abctl
installs
, similar to what’s suggested in the migration issue (e.g.
--chart-version 1.1.0
), and see if your connections start syncing again. [[Migration failing with abctl](https://github.com/airbytehq/airbyte/issues/55251)]
Copy code
bash    abctl local install --chart-version 1.1.0
(You’d need to choose a version that matches the Airbyte app version you want, based on release notes / ArtifactHub; the knowledge sources don’t specify which exact version to use for your case.) 2. If you can, test a clean install on a separate VM at the target version using
abctl local install
, verify that connections can sync there, and only then migrate your data. This is similar in spirit to users who resolved 1.6.x issues only with a clean install. [[Could not deploy 1.6.x](https://github.com/airbytehq/airbyte/issues/58587)] Because the knowledge sources don’t cover the “document store credentials” error, I can’t reliably tell whether it’s a misconfigured secret, a regression in a specific version, or a migration bug in your environment. If you’re able to share: - The exact
abctl local install
command you run (including any flags), - The target version you’re upgrading to, - And whether you see any failing pods / init containers in
kubectl get pods -n airbyte-abctl
, then the next step would be to cross-check those symptoms against the specific GitHub issues or docs for that version. But with the current knowledge sources, I can’t go further without speculating.
n
@kapa.ai I used abctl local install --chart-version=1.7.8 --insecure-cookies --no-browser Current state is :
Copy code
NAME                                                     READY   STATUS      RESTARTS      AGE
airbyte-abctl-airbyte-bootloader                         0/1     Completed   0             18m
airbyte-abctl-connector-builder-server-7c7977bdb-27mcl   1/1     Running     0             18m
airbyte-abctl-cron-575c6d6986-5kgtc                      1/1     Running     0             18m
airbyte-abctl-server-7b6b74c57c-s2j5c                    1/1     Running     0             18m
airbyte-abctl-temporal-76dfd764-f7t5d                    1/1     Running     0             18m
airbyte-abctl-webapp-6c686f5d95-xbqvs                    1/1     Running     0             18m
airbyte-abctl-worker-79d69797d4-bwdhq                    1/1     Running     0             18m
airbyte-abctl-workload-api-server-cd7768f89-qnq42        1/1     Running     0             18m
airbyte-abctl-workload-launcher-6f9cc54559-6pn6b         1/1     Running     1 (17m ago)   18m
airbyte-db-0                                             1/1     Running     5 (37m ago)   244d
airbyte-minio-0                                          1/1     Running     5 (37m ago)   244d
replication-job-600-attempt-0                            0/3     Error       0             34m
replication-job-601-attempt-0                            0/3     Completed   0             16m
source-declarative-manifest-check-598-0-gjxgn            0/2     Error       0             35m
source-declarative-manifest-check-602-0-ukzgx            0/2     Error       0             6m10s
source-declarative-manifest-check-602-1-johuc            0/2     Error       0             5m21s
source-declarative-manifest-check-602-2-luitj            0/2     Error       0             4m13s
source-declarative-manifest-check-602-3-dksza            0/2     Error       0             2m5s
k
A message from kapa.ai
The knowledge sources don’t mention this exact “Unable to persist the job Output, check the document store credentials” error, so I can’t give a confirmed root cause. I can only rely on what’s documented about
abctl
upgrades and known issues. A few points that are covered: 1. Upgrading with
abctl
is the right mechanism
Using
abctl local install --chart-version=1.7.8
is consistent with the documented way to upgrade a local
abctl
deployment. [[Upgrading with abctl 1.7](https://docs.airbyte.com/platform/1.7/operator-guides/upgrading-airbyte); [Upgrading with abctl](https://docs.airbyte.com/platform/operator-guides/upgrading-airbyte)] 2. There are known issues with some
abctl
+ Helm chart combinations
- Users have hit upgrade/install failures where the
airbyte-abctl-airbyte-bootloader
pod fails, and a workaround was to pin a different chart version (e.g.
--chart-version 1.7.2
or
1.6.4
) instead of the latest. [[Helm chart broken](https://github.com/airbytehq/airbyte/issues/65129); [abctl not connecting / downgrade](https://github.com/airbytehq/airbyte/issues/62463)] - In those reports, downgrading the chart version restored working syncs. 3. Your cluster state looks generally healthy, but job pods are failing - All core services (
server
,
worker
,
temporal
,
cron
,
workload-api-server
,
workload-launcher
,
webapp
) are
Running
. - The
airbyte-abctl-airbyte-bootloader
pod is
Completed
, which is expected after a successful install/upgrade. [[Troubleshooting abctl](https://docs.airbyte.com/platform/deploying-airbyte/troubleshoot-deploy)] - The failing pods are the per-job workloads (
replication-job-*
,
source-*-check-*
), which matches your symptom that connections won’t sync. Because the docs and issues provided don’t describe the “document store credentials” error, I can’t say whether it’s: - A regression in chart
1.7.8
, - A migration issue from 1.6.2 → 1.7.8, - Or a misconfigured MinIO / S3 credentials secret. What is supported by the sources as a practical next step: 1. Try a different chart version that’s reported as working with
abctl
From the issues, users have had success with: -
1.7.2
in a similar “bootloader / chart broken” context. [[Helm chart broken](https://github.com/airbytehq/airbyte/issues/65129)] -
1.6.4
as a workaround for networking/runtime issues. [[abctl not connecting / downgrade](https://github.com/airbytehq/airbyte/issues/62463)] For example, you could try:
Copy code
bash    abctl local install --chart-version=1.7.2 --insecure-cookies --no-browser
or, if you just want to get back to a known-good state:
Copy code
bash    abctl local install --chart-version=1.6.4 --insecure-cookies --no-browser
(This follows the same pattern as the documented
abctl local install
upgrade, just pinning the chart version. [[Upgrading with abctl 1.6](https://docs.airbyte.com/platform/1.6/operator-guides/upgrading-airbyte)]) 2. If that still fails, consider a clean reinstall on a new VM at a stable version The docs and issues show that some users only resolved persistent `abctl`/Helm problems by reinstalling at a specific chart version that was known to work in their environment. [[Helm chart broken](https://github.com/airbytehq/airbyte/issues/65129); [abctl not connecting / downgrade](https://github.com/airbytehq/airbyte/issues/62463)] Because the knowledge sources don’t expose logs for
replication-job-*
or
source-*-check-*
in this scenario, I can’t go deeper into the MinIO/document-store side without speculating. The most defensible, documented action is to: - Pin a chart version that’s reported as stable with
abctl
(e.g.
1.7.2
or
1.6.4
), - Re-run
abctl local install
, - Then re-test your syncs.
n
@kapa.ai I can do a clean install, but I want to keep my current data and custom connectors
k
A message from kapa.ai
You can keep your data and custom connectors, but you’ll need to treat this as a migration of the Airbyte database and config, not just a fresh
abctl
install. From the available docs and forum posts, there are two supported patterns: --- ## 1. Migrate by moving the Postgres database All Airbyte configuration (sources, destinations, connections, states, custom connectors, etc.) lives in the Airbyte Postgres database. If you keep or restore that database into the new deployment, your setup comes back. The docs show how to back up and restore the internal Postgres DB when upgrading Helm charts; the same idea applies when you “clean install” and then want your old data back. [[How to upgrade – backup DB](https://docs.airbyte.com/platform/deploying-airbyte/chart-v2-community#how-to-upgrade); [Restore your database](https://docs.airbyte.com/platform/deploying-airbyte/chart-v2-community#deploy-airbyte)] High‑level approach: 1. Back up your current Airbyte DB (on the old install):
Copy code
bash    # Find DB pod (example name)    kubectl get pods --all-namespaces | grep db     # Inside the DB pod, dump the DB    kubectl exec -n <namespace> -it <database_pod> -- bash -c \      "pg_dump -U airbyte db-airbyte > /tmp/airbyte_backup.sql"     # Copy backup to your machine    kubectl cp <namespace>/<database_pod>:/tmp/airbyte_backup.sql ./airbyte_backup.sql
[[Backup DB](https://docs.airbyte.com/platform/deploying-airbyte/chart-v2-community#how-to-upgrade)] 2. Do your clean install with
abctl
on the VM (new or same), letting it create a fresh DB. 3. Restore the backup into the new DB (this is the reverse of the backup process):
Copy code
bash    # Copy backup into the new DB pod    kubectl cp ./airbyte_backup.sql airbyte/airbyte-db-0:/tmp/airbyte_backup.sql     # Drop and recreate schema (erases current data in new DB)    kubectl exec -n airbyte -it airbyte-db-0 -- bash -c \      "psql -U airbyte -d db-airbyte -c 'DROP SCHEMA public CASCADE; CREATE SCHEMA public;'"     # Restore from backup    kubectl exec -n airbyte -it airbyte-db-0 -- bash -c \      "psql -U airbyte -d db-airbyte < /tmp/airbyte_backup.sql"
[[Restore DB](https://docs.airbyte.com/platform/deploying-airbyte/chart-v2-community#deploy-airbyte)] After this, your new deployment should have all previous connections, states, and custom connectors. > Note: the docs show this for Helm chart V2, but the mechanism (pg\_dump / psql restore) is standard Postgres and is the only documented way to preserve everything in one shot. --- ## 2. Export/import configuration between instances If you prefer not to move the whole DB, there is a documented way (from the forum) to export and import the complete configuration between two OSS instances, as long as they run the same Airbyte version. This preserves sources, destinations, connections, and states. [[Migrate config between deployments](https://discuss.airbyte.io/t/370)] > “you can export → import the complete configuration from one instance to another. The only requirement is both instance must have the same version.” [[Migrate config between deployments](https://discuss.airbyte.io/t/370)] The exact export/import commands aren’t in the provided snippets, so I can’t detail them without guessing, but the supported pattern is: 1. Spin up a new instance at the same version as your current one. 2. Export config from old → import into new. 3. Then upgrade the new instance. --- ## If you’re developing locally with
abctl
For local dev, the docs show how to wipe everything and reinstall, but that removes data; it’s useful only if you decide to start from scratch: [[Reset dev environment](https://docs.airbyte.com/platform/1.8/contributing-to-airbyte/developing-locally#resetting-the-airbyte-developer-environment)]
Copy code
bash abctl local uninstall --persisted rm -rf ~/.airbyte/ abctl local install --values values.yaml
Since you want to keep data, don’t run this unless you’ve already backed up the DB as above. --- ### Summary - To keep all data and custom connectors across a clean install, the documented, non‑destructive path is to backup and restore the Airbyte Postgres database using `pg_dump`/`psql`. [[How to upgrade – backup DB](https://docs.airbyte.com/platform/deploying-airbyte/chart-v2-community#how-to-upgrade); [Restore DB](https://docs.airbyte.com/platform/deploying-airbyte/chart-v2-community#deploy-airbyte)] - Alternatively, you can export/import configuration between two instances at the same version, then upgrade. [[Migrate config between deployments](https://discuss.airbyte.io/t/370)] If you tell me whether you’re comfortable running `kubectl`/`psql` commands on that VM, I can outline the exact sequence tailored to your current namespace and pod names.
n
@kapa.ai How to make an install with the same user / password as an existing one ?
k
A message from kapa.ai
You can reuse the same login (email/password) when reinstalling or upgrading, but how you do it depends on how you deploy. Since you’re using
abctl
on a VM, you have two options documented: --- ### 1. With
abctl
(simplest for your case) After (re)installing with
abctl local install
, set the credentials explicitly:
Copy code
bash abctl local credentials --email YOUR_EMAIL --password YOUR_PASSWORD
This updates the instance admin email/password to the values you specify. [[abctl credentials](https://docs.airbyte.com/platform/deploying-airbyte/abctl#view-and-change-credentials); [abctl 1.8](https://docs.airbyte.com/platform/1.8/deploying-airbyte/abctl#view-and-change-credentials)] You can run this any time after the install/upgrade to keep using the same user/password as before. --- ### 2. Via Kubernetes secret / values (Helm-style installs) If you deploy with Helm (or customize the
abctl
install using
--values
), you can: 1. Set a fixed password via secret:
Copy code
yaml    apiVersion: v1    kind: Secret    metadata:      name: airbyte-auth-secrets    type: Opaque    stringData:      instance-admin-password: YOUR_PASSWORD      # optionally:      #instance-admin-client-id: YOUR_CLIENT_ID      #instance-admin-client-secret: YOUR_CLIENT_SECRET
Apply it:
Copy code
bash    kubectl apply -f secret.yaml -n <YOUR_NAMESPACE>
[[Auth secret](https://docs.airbyte.com/platform/deploying-airbyte/integrations/authentication#setting-a-password-via-secrets)] 2. Or disable built‑in auth if you front it with your own SSO/proxy by setting in `values.yaml`:
Copy code
yaml    global:      auth:        enabled: false
and then:
Copy code
bash    abctl local install --values values.yaml
[[Turn off auth](https://docs.airbyte.com/platform/deploying-airbyte/integrations/authentication#turning-off-authentication)] --- So for your scenario: reinstall/upgrade with
abctl
, then immediately run
abctl local credentials --email ... --password ...
to keep the same login.