Steve
05/28/2021, 9:42 AMdocker compose up
To try and debug it I've started from scratch by removing all existing Airbyte docker images + the Airbyte container, the local repo and re-cloning but it's always the same issue.
The console output reports errors around:
airbyte-db | 2021-05-28 09:33:24.676 UTC [29] ERROR: database "temporal" already exists
airbyte-db | 2021-05-28 09:33:24.676 UTC [29] STATEMENT: CREATE DATABASE temporal
airbyte-temporal | 2021/05/28 09:33:24 error creating database:pq: database "temporal" already exists
airbyte-temporal | + temporal-sql-tool --plugin postgres --ep db -u docker -p 5432 --db temporal setup-schema -v 0.0
airbyte-temporal | 2021/05/28 09:33:24 Starting schema setup, config=&{SchemaFilePath: InitialVersion:0.0 Overwrite:false DisableVersioning:false}
airbyte-temporal | 2021/05/28 09:33:24 Setting up version tables
airbyte-db | 2021-05-28 09:33:24.709 UTC [30] ERROR: relation "schema_version" already exists
and
airbyte-server | 2021-05-28 09:33:28 ERROR i.a.s.v.VersionMismatchServer(getServer):68 - {workspace_app_root=/tmp/workspace/server/logs} - Version mismatch between 0.24.2-alpha and 0.14.1-alpha.
I don't understand how something can "exist" after I've deleted all the Docker components and the code repo?
Full output is attached here.
My environment:
macOS 11.0.1
Docker version 20.10.6, build 370c289
Does anyone have any ideas please?
ThanksChris (deprecated profile)
removing all existing Airbyte docker images + the Airbyte container, the local repo and re-cloning but it’s always the same issue.This is not enough (unnecessary/unrelated actually): Airbyte uses docker volumes to store your configurations, see:
docker volume ls -q | grep airbyte
if you don’t need to keep your old airbyte configuration and really start from scratch, you should run:
docker-compose down -v
see docs https://docs.airbyte.io/upgrading-airbyteSteve
05/28/2021, 10:28 AMdocker-compose down -v
sorted it.
Many thanks!