Trouble installing Airbyte locally using abctl install local

E0905 17:56:10.396904   75011 memcache.go:265] couldn't get current server API group list: the server could not find the requested resource
E0905 17:56:10.399637   75011 memcache.go:265] couldn't get current server API group list: the server could not find the requested resource
E0905 17:56:10.401645   75011 memcache.go:265] couldn't get current server API group list: the server could not find the requested resource
Error from server (NotFound): the server could not find the requested resource```

Stuck here for now, but just 4m13 so I will wait

you can also look at the logs for the db container with
kubectl -n airbyte-abctl logs airbyte-db-container

That can help tell you what’s going on.

E0905 17:59:57.036214   75199 memcache.go:265] couldn't get current server API group list: the server could not find the requested resource
E0905 17:59:57.041406   75199 memcache.go:265] couldn't get current server API group list: the server could not find the requested resource
E0905 17:59:57.046223   75199 memcache.go:265] couldn't get current server API group list: the server could not find the requested resource
Error from server (NotFound): the server could not find the requested resource```

Feels like it’s the same result :slightly_smiling_face:

try this:
docker exec -it airbyte-abctl-control-plane kubectl -n airbyte-abctl logs airbyte-db-0

Do I stop the process first ?

Nope, run it in a separate terminal


2024-09-05 15:54:53.643 UTC [1] LOG:  starting PostgreSQL 13.16 on aarch64-unknown-linux-musl, compiled by gcc (Alpine 13.2.1_git20240309) 13.2.1 20240309, 64-bit
2024-09-05 15:54:53.644 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
2024-09-05 15:54:53.644 UTC [1] LOG:  listening on IPv6 address "::", port 5432
2024-09-05 15:54:53.649 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2024-09-05 15:54:53.751 UTC [17] LOG:  database system was shut down at 2024-09-05 15:53:06 UTC
2024-09-05 15:54:53.768 UTC [1] LOG:  database system is ready to accept connections
2024-09-05 15:57:53.964 UTC [21] WARNING:  could not open statistics file "pg_stat_tmp/global.stat": Operation not permitted```

so, the error you were getting before (Error from server (NotFound): the server could not find the requested resource) that was just kubectl telling you it didn’t have the correct config, probably because you opened a different terminal but didn’t run the export KUBECONFIG... command. It’s one of those k8s details that’s harder than docker. It might be easier to do docker exec -it airbyte-abctl-control-plane kubectl instead, which uses the kubectl inside the airbyte container

Seems like there is an error in the command

you mean this?
WARNING: could not open statistics file "pg_stat_tmp/global.stat": Operation not permitted

Nope in the last command you gave me

ah ya, that’s just the base command. that gives you access to the k8s cluster.

are you using abctl v0.14.1?

I installed abctl today so I guess (if you talk about the last version)

probably. abctl version should tell you

Just for info, the process is still running

what does abctl local deployments say?