(base) av_developer@ubuntu:~$ prefect server start
Pulling postgres ... done
Pulling hasura ... done
Pulling graphql ... done
Pulling apollo ... done
Pulling scheduler ... done
Pulling ui ... done
Creating network "prefect-server" with the default driver
Creating tmp_postgres_1 ... done
Creating tmp_hasura_1 ... done
Creating tmp_graphql_1 ... done
Creating tmp_scheduler_1 ... done
Creating tmp_apollo_1 ... done
Creating tmp_ui_1 ... done
Attaching to tmp_postgres_1, tmp_hasura_1, tmp_graphql_1, tmp_apollo_1, tmp_scheduler_1, tmp_ui_1
graphql_1 |
graphql_1 | Running Alembic migrations...
graphql_1 | INFO [alembic.runtime.migration] Context impl PostgresqlImpl.
graphql_1 | INFO [alembic.runtime.migration] Will assume transactional DDL.
hasura_1 | {"type":"startup","timestamp":"2020-06-22T20:25:17.297+0000","level":"info","detail":{"kind":"server_configuration","info":{"live_query_options":{"batch_size":100,"refetch_delay":1},"transaction_isolation":"ISOLATION LEVEL READ COMMITTED","plan_cache_options":{"plan_cache_size":100},"enabled_log_types":["http-log","websocket-log","startup","webhook-log"],"server_host":"HostAny","enable_allowlist":false,"log_level":"info","auth_hook_mode":null,"use_prepared_statements":true,"unauth_role":null,"stringify_numeric_types":false,"enabled_apis":["metadata","graphql","config","pgdump"],"enable_telemetry":true,"enable_console":true,"auth_hook":null,"jwt_secret":null,"cors_config":{"allowed_origins":"*","disabled":false,"ws_read_cookie":null},"console_assets_dir":null,"admin_secret_set":false,"port":3000}}}
hasura_1 | {"type":"startup","timestamp":"2020-06-22T20:25:17.297+0000","level":"info","detail":{"kind":"postgres_connection","info":{"retries":1,"database_url":"
postgresql://prefect:...@postgres:5432/prefect_server"}}}
hasura_1 | {"internal":"could not connect to server: Connection refused\n\tIs the server running on host \"postgres\" (172.26.0.2) and accepting\n\tTCP/IP connections on port 5432?\n","path":"$","error":"connection error","code":"postgres-error"}
apollo_1 |
apollo_1 | > @ serve /apollo
apollo_1 | > node dist/index.js
apollo_1 |
postgres_1 | The files belonging to this database system will be owned by user "postgres".
postgres_1 | This user must also own the server process.
postgres_1 |
postgres_1 | The database cluster will be initialized with locale "en_US.utf8".
postgres_1 | The default database encoding has accordingly been set to "UTF8".
postgres_1 | The default text search configuration will be set to "english".
postgres_1 |
postgres_1 | Data page checksums are disabled.
postgres_1 |
postgres_1 | fixing permissions on existing directory /var/lib/postgresql/data ... ok
postgres_1 | creating subdirectories ... ok
postgres_1 | selecting default max_connections ... 100
postgres_1 | selecting default shared_buffers ... 128MB
postgres_1 | selecting default timezone ... Etc/UTC
postgres_1 | selecting dynamic shared memory implementation ... posix
postgres_1 | creating configuration files ... ok
postgres_1 | running bootstrap script ... ok
postgres_1 | performing post-bootstrap initialization ... ok
graphql_1 | INFO [alembic.runtime.migration] Running upgrade -> 723da8052cbd, create extensions
graphql_1 | Error: (psycopg2.errors.UniqueViolation) duplicate key value violates unique constraint "pg_extension_name_index"
graphql_1 | DETAIL: Key (extname)=(pgcrypto) already exists.
graphql_1 |
graphql_1 | [SQL:
graphql_1 | CREATE EXTENSION IF NOT EXISTS "pgcrypto";
graphql_1 | CREATE EXTENSION IF NOT EXISTS "pg_trgm";
graphql_1 | ]
graphql_1 | (Background on this error at:
http://sqlalche.me/e/gkpj)
graphql_1 |
graphql_1 | Could not upgrade the database!
postgres_1 | syncing data to disk ...
postgres_1 | WARNING: enabling "trust" authentication for local connections
postgres_1 | You can change this by editing pg_hba.conf or using the option -A, or
postgres_1 | --auth-local and --auth-host, the next time you run initdb.
postgres_1 | ok
postgres_1 |
postgres_1 | Success. You can now start the database server using:
postgres_1 |
postgres_1 | pg_ctl -D /var/lib/postgresql/data -l logfile start
postgres_1 |
postgres_1 | waiting for server to start....2020-06-22 20:25:16.823 UTC [47] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres_1 | 2020-06-22 20:25:16.849 UTC [48] LOG: database system was shut down at 2020-06-22 20:25:16 UTC
postgres_1 | 2020-06-22 20:25:16.857 UTC [47] LOG: database system is ready to accept connections
postgres_1 | done
postgres_1 | server started
postgres_1 | CREATE DATABASE
postgres_1 |
postgres_1 |
postgres_1 | /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*
postgres_1 |
postgres_1 | 2020-06-22 20:25:17.366 UTC [47] LOG: received fast shutdown request
postgres_1 | waiting for server to shut down....2020-06-22 20:25:17.367 UTC [47] LOG: aborting any active transactions
postgres_1 | 2020-06-22 20:25:17.370 UTC [47] LOG: background worker "logical replication launcher" (PID 54) exited with exit code 1
postgres_1 | 2020-06-22 20:25:17.371 UTC [49] LOG: shutting down
postgres_1 | 2020-06-22 20:25:17.382 UTC [47] LOG: database system is shut down
postgres_1 | done
postgres_1 | server stopped
postgres_1 |
postgres_1 | PostgreSQL init process complete; ready for start up.
postgres_1 |
postgres_1 | 2020-06-22 20:25:17.477 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
postgres_1 | 2020-06-22 20:25:17.477 UTC [1] LOG: listening on IPv6 address "::", port 5432
postgres_1 | 2020-06-22 20:25:17.479 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres_1 | 2020-06-22 20:25:17.492 UTC [65] LOG: database system was shut down at 2020-06-22 20:25:17 UTC
postgres_1 | 2020-06-22 20:25:17.495 UTC [1] LOG: database system is ready to accept connections
postgres_1 | 2020-06-22 20:25:19.629 UTC [73] ERROR: duplicate key value violates unique constraint "pg_extension_name_index"
postgres_1 | 2020-06-22 20:25:19.629 UTC [73] DETAIL: Key (extname)=(pgcrypto) already exists.
postgres_1 | 2020-06-22 20:25:19.629 UTC [73] STATEMENT:
postgres_1 | CREATE EXTENSION IF NOT EXISTS "pgcrypto";
postgres_1 | CREATE EXTENSION IF NOT EXISTS "pg_trgm";
postgres_1 |
ui_1 | Replacing graphql references with:
http://0.0.0.0:4200/graphql
ui_1 | /var/www/js/app.7fd10635.js
ui_1 | /var/www/js/chunk-290ef6aa.c9577213.js
ui_1 | /var/www/js/chunk-35d72edc.aeb53d5b.js
ui_1 | /var/www/js/chunk-5d657775.61e987a9.js
ui_1 | /var/www/js/chunk-65b545d9.8422ea0b.js
ui_1 | /var/www/js/chunk-6fd6fc38.7860b637.js
ui_1 | /var/www/js/chunk-8fb1ff70.23e15619.js
ui_1 | /var/www/js/chunk-93a4c748.ddd54c3b.js
ui_1 | /var/www/js/chunk-c52f9fba.8c504a14.js
ui_1 | /var/www/js/chunk-d03cee18.0c5fb4fe.js
ui_1 | /var/www/js/chunk-d3b865a4.60462056.js
ui_1 | /var/www/js/chunk-vendors.f1c338f7.js
ui_1 | /var/www/js/dashboard.a5face6b.js
ui_1 | /var/www/js/dashboard~flow-version-groups.b35296c6.js
ui_1 | /var/www/js/dashboard~flow~flow-run~interactive-api~task~task-run.64889ee7.js
ui_1 | /var/www/js/dashboard~flow~flow-run~schematics--view~task~task-run.5dbabe8e.js
ui_1 | /var/www/js/flow-run.e8d112a2.js
ui_1 | /var/www/js/flow-version-groups.1891b372.js
ui_1 | /var/www/js/flow.4d8eaec9.js
ui_1 | /var/www/js/flow~flow-run~interactive-api~task~task-run.12701769.js
ui_1 | /var/www/js/flow~flow-run~schematics--view~task~task-run.4d9b9eca.js
ui_1 | /var/www/js/interactive-api.4362560d.js
ui_1 | /var/www/js/onboard-page.4086ef69.js
ui_1 | /var/www/js/schematics--view.38febea4.js
ui_1 | /var/www/js/schematics.e3653fd6.js
ui_1 | /var/www/js/task-run.d683a69e.js
ui_1 | /var/www/js/task.5d12d448.js
ui_1 | /var/www/js/welcome.df9a970c.js
ui_1 | 👾👾👾 UI running at localhost:8080 👾👾👾
scheduler_1 | [2020-06-22 20:25:21,154] INFO - prefect-server.Scheduler | Scheduler will start after an initial delay of 264 seconds...
apollo_1 | 2020-06-22T20:25:21.889Z Error fetching GraphQL health: FetchError: request to
http://graphql:4201/health failed, reason: connect ECONNREFUSED 172.26.0.4:4201
apollo_1 | 2020-06-22T20:25:21.890Z Error: Could not safely build a schema!
apollo_1 | at safelyBuildSchema (/apollo/dist/index.js:129:11)
apollo_1 | at process._tickCallback (internal/process/next_tick.js:68:7) Could not safely build a schema! Error: Could not safely build a schema!
apollo_1 | at safelyBuildSchema (/apollo/dist/index.js:129:11)
apollo_1 | at process._tickCallback (internal/process/next_tick.js:68:7)
apollo_1 | 2020-06-22T20:25:21.890Z
apollo_1 | Trying again in 3 seconds...
apollo_1 |
apollo_1 | 2020-06-22T20:25:24.898Z Building schema...
apollo_1 | 2020-06-22T20:25:25.947Z Building schema complete!
apollo_1 | Server ready at
http://0.0.0.0:4200 🚀
apollo_1 | 2020-06-22T20:25:26.076Z Sending telemetry to Prefect Technologies, Inc.: {"source":"prefect_server","type":"startup","payload":{"id":"5a9a3c85-cb0f-4f36-b5f2-f26fa264d3fd"}}