<@U04S8PLJWMT> Does abctl local install take a lon...
# ask-ai
s
@kapa.ai Does abctl local install take a long time? Im encountering 30 + mins after my airbyte local deployment quit unexpectedly
k
Yes, it is expected that
abctl local install
can take a long time—up to 30 minutes or even longer in some cases. The official Airbyte documentation states that, depending on your internet speed, the installation may take up to 30 minutes to complete. This is due to the need to pull multiple Docker images and set up the local Kubernetes environment. If your deployment quit unexpectedly, a subsequent install may take just as long or longer, especially if some images need to be re-pulled or if there are network issues or rate limits from Docker Hub. Users have reported that installs can sometimes take 1–2 hours, particularly on lower-resource machines or with slow internet connections. If the install fails, it is recommended to run
abctl local uninstall
before trying again, as this can help clear up issues from a previous failed install. Also, ensure your machine meets the recommended resources (at least 4 CPUs and 8GB RAM) for a smoother installation process [Install and manage local Airbyte instances](https://docs.airbyte.com/platform/next/deploying-airbyte/abctl#install-and-manage-local-airbyte-instances) [abctl install stuck at pulling images](https://github.com/airbytehq/airbyte/issues/48720).
A message from kapa.ai
Yes, it is normal for
abctl local install
to take a long time—up to 30 minutes or even longer in some cases. The official Airbyte documentation notes that installation may take up to 30 minutes depending on your internet connection, as it needs to pull multiple images and set up the environment. Users have also reported in GitHub issues that installs can sometimes take 1–2 hours, especially if there are network issues or if the previous deployment quit unexpectedly. If the install fails or hangs, it is recommended to run
abctl local uninstall
before trying again, and in some cases, you may need to clear the local Airbyte data directory as well [Install and manage local Airbyte instances](https://docs.airbyte.com/platform/next/deploying-airbyte/abctl#install-and-manage-local-airbyte-instances) [abctl install stuck at pulling images](https://github.com/airbytehq/airbyte/issues/48720). If your previous deployment quit unexpectedly, leftover data or partial installs can slow things down or cause issues. Cleaning up with
abctl local uninstall
and, if needed, removing
~/.airbyte/abctl/data
can help resolve these problems [[Migration schema error cannot run abctl local install](https://github.com/airbytehq/airbyte/issues/58864)].
s
@kapa.ai I did a verbose install and it seems to be failing at ERROR i.a.w.l.StartupApplicationEventListener(onApplicationEvent$lambda$1):43 - Failed to retrieve and resume claimed workloads, exiting. io.airbyte.api.client.ApiException: Unauthorized at io.airbyte.workload.api.client.WorkloadApiClient.workloadList(WorkloadApiClient.kt:283) at io.airbyte.workload.launcher.ClaimedProcessor.getWorkloadList$lambda$9(ClaimedProcessor.kt:112) at dev.failsafe.Functions.lambda$toCtxSupplier$11(Functions.java:243) at dev.failsafe.Functions.lambda$get$0(Functions.java:46) at dev.failsafe.internal.RetryPolicyExecutor.lambda$apply$0(RetryPolicyExecutor.java:74) at dev.failsafe.SyncExecutionImpl.executeSync(SyncExecutionImpl.java:187) at dev.failsafe.FailsafeExecutor.call(FailsafeExecutor.java:376) at dev.failsafe.FailsafeExecutor.get(FailsafeExecutor.java:112) at io.airbyte.workload.launcher.ClaimedProcessor.getWorkloadList(ClaimedProcessor.kt:110) at io.airbyte.workload.launcher.ClaimedProcessor.retrieveAndProcess(ClaimedProcessor.kt:57) at io.airbyte.workload.launcher.StartupApplicationEventListener.onApplicationEvent$lambda$1(StartupApplicationEventListener.kt:39) at kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:30)
k
A message from kapa.ai
The error message you are seeing:
Copy code
ERROR i.a.w.l.StartupApplicationEventListener(onApplicationEvent$lambda$1):43 - Failed to retrieve and resume claimed workloads, exiting. io.airbyte.api.client.ApiException: Unauthorized
indicates that the Airbyte workload launcher is unable to authenticate when trying to retrieve workloads. This "Unauthorized" error is commonly related to issues with dataplane credentials or secrets in your Airbyte installation. Based on similar issues reported by other users, this can happen if the dataplane secrets (such as
dataplane-client-id
) are missing or not properly created in your Kubernetes secrets, especially after a failed or interrupted install. Users have reported that deleting the
dataplane
and
dataplane_client_credentials
records from the Airbyte database and then reinstalling can help regenerate the necessary secrets. Here’s a summary of the recommended steps: 1. Delete the problematic records from the database:
Copy code
sh    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
2. Re-run the installation:
Copy code
sh    abctl local install --insecure-cookies -v
This should prompt Airbyte to recreate the necessary dataplane secrets and resolve the "Unauthorized" error during workload retrieval. If you continue to see issues, ensure that your secrets (like
airbyte-auth-secrets
) contain the required keys, such as
dataplane-client-id
 [Could not deploy latest (v1.6.0) airbyte community with abctl](https://github.com/airbytehq/airbyte/issues/58587). If the problem persists after these steps, there may be a deeper issue with the installation or a bug in the current Airbyte version. In that case, consider checking for open issues or updates from the Airbyte team.