Hello! I'm wanting to test out Airbyte and trying ...
# ask-ai
n
Hello! I'm wanting to test out Airbyte and trying to install on a local windows machine running WSL v2 Ubuntu 22.04 LTS. I'm getting this message when running the ./run-ab-platform.sh script:
.env: line 70: SYNC_JOB_INIT_RETRY_TIMEOUT_MINUTES:: command not found
I can't seem to find this specific message anywhere. The closest thing I found mentioned a difference between windows line endings instead of unix line endings, so I tried running dos2unix on the script but the issue persists.1 Can anyone point me in the right direction? Here's the verbose script output:
Copy code
XXXX@XXXXXXX:~/airbyte$ sudo ./run-ab-platform.sh -x
./run-ab-platform.sh:14: shift
./run-ab-platform.sh:14: tput cols
./run-ab-platform.sh:14: test 175 -ge 64
./run-ab-platform.sh:14: echo -e '\033[32m'

./run-ab-platform.sh:14: echo -e ' █████╗ ██╗██████╗ ██████╗ ██╗   ██╗████████╗███████╗'
 █████╗ ██╗██████╗ ██████╗ ██╗   ██╗████████╗███████╗
./run-ab-platform.sh:14: echo -e '██╔══██╗██║██╔══██╗██╔══██╗╚██╗ ██╔╝╚══██╔══╝██╔════╝'
██╔══██╗██║██╔══██╗██╔══██╗╚██╗ ██╔╝╚══██╔══╝██╔════╝
./run-ab-platform.sh:14: echo -e '███████║██║██████╔╝██████╔╝ ╚████╔╝    ██║   █████╗  '
███████║██║██████╔╝██████╔╝ ╚████╔╝    ██║   █████╗
./run-ab-platform.sh:14: echo -e '██╔══██║██║██╔══██╗██╔══██╗  ╚██╔╝     ██║   ██╔══╝  '
██╔══██║██║██╔══██╗██╔══██╗  ╚██╔╝     ██║   ██╔══╝
./run-ab-platform.sh:14: echo -e '██║  ██║██║██║  ██║██████╔╝   ██║      ██║   ███████╗'
██║  ██║██║██║  ██║██████╔╝   ██║      ██║   ███████╗
./run-ab-platform.sh:14: echo -e '╚═╝  ╚═╝╚═╝╚═╝  ╚═╝╚═════╝    ╚═╝      ╚═╝   ╚══════╝'
╚═╝  ╚═╝╚═╝╚═╝  ╚═╝╚═════╝    ╚═╝      ╚═╝   ╚══════╝
./run-ab-platform.sh:14: echo -e '                                            Move Data'
                                            Move Data
./run-ab-platform.sh:14: echo -e '\033[0m'

