Júlia Lemes
08/29/2025, 4:14 PMERROR 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-connector-builder-server" with kind Deployment: Deployment.apps "airbyte-abctl-connector-builder-server" is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string]string{"airbyte":"connector-builder-server", "app.kubernetes.io/instance":"airbyte-abctl", "app.kubernetes.io/name":"connector-builder-server"}, MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: field is immutable && cannot patch "airbyte-abctl-cron" with kind Deployment: Deployment.apps "airbyte-abctl-cron" is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string]string{"airbyte":"cron", "app.kubernetes.io/instance":"airbyte-abctl", "app.kubernetes.io/name":"cron"}, MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: field is immutable && failed to create patch: The order in patch list:kapa.ai
08/29/2025, 4:14 PMabctl local install --insecure-cookies is due to two main issues: 1. Immutable field error (spec.selector): Kubernetes does not allow changes to the spec.selector field of a Deployment once it has been created. If the Helm chart or abctl tries to update this field during an upgrade, Kubernetes will reject the change with an error like: Deployment.apps "airbyte-abctl-connector-builder-server" is invalid: spec.selector: Invalid value: ... field is immutable This is a known limitation in Kubernetes and is not specific to Airbyte. The only way to resolve this is to delete the affected Deployments and let them be recreated, but this will cause downtime for those components. 2. Failed to create patch: The order in patch list: This error is related to how Helm (used by abctl) applies changes to environment variables in Deployments. If the order of environment variables in the patch does not match the expected order ($setElementOrder), the patch will fail. This is a known issue in Airbyte's abctl-based installations and is being tracked for a fix. It often occurs when you change install modes (e.g., toggling --low-resource-mode) or upgrade between certain versions. See the official documentation for more details: [Failed to Create Patch Order in Patch List](https://docs.airbyte.com/platform/1.7/deploying-airbyte/troubleshoot-deploy#failed-to-create-patch-order-in-patch-list) [Helm chart broken with abctl 0.30.1](https://github.com/airbytehq/airbyte/issues/65129) What can you do? - The knowledge sources do not provide a definitive workaround, but based on the documentation and issues, the recommended approach is: - Delete the affected Deployments (e.g., airbyte-abctl-connector-builder-server, airbyte-abctl-cron) before running the upgrade command again. This will allow Helm to recreate them with the correct selectors and environment variable order. Be aware this will cause temporary downtime for those services. - If you are running in a non-production environment, you may also consider deleting the entire Airbyte namespace and reinstalling, but this will remove all Airbyte data and configuration. Status: This is a known issue and is being tracked for a fix by the Airbyte team. There is no permanent solution yet, but the workaround above should help unblock you for now. For more details, see: [Airbyte Docs: Failed to Create Patch Order in Patch List](https://docs.airbyte.com/platform/1.7/deploying-airbyte/troubleshoot-deploy#failed-to-create-patch-order-in-patch-list) [Helm chart broken with abctl 0.30.1](https://github.com/airbytehq/airbyte/issues/65129)Júlia Lemes
08/29/2025, 4:28 PMkapa.ai
08/29/2025, 4:28 PMkapa.ai
08/29/2025, 4:28 PMairbyte-webapp: The airbyte-webapp component has been removed and its functionality merged into airbyte-server. This means: - The webapp image is no longer published or independently deployable. - If you use Helm, you must update your ingress rules to point to airbyte-server instead of airbyte-webapp. - If you use abctl, ensure your abctl version is compatible with Airbyte 1.8. - Attempting to deploy or upgrade with the old webapp configuration will result in errors such as docker.io/airbyte/webapp:1.8.0: not found [Breaking changes in 1.8](https://docs.airbyte.com/release_notes/v-1.8#breaking-changes) [Github Issue: Helm 1.8.0 missing webapp](https://github.com/airbytehq/airbyte/issues/65096). 2. Helm Chart V2 Migration: - Airbyte 1.8 introduces Helm chart V2, which is optional for now but will become mandatory in the future. - Version 0.30 of abctl uses Helm chart V2 by default for new installations. - Migrating to Helm chart V2 may require changes to your deployment and configuration files [Airbyte 1.8 Release Notes](https://docs.airbyte.com/release_notes/v-1.8). 3. Database Migration Issues: - There have been reports of database migration failures, especially related to dataplane name constraints and schema expectations. For example, duplicate dataplane keys or unexpected database schema changes can cause upgrades to fail. A patch in 1.8.1 addresses some dataplane name constraint issues [Airbyte 1.8.1 Patch Notes](https://docs.airbyte.com/release_notes/v-1.8#version-181) [Github Issue: Helm 1.8.0 missing webapp](https://github.com/airbytehq/airbyte/issues/65096). 4. Ingress Changes: - If you are upgrading from 1.6.x or 1.7.x, you must update your ingress configuration to route traffic to airbyte-server instead of webapp [Breaking change list](https://docs.airbyte.com/release_notes/breaking-changes). 5. Pagination in the UI: - The UI now paginates lists of sources, destinations, and connections, which may cause users to see fewer items per page than before. This is a feature, but it has caused some confusion [Airbyte 1.8 Release Notes](https://docs.airbyte.com/release_notes/v-1.8). 6. Other Fixes and Issues: - Several bugs were fixed in 1.8, including issues with connector authentication, database migrations, and state management for connections. However, users have reported that some upgrade paths (especially with abctl) remain problematic [Airbyte 1.8 Fixes](https://docs.airbyte.com/release_notes/v-1.8#fixes). If you are planning to upgrade to Airbyte 1.8, carefully review the [breaking changes](https://docs.airbyte.com/release_notes/v-1.8#breaking-changes) and [migration guides](https://docs.airbyte.com/platform/deploying-airbyte/chart-v2-community) to avoid common pitfalls.Júlia Lemes
08/29/2025, 4:33 PMkapa.ai
08/29/2025, 4:33 PMkapa.ai
08/29/2025, 4:33 PMairbyte-webapp - Airbyte 1.8 removes the airbyte-webapp component and merges its functions into airbyte-server. The webapp image is no longer published or deployable. - Action: You must update your ingress rules to route traffic to airbyte-server and airbyte-connector-builder-server instead of webapp. If you do not update your ingress, features like the Connector Builder will break (e.g., 403 Forbidden errors) [Breaking changes in 1.8](https://docs.airbyte.com/release_notes/v-1.8#breaking-changes) [Update ingress for version 1.7 and later](https://docs.airbyte.com/platform/deploying-airbyte/integrations/ingress-1-7). 2. Ingress-NGINX Compatibility - Your ingress-nginx chart version (4.13.1) and app version (1.13.1) are not mentioned as problematic in the knowledge sources, so no specific action is required here. Just ensure your ingress rules are updated as described above. 3. abctl Version - abctl version 0.30 and later supports the changes in Airbyte 1.7 and 1.8, and uses Helm chart V2 by default for new installations. Your version (0.30.1) is compatible [Deploying with abctl](https://docs.airbyte.com/platform/deploying-airbyte/integrations/ingress-1-7#deploying-with-abctl). 4. Upgrade Process - Upgrade abctl first: Run brew upgrade abctl to ensure you have the latest version of abctl before upgrading Airbyte. - Upgrade Airbyte: Run abctl local install to upgrade to the latest version of Airbyte. abctl will handle ingress for you, so you do not need to manually update ingress if you use abctl for deployment [Deploying with abctl](https://docs.airbyte.com/platform/deploying-airbyte/integrations/ingress-1-7#deploying-with-abctl). 5. Connector Upgrades - During the upgrade, unused connectors will be upgraded automatically. Used connectors will not be upgraded to avoid disruption. You can upgrade specific connectors later from the Airbyte UI [Upgrading Airbyte](https://docs.airbyte.com/platform/operator-guides/upgrading-airbyte). ### Summary of Steps 1. Upgrade abctl: sh brew upgrade abctl 2. Upgrade Airbyte: sh abctl local install (Add --insecure-cookies if you need it for your environment.) 3. No manual ingress update needed if you use abctl, as it handles ingress for you. ### Additional Notes - If you encounter errors related to immutable fields in Kubernetes Deployments (as in your previous error), you may need to manually delete the affected Deployments before retrying the upgrade. This is a known issue and may occur during certain upgrades [Helm chart broken with abctl 0.30.1](https://github.com/airbytehq/airbyte/issues/65129). - If you deployed with Helm directly (not abctl), you must manually update your ingress rules as described above. If you follow these steps, you should be able to upgrade from Airbyte 1.7.1 to 1.8 with minimal issues, given your current environment and tool versions.Júlia Lemes
08/29/2025, 4:35 PMkapa.ai
08/29/2025, 4:35 PMkapa.ai
08/29/2025, 4:36 PMcannot patch ... with kind Deployment: ... spec.selector: Invalid value ... field is immutable ... failed to create patch: The order in patch list: What’s happening: - Kubernetes does not allow changes to the spec.selector field of a Deployment after it has been created. If the Helm chart tries to change this field during an upgrade, the operation fails. - The “failed to create patch: The order in patch list” error is also a known problem with abctl/Helm upgrades, especially when environment variables or resource fields change order or are duplicated in the patch. This is being tracked by the Airbyte team and is not yet fully resolved [Failed to Create Patch Order in Patch List](https://docs.airbyte.com/platform/1.7/deploying-airbyte/troubleshoot-deploy#failed-to-create-patch-order-in-patch-list) [Helm chart broken with abctl 0.30.1](https://github.com/airbytehq/airbyte/issues/65129). What you can do (from the knowledge sources): - The only workaround currently documented is to manually delete the affected Deployments (e.g., airbyte-abctl-connector-builder-server, airbyte-abctl-cron) before running the upgrade again. This will allow Helm to recreate them with the correct selectors and environment variable order. > “The only way to resolve this is to delete the affected Deployments and let them be recreated, but this will cause downtime for those components.” [Helm chart broken with abctl 0.30.1](https://github.com/airbytehq/airbyte/issues/65129) Example commands: sh kubectl delete deployment airbyte-abctl-connector-builder-server -n <your-namespace> kubectl delete deployment airbyte-abctl-cron -n <your-namespace> Then re-run your abctl local install command. Note: - This will cause temporary downtime for those services. - If you have persistent data, make sure your volumes and databases are not deleted—only the Deployments. Summary: This is a known, unresolved issue with Airbyte upgrades using abctl and Helm. The only documented workaround is to delete the affected Deployments and retry the upgrade. If you continue to encounter issues, you may need to wait for an upstream fix from the Airbyte team [Failed to Create Patch Order in Patch List](https://docs.airbyte.com/platform/1.7/deploying-airbyte/troubleshoot-deploy#failed-to-create-patch-order-in-patch-list).Júlia Lemes
08/29/2025, 4:38 PMkapa.ai
08/29/2025, 4:38 PMkapa.ai
08/29/2025, 4:38 PMspec.selector field in your Deployments. However, based on the error messages and related GitHub issues, it appears that changes in the Helm chart or Airbyte's deployment templates between versions (especially with the introduction of Helm chart V2 and the merging of components like webapp into server) may result in updates to the labels or selectors used in Deployments. When these labels/selectors differ from what was originally set, Helm attempts to patch the Deployment, which Kubernetes does not allow for the spec.selector field because it is immutable after creation. This issue is recognized and discussed in the Airbyte community, but the exact technical reason for the selector change is not detailed in the provided sources. The workaround, as documented, is to delete the affected Deployments so they can be recreated with the new selectors during the upgrade process [Helm chart broken with abctl 0.30.1](https://github.com/airbytehq/airbyte/issues/65129). If you need a more detailed explanation of the underlying cause, the knowledge sources do not provide that information.Júlia Lemes
08/29/2025, 4:41 PMkapa.ai
08/29/2025, 4:41 PMkapa.ai
08/29/2025, 4:41 PMkubectl delete deployment command, specifying the deployment name and the namespace where Airbyte is installed. For example, if your namespace is airbyte-abctl, and you need to delete the airbyte-abctl-connector-builder-server and airbyte-abctl-cron deployments (as indicated by your error), you would run: sh kubectl delete deployment airbyte-abctl-connector-builder-server -n airbyte-abctl kubectl delete deployment airbyte-abctl-cron -n airbyte-abctl This approach is recommended in the context of immutable field errors during upgrades, as deleting the problematic deployments allows Helm (and abctl) to recreate them with the correct configuration during the next install or upgrade attempt. This workaround is referenced in the Airbyte community and issue tracker, where users are advised to delete the affected resources before retrying the upgrade [Helm chart broken with abctl 0.30.1](https://github.com/airbytehq/airbyte/issues/65129). Note: - Only delete the specific deployments mentioned in your error message. - Ensure you do not delete persistent volumes or databases unless you intend to remove all Airbyte data. If you are unsure of your namespace or want to list all deployments, you can run: sh kubectl get deployments -A This will help you confirm the exact names and namespaces of the deployments to delete.Júlia Lemes
08/29/2025, 4:49 PMkapa.ai
08/29/2025, 4:49 PMkapa.ai
08/29/2025, 4:49 PMunable to install airbyte chart: unable to install helm: failed to create patch: The order in patch list: doesn't match $setElementOrder list: This is a known and unresolved issue with Airbyte upgrades using abctl and Helm, especially when environment variables or resource fields change order or are duplicated in the patch. Deleting the affected Deployments sometimes resolves immutable field errors, but does not always resolve the patch order issue. The Airbyte team is aware of this and is tracking it for a fix, but there is no official workaround or solution documented at this time [Failed to Create Patch Order in Patch List](https://docs.airbyte.com/platform/1.7/deploying-airbyte/troubleshoot-deploy#failed-to-create-patch-order-in-patch-list) [Helm chart broken with abctl 0.30.1](https://github.com/airbytehq/airbyte/issues/65129). Summary: - The error is caused by a mismatch in the order of environment variables or fields in the Helm patch versus what Kubernetes expects. - Deleting Deployments resolves immutable field errors, but not the patch order issue. - There is currently no documented fix for the patch order error; it is being worked on by the Airbyte team. If you continue to encounter this error, you may need to wait for an upstream fix from Airbyte. The knowledge sources do not provide any further workaround or solution at this time.