abctl local install failed; error reading pgdata version file
- Dominant language
- Python
- Stars
- 22.1k
- Forks
- 5.3k
- PR merge metrics
- PR metrics pending
Description
### What happened?
When starting Airbyte via `abctl local install` I receive the following error and abort of the prcoess:
```bash
abctl local install
INFO Using Kubernetes provider:
Provider: kind
Kubeconfig: /home//.airbyte/abctl/abctl.kubeconfig
Context: kind-airbyte-abctl
SUCCESS Found Docker installation: version 29.4.0
INFO No existing cluster found, cluster 'airbyte-abctl' will be created
SUCCESS Port 8000 appears to be available
SUCCESS Cluster 'airbyte-abctl' created
ERROR failed to determine if any previous psql version exists: error reading pgdata version file: open /home//.airbyte/abctl/data/airbyte-volume-db/pgdata/PG_VERSION: permission denied
▀ Creating cluster 'airbyte-abctl' (1m46s)%
```
Inspection shows that `~/.airbyte/abctl/data/airbyte-volume-db/pgdata` is owned by UID/GID `70` and has permissions `drwx------` (0700), which prevents the host user (UID 1000) from traversing the directory and reading `PG_VERSION` (confirmed via `namei -l`).
### What did you expect to happen?
Running `abctl local install` after a clean shutdown (`abctl local uninstall`) should successfully install/deploy Airbyte and start the required Kubernetes resources (pods/services). abctl should not fail due to host filesystem permissions when checking the existing PostgreSQL data directory (e.g., reading `PG_VERSION`), or it should handle this check in a way that does not require host-user access to the database data directory.
### Abctl Version
```console
$ abctl version
(version: v0.30.4)
```
### Docker Version
```console
$ docker version
Client: Docker Engine - Community
Version: 29.4.1
API version: 1.54
Go version: go1.26.2
Git commit: 055a478
Built: Mon Apr 20 16:32:37 2026
OS/Arch: linux/amd64
Context: default
Server: Docker Desktop 4.70.0 (224270)
Engine:
Version: 29.4.0
API version: 1.54 (minimum version 1.40)
Go version: go1.26.1
Git commit: daa0cb7
Built: Tue Apr 7 08:36:03 2026
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: v2.2.1
GitCommit: dea7da592f5d1d2b7755e3a161be07f43fad8f75
runc:
Version: 1.3.4
GitCommit: v1.3.4-0-gd6d73eb8
docker-init:
Version: 0.19.0
GitCommit: de40ad0
```
### OS Version
I use Airbyte in WSL2
```console
# On Linux:
$ cat /etc/os-release
PRETTY_NAME="Ubuntu 24.04.4 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.4 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo
# On Windows:
Get-CimInstance Win32_OperatingSystem |
∙ Select-Object Caption, Version, BuildNumber, OSArchitecture
Caption Version BuildNumber OSArchitecture
------- ------- ----------- --------------
Microsoft Windows 11 Enterprise 10.0.26100 26100 64-Bit
```
---
**Internal Tracking:** https://github.com/airbytehq/oncall/issues/12079
Contributor guide
Assessment
This issue has not been assessed yet.