./run-ab-platform.sh:14: sleep 1
./run-ab-platform.sh:14: docker compose version
./run-ab-platform.sh:14: Download
./run-ab-platform.sh:14: for file in $all_files
./run-ab-platform.sh:14: test -f docker-compose.yaml
./run-ab-platform.sh:14: find docker-compose.yaml -type f -mtime +60
./run-ab-platform.sh:14: test
./run-ab-platform.sh:14: echo -e '\033[94mfound docker-compose.yaml locally!\033[39m'
found docker-compose.yaml locally!
./run-ab-platform.sh:14: for file in $all_files
./run-ab-platform.sh:14: test -f docker-compose.debug.yaml
./run-ab-platform.sh:14: find docker-compose.debug.yaml -type f -mtime +60
./run-ab-platform.sh:14: test
./run-ab-platform.sh:14: echo -e '\033[94mfound docker-compose.debug.yaml locally!\033[39m'
found docker-compose.debug.yaml locally!
./run-ab-platform.sh:14: for file in $all_files
./run-ab-platform.sh:14: test -f .env
./run-ab-platform.sh:14: find .env -type f -mtime +60
./run-ab-platform.sh:14: test
./run-ab-platform.sh:14: echo -e '\033[94mfound .env locally!\033[39m'
found .env locally!
./run-ab-platform.sh:14: for file in $all_files
./run-ab-platform.sh:14: test -f .env.dev
./run-ab-platform.sh:14: find .env.dev -type f -mtime +60
./run-ab-platform.sh:14: test
./run-ab-platform.sh:14: echo -e '\033[94mfound .env.dev locally!\033[39m'
found .env.dev locally!
./run-ab-platform.sh:14: for file in $all_files
./run-ab-platform.sh:14: test -f flags.yml
./run-ab-platform.sh:14: find flags.yml -type f -mtime +60
./run-ab-platform.sh:14: test
./run-ab-platform.sh:14: echo -e '\033[94mfound flags.yml locally!\033[39m'
found flags.yml locally!
./run-ab-platform.sh:14: for file in $dot_env $dot_env_dev
./run-ab-platform.sh:14: echo -e '\033[94mLoading Shell Variables from .env...\033[39m'
Loading Shell Variables from .env...
./run-ab-platform.sh:14: source .env
./run-ab-platform.sh:14: VERSION=0.44.8
./run-ab-platform.sh:14: CONFIG_ROOT=/data
./run-ab-platform.sh:14: DATA_DOCKER_MOUNT=airbyte_data
./run-ab-platform.sh:14: DB_DOCKER_MOUNT=airbyte_db
./run-ab-platform.sh:14: WORKSPACE_ROOT=/tmp/workspace
./run-ab-platform.sh:14: WORKSPACE_DOCKER_MOUNT=airbyte_workspace
./run-ab-platform.sh:14: LOCAL_ROOT=/tmp/airbyte_local
./run-ab-platform.sh:14: LOCAL_DOCKER_MOUNT=/tmp/airbyte_local
./run-ab-platform.sh:14: HACK_LOCAL_ROOT_PARENT=/tmp
./run-ab-platform.sh:14: BASIC_AUTH_USERNAME=airbyte
./run-ab-platform.sh:14: BASIC_AUTH_PASSWORD=password
./run-ab-platform.sh:14: BASIC_AUTH_PROXY_TIMEOUT=900
./run-ab-platform.sh:14: DATABASE_USER=docker
./run-ab-platform.sh:14: DATABASE_PASSWORD=docker
./run-ab-platform.sh:14: DATABASE_HOST=db
./run-ab-platform.sh:14: DATABASE_PORT=5432
./run-ab-platform.sh:14: DATABASE_DB=airbyte
./run-ab-platform.sh:14: DATABASE_URL=jdbc:<postgresql://db:5432/airbyte>
./run-ab-platform.sh:14: JOBS_DATABASE_MINIMUM_FLYWAY_MIGRATION_VERSION=0.40.26.001
./run-ab-platform.sh:14: CONFIG_DATABASE_USER=
./run-ab-platform.sh:14: CONFIG_DATABASE_PASSWORD=
./run-ab-platform.sh:14: CONFIG_DATABASE_URL=
./run-ab-platform.sh:14: CONFIGS_DATABASE_MINIMUM_FLYWAY_MIGRATION_VERSION=0.40.23.002
./run-ab-platform.sh:14: TEMPORAL_HOST=airbyte-temporal:7233
./run-ab-platform.sh:14: INTERNAL_API_HOST=airbyte-server:8001
./run-ab-platform.sh:14: CONNECTOR_BUILDER_API_HOST=airbyte-connector-builder-server:80
./run-ab-platform.sh:14: WEBAPP_URL=<http://localhost:8000/>
./run-ab-platform.sh:14: CONNECTOR_BUILDER_API_URL=/connector-builder-api
./run-ab-platform.sh:14: SYNC_JOB_MAX_ATTEMPTS=3
./run-ab-platform.sh:14: SYNC_JOB_MAX_TIMEOUT_DAYS=3
./run-ab-platform.sh:14: SYNC_JOB_INIT_RETRY_TIMEOUT_MINUTES: 5
.env: line 70: SYNC_JOB_INIT_RETRY_TIMEOUT_MINUTES:: command not found
k
A message from kapa.ai
@Nick Mancini That's a great question, but unfortunately it is too long. Can you ask me again but make it shorter? I'm here to help!
n
why am i getting an install error ".env: line 70: SYNC_JOB_INIT_RETRY_TIMEOUT_MINUTES:: command not found"?
s
@Nick Mancini seems like a typo in the .env that’s getting fetched. There’s a fix mentioned in this issue: https://github.com/airbytehq/airbyte/issues/26971 (change the colon tokens to an equal token and it should start building) sorry for the frustrating first impression!
n
That seems to have fixed it. Thanks for the quick response!