airbytehq / airbyte

The leading data integration platform for ETL / ELT data pipelines from APIs, databases & files to data warehouses, data lakes & data lakehouses. Both self-hosted and Cloud-hosted.
https://airbyte.com
Other
16.04k stars 4.11k forks source link

init exec /bin/sh: exec format error #25129

Closed altmind closed 6 months ago

altmind commented 1 year ago
## Environment - **Airbyte version**: master as of 4/12/2023, git 71fc3dd51761578f569b11d96af15b3aab2bcbc5 - **OS Version / Instance**: Centos 7 AMD 64 - **Deployment**: local docker - **Step where error happened**: Deploy Docker version 23.0.3, build 3e7cbfd Docker Compose version v2.17.2 ## Current Behavior running run-ab-platform.sh(or docker-compose up) in the repo root yields: ``` [root@...]# ./run-ab-platform.sh █████╗ ██╗██████╗ ██████╗ ██╗ ██╗████████╗███████╗ ██╔══██╗██║██╔══██╗██╔══██╗╚██╗ ██╔╝╚══██╔══╝██╔════╝ ███████║██║██████╔╝██████╔╝ ╚████╔╝ ██║ █████╗ ██╔══██║██║██╔══██╗██╔══██╗ ╚██╔╝ ██║ ██╔══╝ ██║ ██║██║██║ ██║██████╔╝ ██║ ██║ ███████╗ ╚═╝ ╚═╝╚═╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝ ╚══════╝ Move Data found docker-compose.yaml locally! found docker-compose.debug.yaml locally! found .env locally! found .env.dev locally! found flags.yml locally! Loading Shell Variables from .env... Loading Shell Variables from .env.dev... Starting Docker Compose WARN[0000] The "CDK_VERSION" variable is not set. Defaulting to a blank string. WARN[0000] The "PYTHON_VERSION" variable is not set. Defaulting to a blank string. WARN[0000] The "DEPLOYMENT_MODE" variable is not set. Defaulting to a blank string. WARN[0000] The "LOG_CONNECTOR_MESSAGES" variable is not set. Defaulting to a blank string. WARN[0000] The "SHOULD_RUN_NOTIFY_WORKFLOW" variable is not set. Defaulting to a blank string. WARN[0000] The "SECRET_PERSISTENCE" variable is not set. Defaulting to a blank string. WARN[0000] The "JOB_ERROR_REPORTING_SENTRY_DSN" variable is not set. Defaulting to a blank string. WARN[0000] The "APPLY_FIELD_SELECTION" variable is not set. Defaulting to a blank string. WARN[0000] The "FIELD_SELECTION_WORKSPACES" variable is not set. Defaulting to a blank string. WARN[0000] The "DEPLOYMENT_MODE" variable is not set. Defaulting to a blank string. WARN[0000] The "REMOTE_CONNECTOR_CATALOG_URL" variable is not set. Defaulting to a blank string. WARN[0000] The "TEMPORAL_HISTORY_RETENTION_IN_DAYS" variable is not set. Defaulting to a blank string. WARN[0000] The "UPDATE_DEFINITIONS_CRON_ENABLED" variable is not set. Defaulting to a blank string. WARN[0000] The "NEW_SCHEDULER" variable is not set. Defaulting to a blank string. WARN[0000] The "SECRET_PERSISTENCE" variable is not set. Defaulting to a blank string. WARN[0000] The "JOB_ERROR_REPORTING_SENTRY_DSN" variable is not set. Defaulting to a blank string. WARN[0000] The "WORKER_ENVIRONMENT" variable is not set. Defaulting to a blank string. WARN[0000] The "GITHUB_STORE_BRANCH" variable is not set. Defaulting to a blank string. [+] Running 10/10 ✔ Container init Created 0.4s ✔ Container airbyte-temporal Running 0.0s ✔ Container airbyte-db Running 0.0s ✔ Container airbyte-bootloader Created 0.3s ✔ Container airbyte-cron Created 1.5s ✔ Container airbyte-worker Created 1.2s ✔ Container airbyte-connector-builder-server Created 1.1s ✔ Container airbyte-webapp Created 1.5s ✔ Container airbyte-server Created 1.4s ✔ Container airbyte-proxy Created 0.4s Attaching to airbyte-bootloader, airbyte-connector-builder-server, airbyte-cron, airbyte-db, airbyte-proxy, airbyte-server, airbyte-temporal, airbyte-webapp, airbyte-worker, init init | exec /bin/sh: exec format error init exited with code 1 service "init" didn't complete successfully: exit 1 ```
altmind commented 1 year ago

