Skip to content

Latest commit

 

History

History
88 lines (56 loc) · 5.29 KB

on-deploying.md

File metadata and controls

88 lines (56 loc) · 5.29 KB
description
Common issues and their workarounds when trying to deploy Airbyte

On Deploying

Stuck in onboarding, can’t skip or do anything

To fully reset Airbyte, you also need to delete the docker volumes associated with Airbyte. This is where data is stored. Assuming that you are running Airbyte by running docker-compose up, then what you need to do is:

  • Turn off Airbyte completely: docker-compose down -v
  • Turn Airbyte back on: docker-compose up

that should handle you getting reset to the beginning. I would be curious if we can see the logs associated with the failure you are seeing. I would say if after you reset you run into it again we can debug that.

Git says file names are too long.

If you are cloning the repo, you might run into a problem where git indicates that certain filenames are too long and it therefore can't create the local file. So if you received this error after cloning the repo, run the following commands in git bash:

cd airbyte
git config core.longpaths true
git reset --hard HEAD

However it's worth pointing out that the core.longpaths option is defaulted to false for a reason, so use with caution. This git configuration is only changed within the cloned Airbyte repo, so you won't need to worry about changing this setting for other repositories. Find more details about this issue in this stack overflow question.

Instead of cloning the repo, you can alternatively download the latest Airbyte release here. Unzip the downloaded file, access the unzipped file using PowerShell terminal, and run docker-compose up. After this, you should see the Airbyte containers in the Docker application as in the image below.

I have run docker-compose up and can not access the interface

  • If you see a blank screen and not a loading icon:

Check your web browser version; Some old versions of web browsers doesn't support our current Front-end stack.

  • If you see a loading icon or the message Cannot reach the server persist:

Check if all Airbyte containers are running, executing: docker ps

CONTAINER ID   IMAGE                            COMMAND                  CREATED        STATUS        PORTS                              NAMES
f45f3cfe1e16   airbyte/scheduler:1.11.1-alpha   "/bin/bash -c './wai…"   2 hours ago    Up 2 hours                                      airbyte-scheduler
f02fc709b130   airbyte/server:1.11.1-alpha      "/bin/bash -c './wai…"   2 hours ago    Up 2 hours   8000/tcp, [...] :::8001->8001/tcp  airbyte-server
153b2b322870   airbyte/webapp:1.11.1-alpha      "/docker-entrypoint.…"   2 hours ago    Up 2 hours   :::8000->80/tcp                    airbyte-webapp
b88d94652268   airbyte/db:1.11.1-alpha          "docker-entrypoint.s…"   2 hours ago    Up 2 hours   5432/tcp                           airbyte-db
0573681a10e0   temporalio/auto-setup:1.7.0      "/entrypoint.sh /bin…"   2 hours ago    Up 2 hours   6933-6935/tcp, [...]               airbyte-temporal

You must see 5 containers running. If you are not seeing execute the following steps:

  • docker-compose down -v

  • docker-compose up

    Keep in mind the commands above will delete ALL containers, volumes and data created by Airbyte.

    We do not recommend this is you already deploy and have connection created.

First, let's check the server logs by running docker logs airbyte-server | grep ERROR.
If this command returns any output, please run docker logs airbyte-server > airbyte-server.log.
This command will create a file in the current directory. We advise you to send a message on our #issues on Slack channel

If you don't have any server errors let's check the scheduler, docker logs airbyte-scheduler | grep ERROR.
If this command returns any output, please run docker logs airbyte-scheduler > airbyte-scheduler.log.
This command will create a file in the current directory. We advise you to send a message on our #issues on Slack channel

If there is no error printed in both cases, we recommend running: docker restart airbyte-server airbyte-scheduler
Wait a few moments and try to access the interface again.

docker.errors.DockerException: Error while fetching server API version

If you see the following error:

docker.errors.DockerException: Error while fetching server API
version: ('Connection aborted.', FileNotFoundError(2, 'No such file or
directory'))

It usually means that Docker isn't running on your machine (and a running Docker daemon is required to run Airbyte). An easy way to verify this is to run docker ps, which will show Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? if the Docker daemon is not running on your machine.

This happens (sometimes) on Windows system when you first install docker. You need to restart your machine.

Getting a weird error related to setting up the Airbyte server when running Docker Compose -- wondering if this is because I played around with Airbyte in a past version?

If you are okay with losing your previous Airbyte configurations, you can run docker-compose down -v and that should fix things then docker-compose up.