1
0
mirror of synced 2026-01-10 09:04:48 -05:00
Files
airbyte/docs/troubleshooting/on-deploying.md
Lake Mossman 73034c64da Sweep old scheduler code (#13400)
* sweep all scheduler application code and new-scheduler conditional logic

* remove airbyte-scheduler from deployments and docs

* format

* remove 'v2' from github actions

* add back scheduler in delete deployment command

* remove scheduler parameters from helm chart values

* add back job cleaner + test and add comment

* remove now-unused env vars from code and docs

* format

* remove feature flags from web backend connection handler as it is no longer needed

* remove feature flags from config api as it is now longer needed

* remove feature flags input from config api test

* format + shorter url

* remove scheduler parameters from helm chart readme
2022-06-06 10:49:17 -07:00

88 lines
5.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
description: Common issues and their workarounds when trying to deploy Airbyte
---
# On Deploying
## Stuck in onboarding, cant 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_:
```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](https://stackoverflow.com/questions/22575662/filename-too-long-in-git-for-windows).
Instead of cloning the repo, you can alternatively download the latest Airbyte release [here](https://github.com/airbytehq/airbyte/releases). 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.
![](../.gitbook/assets/airbyte_deploy_windows_docker.png)
## 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`
```text
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
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 4 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 worker, `docker logs airbyte-worker | grep ERROR`.
If this command returns any output, please run `docker logs airbyte-worker > airbyte-worker.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-worker`
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:
```text
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`.