i think for some reason, aarch64 container got pulled instead of amd64?

altmind commented 1 year ago
# docker ps -a
CONTAINER ID   IMAGE                                     COMMAND                  CREATED         STATUS                     PORTS                                                                      NAMES
128b0d15ba72   airbyte/proxy:0.43.1                      "./run.sh ./run.sh"      7 minutes ago   Created                                                                                               airbyte-proxy
e2df99374be4   airbyte/webapp:0.43.1                     "/docker-entrypoint.…"   7 minutes ago   Created                                                                                               airbyte-webapp
a5faccd830cb   airbyte/cron:0.43.1                       "/bin/bash -c ${APPL…"   7 minutes ago   Created                                                                                               airbyte-cron
19654a37cc0c   airbyte/worker:0.43.1                     "/bin/bash -c ${APPL…"   7 minutes ago   Created                                                                                               airbyte-worker
746227d34a9e   airbyte/connector-builder-server:0.43.1   "uvicorn connector_b…"   7 minutes ago   Created                                                                                               airbyte-connector-builder-server
71bcf2e1a1fa   airbyte/server:0.43.1                     "/bin/bash -c ${APPL…"   7 minutes ago   Created                                                                                               airbyte-server
448d6667120c   airbyte/bootloader:0.43.1                 "/bin/bash -c ${APPL…"   7 minutes ago   Created                                                                                               airbyte-bootloader
3acc616732d2   airbyte/init:0.43.1                       "/bin/sh -c './scrip…"   7 minutes ago   Exited (1) 7 minutes ago                                                                              init
e40f1607442c   airbyte/temporal:0.43.1                   "./update-and-start-…"   8 minutes ago   Up 8 minutes               6933-6935/tcp, 6939/tcp, 7233-7235/tcp, 7239/tcp                           airbyte-temporal
c695a32e0348   airbyte/db:0.43.1                         "docker-entrypoint.s…"   8 minutes ago   Up 8 minutes               5432/tcp                                                                   airbyte-db

# docker-compose ps
WARN[0000] The "NEW_SCHEDULER" variable is not set. Defaulting to a blank string.
WARN[0000] The "SECRET_PERSISTENCE" variable is not set. Defaulting to a blank string.
WARN[0000] The "JOB_ERROR_REPORTING_SENTRY_DSN" variable is not set. Defaulting to a blank string.
WARN[0000] The "WORKER_ENVIRONMENT" variable is not set. Defaulting to a blank string.
WARN[0000] The "GITHUB_STORE_BRANCH" variable is not set. Defaulting to a blank string.
WARN[0000] The "DEPLOYMENT_MODE" variable is not set. Defaulting to a blank string.
WARN[0000] The "REMOTE_CONNECTOR_CATALOG_URL" variable is not set. Defaulting to a blank string.
WARN[0000] The "TEMPORAL_HISTORY_RETENTION_IN_DAYS" variable is not set. Defaulting to a blank string.
WARN[0000] The "UPDATE_DEFINITIONS_CRON_ENABLED" variable is not set. Defaulting to a blank string.
WARN[0000] The "DEPLOYMENT_MODE" variable is not set. Defaulting to a blank string.
WARN[0000] The "LOG_CONNECTOR_MESSAGES" variable is not set. Defaulting to a blank string.
WARN[0000] The "SHOULD_RUN_NOTIFY_WORKFLOW" variable is not set. Defaulting to a blank string.
WARN[0000] The "SECRET_PERSISTENCE" variable is not set. Defaulting to a blank string.
WARN[0000] The "JOB_ERROR_REPORTING_SENTRY_DSN" variable is not set. Defaulting to a blank string.
WARN[0000] The "APPLY_FIELD_SELECTION" variable is not set. Defaulting to a blank string.
WARN[0000] The "FIELD_SELECTION_WORKSPACES" variable is not set. Defaulting to a blank string.
WARN[0000] The "CDK_VERSION" variable is not set. Defaulting to a blank string.
WARN[0000] The "PYTHON_VERSION" variable is not set. Defaulting to a blank string.
NAME                IMAGE                     COMMAND                  SERVICE             CREATED             STATUS              PORTS
airbyte-db          airbyte/db:0.43.1         "docker-entrypoint.s…"   db                  8 minutes ago       Up 8 minutes        5432/tcp
airbyte-temporal    airbyte/temporal:0.43.1   "./update-and-start-…"   airbyte-temporal    8 minutes ago       Up 8 minutes        6933-6935/tcp, 6939/tcp, 7233-7235/tcp, 7239/tcp
marcosmarxm commented 6 months ago

Closing as inactive and none other user reported the issue.