Hi everyone, We're using Airbyte with the `abctl` ...
# replication-troubleshooting
s
Hi everyone, We're using Airbyte with the
abctl
CLI tool, and it’s been working well for us so far — thank you for the great work! I'm currently testing an update of our Airbyte instance on our staging server. Here are the steps we followed: 1. Updated the
abctl
binary 2. Ran
abctl local uninstall
3. Ran
abctl local install
The update seems to have gone through, but unfortunately, all our data (sources, destinations, connections) was lost after the reinstall. This raises some concerns before we proceed with updating our production environment. I have a few questions: 1. What is the recommended way to safely update Airbyte when using
abctl
without losing data? 2. How can we back up our configuration (sources, destinations, connections) in case something goes wrong? 3. Is there any plan to support a simple
docker-compose
setup again, instead of relying solely on
abctl
? We feel that Kubernetes is overkill for our needs, and we would really prefer to avoid managing a K8s infrastructure just to run Airbyte. It's unfortunate that
abctl
now feels like a black box, and that the simpler
docker-compose
approach seems deprecated or unsupported. Thanks in advance for your help and any guidance you can provide!
k
New message text here
s
Also, we noticed that running
abctl local install
without running
abctl local uninstall
first doesn’t work — it seems the existing
kind
cluster is still active and prevents the reinstall. Is there a proper/recommended way to stop or cleanly shut down the existing instance before reinstalling or upgrading, without triggering a full uninstall (and losing everything)?
a
you are definitely not supposed to lose everything after abctl local uninstall. Did you double check there wasn't any issues behind the screens and your db isn't used? It should still be dangling and not lost. Also, are you sure you ran the command from the same VM user as previously?
To be more exact: the database volume is stored at
~/.airbyte/abctl/data/airbyte-volume-db/
and should persist even after uninstall. The db rests, I think, under pgdata, you can check:
Copy code
ls -la ~/.airbyte/abctl/data/airbyte-volume-db/pgdata/
Things that pop to my mind which could prevent you from reusing the old db: 1. Running the commands as a different user (root vs regular user) - the data would be in different home directories 2. Using
abctl local uninstall --persisted
which explicitly deletes the data volumes 3. Permission issues preventing the new install from reading the old database (check ownership with
ls -la
) I think you should get an error in logs re that (if 3 is the case), but you can chown from your user just to make sure:
Copy code
sudo chown -R $(whoami):$(whoami) ~/.airbyte/abctl/data/
And try to uninstall/install again