<@U04S8PLJWMT> I just ran `abctl local install --c...
# ask-ai
b
@kapa.ai I just ran `abctl local install --chart-version=1.4.0 and got theses logs:
Copy code
INFO    Using Kubernetes provider:
            Provider: kind
            Kubeconfig: /home/baudouinfauchier-magnan/.airbyte/abctl/abctl.kubeconfig
            Context: kind-airbyte-abctl
 SUCCESS  Found Docker installation: version 26.1.4
 SUCCESS  Existing cluster 'airbyte-abctl' found
 SUCCESS  Cluster 'airbyte-abctl' validation complete
  INFO    Patching image airbyte/db:1.7.0-17
  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
  INFO    Starting Helm Chart installation of 'airbyte/airbyte' (version: 1.4.0)
  ERROR   airbyte-bootloader: Unable to bootstrap Airbyte environment.
  ERROR   Failed to install airbyte/airbyte Helm Chart
  ERROR   Unable to install Airbyte locally
  ERROR   unable to install airbyte chart: bootloader failed

  INFO    The bootloader failed to its initialization checks or migrations. Try running again with --verbose to see the full bootloader logs.
k
The error message you’re seeing—`bootloader failed` and `Unable to bootstrap Airbyte environment`—is a common issue when installing Airbyte with abctl. According to the official troubleshooting documentation, this typically means the Airbyte bootloader was unable to start, often because it could not connect to the airbyte-db service. This is the first component to start during installation, and its failure usually blocks the rest of the deployment. What you can do: - Run the install command again with the
--verbose
flag to get more detailed logs. This can help pinpoint whether the issue is with the database connection or something else. - Check that your Docker and Kubernetes (kind) environments are healthy and that there are no port conflicts or permission issues. - Ensure that the persistent volumes and claims are accessible and not corrupted. - If you have previously installed Airbyte, try uninstalling and reinstalling, as sometimes leftover resources can cause issues. - Some users have reported that downgrading the chart version (e.g., to 1.3.x or 1.2.x) or cleaning up the environment before reinstalling can help, but this is not guaranteed. The documentation confirms that this is a known and actively investigated issue, especially when the bootloader cannot connect to the database. For more details and ongoing discussion, see the [official troubleshooting guide](https://docs.airbyte.com/platform/deploying-airbyte/troubleshoot-deploy) and the linked GitHub discussion [#45458](https://github.com/airbytehq/airbyte/discussions/45458). If you continue to encounter this error, sharing the verbose logs (as suggested in the output) will help further diagnose the root cause.
b
@kapa.ai if I uninstall airbyte and reinstall it, will I keep my connections?
k
A message from kapa.ai
If you uninstall Airbyte using
abctl local uninstall
, your data—including connections, sources, destinations, and sync history—will be preserved. This command stops all running containers but keeps your data so that when you reinstall Airbyte, your previous configuration will still be available. However, if you uninstall Airbyte with the
--persisted
flag (i.e.,
abctl local uninstall --persisted
), all data will be deleted, and you will lose your connections and configurations. Additionally, if you manually delete the
~/.airbyte/abctl
directory, this will also remove all persisted data and configuration files, resulting in data loss upon reinstallation. So, to keep your connections, use:
Copy code
abctl local uninstall
and avoid using the
--persisted
flag or deleting the Airbyte data directory [Uninstall Airbyte](https://docs.airbyte.com/platform/next/using-airbyte/getting-started/oss-quickstart#uninstall-airbyte) [Install and manage local Airbyte instances](https://docs.airbyte.com/platform/next/deploying-airbyte/abctl#install-and-manage-local-airbyte-instances).
b
@kapa.ai I did that and the reinstall worked fine but I cannot find my connections. What is the command to list the workspaces
k
A message from kapa.ai
To list your workspaces using the Airbyte Public API, you can use the following endpoint:
Copy code
GET /workspaces
This will return a list of all workspaces you have access to, including their IDs, names, and data residency information. You can use a tool like
curl
to make this request if you have the appropriate API access. Example request:
Copy code
bash curl -X GET "https://example.com/api/public/v1/workspaces" \   -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \   -H "Content-Type: application/json"
The response will include an array of workspaces, each with its
workspaceId
,
name
, and
dataResidency
fields [Airbyte Public API - Workspaces](https://raw.githubusercontent.com/airbytehq/airbyte-platform/f284238f0099c4c0a3542d4c42a88773c45c363d/airbyte-api/src/main/openapi/api.yaml). If you are using the Airbyte UI, you can also see a list of your workspaces and their regions under Settings > Organization > General [Check which region your workspaces use](https://docs.airbyte.com/platform/next/enterprise-setup/multi-region#check-which-region-your-workspaces-use). If you cannot find your connections, ensure you are looking in the correct workspace, as connections are scoped to workspaces.
b
@kapa.ai I want the command line from the VM hosting Airbyte
k
A message from kapa.ai
I'm sorry, but the knowledge sources do not mention a specific abctl or other command-line command to list workspaces directly from the VM hosting Airbyte. The available documentation describes how to list workspaces using the Airbyte Public API via HTTP requests (for example, with curl), but does not provide a native abctl command for this purpose. If you want to list workspaces from the command line, you should use the API as shown:
Copy code
bash curl -X GET "<YOUR_WEBAPP_URL>/api/public/v1/workspaces" \   -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \   -H "Content-Type: application/json"
Replace
<YOUR_WEBAPP_URL>
with your Airbyte instance URL and
YOUR_ACCESS_TOKEN
with a valid token. The response will include your workspaces and their details. For more information on obtaining an access token, refer to the documentation on [configuring API access](https://docs.airbyte.com/platform/next/using-airbyte/configuring-api-access). There is no mention in the knowledge sources of an abctl command to list workspaces directly. If you need to interact with workspaces from the command line, the API is the recommended approach.
b
@kapa.ai Why did I loose all my connections while reinstalling Airbyte?
k
A message from kapa.ai
You lost all your connections while reinstalling Airbyte because, although the command
abctl local uninstall
is supposed to stop containers and keep your data, there are multiple reports and issues indicating that in some cases, running this command can still result in data loss. For example, users have reported that after running
abctl local uninstall
(without the
--persisted
flag), all data—including connections—was wiped upon reinstall, even though this is not the expected behavior according to the documentation [airbyte abctl not connecting to the source DB](https://github.com/airbytehq/airbyte/issues/62463). Additionally, if you ran
abctl local uninstall --persisted
or manually deleted the
~/.airbyte/abctl
directory, this would also remove all persisted data and configurations, resulting in the loss of your connections [Uninstall Airbyte](https://docs.airbyte.com/platform/next/using-airbyte/getting-started/oss-quickstart#uninstall-airbyte). In summary, while the documentation states that a standard uninstall should preserve your data, there are known issues where data can be lost during this process. If you need to preserve your connections and configurations, always ensure you have backups before uninstalling or reinstalling Airbyte.