Hi Community, Is anyone else encountering this iss...
# replication-troubleshooting
l
Hi Community, Is anyone else encountering this issue when trying to upgrade using abctl from: • v1.7.7 -> v1.8.5 (using v0.30.1 - attempted on 2025-10-09) • v1.7.7 -> v2.0.0 (using v0.30.2 - attempted today on 2025-10-16) Common errors extracted for both upgrade attempts:
Copy code
[...]
INFO    Starting Helm Chart installation of 'airbyte/airbyte' (version: 2.0.18)
ERROR   Failed to install airbyte/airbyte Helm Chart
ERROR   Unable to install Airbyte locally
ERROR   unable to install airbyte chart: unable to install helm: cannot patch "airbyte-abctl-cron" with kind Deployment: Deployment.apps "airbyte-abctl-cron" is invalid: spec.selector: Invalid value:
[...]
Install command and logs (for v1.7.7 -> v2.0.0):
Copy code
abctl local install \
>   --host <url> \
>   --low-resource-mode
  INFO    Using Kubernetes provider:
            Provider: kind
            Kubeconfig: /home/ssm-user/.airbyte/abctl/abctl.kubeconfig
            Context: kind-airbyte-abctl
 SUCCESS  Found Docker installation: version 25.0.8
 SUCCESS  Existing cluster 'airbyte-abctl' found
 SUCCESS  Cluster 'airbyte-abctl' validation complete
  INFO    Patching image airbyte/db:1.7.0-17
  INFO    Pulling image airbyte/async-profiler:2.0.0
  INFO    Pulling image airbyte/bootloader:2.0.0
  INFO    Pulling image airbyte/connector-sidecar:2.0.0
  INFO    Pulling image airbyte/container-orchestrator:2.0.0
  INFO    Pulling image airbyte/cron:2.0.0
  INFO    Pulling image airbyte/db:1.7.0-17
  INFO    Pulling image airbyte/server:2.0.0
  INFO    Pulling image airbyte/utils:2.0.0
  INFO    Pulling image airbyte/worker:2.0.0
  INFO    Pulling image airbyte/workload-api-server:2.0.0
  INFO    Pulling image airbyte/workload-init-container:2.0.0
  INFO    Pulling image airbyte/workload-launcher:2.0.0
  INFO    Pulling image temporalio/auto-setup:1.27.2
  INFO    Namespace 'airbyte-abctl' already exists
  INFO    Persistent volume 'airbyte-local-pv' already exists
  INFO    Persistent volume claim 'airbyte-storage-pvc' already exists
  INFO    Persistent volume 'airbyte-volume-db' already exists
  INFO    Persistent volume claim 'airbyte-volume-db-airbyte-db-0' already exists
Environment context: • AWS EC2 instance • type = t3a.2xlarge Similar slack user issue: https://airbytehq.slack.com/archives/C021JANJ6TY/p1759125686634499 Really hoping someone can assist me 🙏
k
Yes, you are not alone—this issue has been reported by multiple users when upgrading Airbyte with abctl, especially when moving between major versions (e.g., v1.7.x to v1.8.x or v2.0.x) using recent abctl versions (such as v0.30.1 and v0.30.2). The core error you’re seeing:
Copy code
unable to install airbyte chart: unable to install helm: cannot patch "airbyte-abctl-cron" with kind Deployment: Deployment.apps "airbyte-abctl-cron" is invalid: spec.selector: Invalid value: ...
is a known problem. It’s related to Kubernetes’ immutability of the
spec.selector
field in Deployments, and also to issues with the order of environment variables in Helm chart patches. This has been observed in several recent GitHub issues: - Users upgrading with abctl encounter errors about patching Deployments, specifically mentioning the
$setElementOrder
and immutable selector fields. This is seen in both v1.8.x and v2.0.x upgrades, and is not limited to a single resource (it can affect
airbyte-abctl-cron
,
airbyte-abctl-worker
,
airbyte-abctl-workload-api-server
, etc.) [Helm chart broken with abctl 0.30.1](https://github.com/airbytehq/airbyte/issues/65129) - Some users have found that a full uninstall and reinstall of Airbyte (rather than an upgrade) temporarily resolves the issue, but the error can return on subsequent upgrades or configuration changes. - Downgrading to an earlier chart version (e.g., 1.7.2) has worked for some, but this is not a long-term solution if you need features or fixes from newer releases. Summary: This is a known and recurring issue with the current Airbyte Helm charts and abctl upgrade process, especially when upgrading across major versions. There is no confirmed, universal workaround in the knowledge sources, but the following have been reported to help in some cases: - Performing a full uninstall and clean install (not always persistent). - Downgrading to a previous chart version (e.g., 1.7.2) for stability. - Monitoring the [GitHub issue #65129](https://github.com/airbytehq/airbyte/issues/65129) and related threads for updates and potential fixes. If you need to proceed urgently, a clean install may get you running, but for production or persistent environments, it’s best to follow the GitHub issue for an official fix or guidance from the Airbyte team. If you need step-by-step instructions for a clean uninstall/reinstall or want to try a downgrade, let me know!
b
The only fix for that, that I found, is uninstalling and installing again. The deployment cannot be modified. You can probably go inside the cluster and delete the deployment and recreate it, but never tried that myself. Make sure to have backups ready, just in case 🙂
l
Thanks @Baudilio García Hernández Luckily this deployment is being run on our dev instance and we have aws snapshot backups that we can roll back too. The real goal we are trying to achieve at this stage is figuring out a clean and repeatable way to upgrade our instance from v1.7.7 to v2.0, so that we can then do the same process with confidence on our PROD instance. From my experience of trying to use
abctl local uninstall
(supposedly the way to uninstall without loosing configs and data), and then reinstall, has always resulted in the kind cluster not being able to restart. And it is not an option for us to uninstall with the
-- persisted
flag, as we cannot do this with PROD. Do you, or anyone else, have any advise with this further context for us to achieve our goal to get from v1.7.7 to v.2.0, as we are really interested in trying to make use of the 1.8.x and 2.x features of reverse etl 🙏
@kapa.ai can you help on my latest? and ideally, how can I get the attention of the community or airbyte contributors to assist? 🙏
k
A message from kapa.ai
New message text here