Created
May 12, 2023 10:28
-
-
Save ChrisOwen101/8601c76d535b4994cd61c7ae874de2c8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(base) chrisowen@Chriss-MacBook-Pro-2 docblock % yarn dev:reset | |
yarn run v1.22.10 | |
warning package.json: License should be a valid SPDX license expression | |
warning ../../../package.json: No license field | |
$ sh docker-reset.sh && docker-compose up --build --remove-orphans --force-recreate | |
💣 Resetting DB... | |
Stopping containers... | |
9287837959af | |
63a8bc50f5de | |
5401186ffec3 | |
Removing containers... | |
9287837959af | |
63a8bc50f5de | |
5401186ffec3 | |
Removing images... | |
Untagged: hasura/graphql-engine:v2.19.0-ce.cli-migrations-v3 | |
Untagged: hasura/graphql-engine@sha256:00d863d01327e6e1d3a3ca0cd2d9be0cb2fd793ca2b0f8d071a92ca8c790dfa8 | |
Deleted: sha256:462a31111e2fa6265b9c440ca4640017172b25756b5fa9bc8aa1472564fed35d | |
Deleted: sha256:ac6c5df434174b94cdce4970b2f447d9a81c0d8c82fdfe26974199160bec83b6 | |
Deleted: sha256:36411f7365f9746cbc15ac6e9f75a5162d23214799d7b55041e384fc87a4805f | |
Deleted: sha256:dcf137b8d3c7b824886924ccce0361b35733273abfad6515f2153fd5b4fb8309 | |
Deleted: sha256:9642f305c1fc9dca1fa40516dd2a6a909835d4c09bcfbbfcad8cca0d06ae80cb | |
Deleted: sha256:54d69b0721f521868d286b4dbd53e189d4dd6d3dbeb4dc05a2c4f0faf0a129fb | |
Deleted: sha256:0f2b8129ea145af01b531e7764bb9cb6522174f068af797e63304b4e7601ad39 | |
Deleted: sha256:8262c58881c17169177e36b92808b3ad434cb7d3343d94bc7b30c726b1dea5a3 | |
Deleted: sha256:491c95fe647026ac6299858015468e1b051034dc59b630dec6364873d4343c0a | |
Deleted: sha256:025a7eeff3844b86f9dbc3aa93358b00184a99f9ae5d101a854f9bd697c6103e | |
Deleted: sha256:847e493dfc5a97b13390da3058f5f5d4e178abdd4160775d9909de30203bc7f2 | |
Deleted: sha256:c41064c9e81b1bb660de43155c1e9dd518d7a5b952b13ff3f1a18363314a3ca5 | |
Deleted: sha256:55c705f9de41dfb2b70f044d75cc1c3554cda05888284ad6d0fbd7c612efa77b | |
Deleted: sha256:cada6679d1ed42e9ca8fe7a15aaafb82e453d11eb38e742f6a052e3e8f9aeb17 | |
Removing volumes... | |
13c872658a6484f7aaccd0f8804312ec9970cb3c9b1d871da6d185462ed532eb | |
docblock_db_data | |
✅ Reset complete | |
[+] Running 13/13 | |
✔ docblock-hasura 12 layers [⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿] 0B/0B Pulled 30.1s | |
✔ f04b4bbe1580 Pull complete 6.9s | |
✔ bb16e7db27f5 Pull complete 7.0s | |
✔ 29de476e06b0 Pull complete 22.3s | |
✔ 2b72c5567e34 Pull complete 22.4s | |
✔ d09623234d45 Pull complete 22.5s | |
✔ 83af5ad1cacd Pull complete 22.6s | |
✔ 8d348a42b69e Pull complete 23.8s | |
✔ ef09c654b531 Pull complete 24.1s | |
✔ 694cf19db03e Pull complete 25.5s | |
✔ 248f75d27a56 Pull complete 25.6s | |
✔ 1401f4c13fbf Pull complete 25.7s | |
✔ 1f0442cf19ea Pull complete 25.8s | |
[+] Building 2.6s (8/8) FINISHED | |
=> [internal] load build definition from Dockerfile 0.0s | |
=> => transferring dockerfile: 1.86kB 0.0s | |
=> [internal] load .dockerignore 0.0s | |
=> => transferring context: 2B 0.0s | |
=> [internal] load metadata for docker.io/library/node:18-alpine 2.5s | |
=> [base 1/1] FROM docker.io/library/node:18-alpine@sha256:1ccc70acda680aa4ba47f53e7c40b2d4d6892de74817128e0662d32647dd7f4d 0.0s | |
=> CACHED [runner 1/3] WORKDIR /app 0.0s | |
=> CACHED [runner 2/3] RUN addgroup --system --gid 1001 nodejs 0.0s | |
=> CACHED [runner 3/3] RUN adduser --system --uid 1001 nextjs 0.0s | |
=> exporting to image 0.0s | |
=> => exporting layers 0.0s | |
=> => writing image sha256:55102acb75671c20d57a212d9d222b9ded8f2d13702450189304d28be0942ac8 0.0s | |
=> => naming to docker.io/library/docblock-docblock-nextjs 0.0s | |
[+] Running 4/3 | |
✔ Volume "docblock_db_data" Created 0.0s | |
✔ Container docblock-postgres Created 0.1s | |
✔ Container docblock-hasura Created 0.1s | |
✔ Container docblock-docblock-nextjs-1 Created 0.1s | |
Attaching to docblock-docblock-nextjs-1, docblock-hasura, docblock-postgres | |
docblock-postgres | The files belonging to this database system will be owned by user "postgres". | |
docblock-postgres | This user must also own the server process. | |
docblock-postgres | | |
docblock-postgres | The database cluster will be initialized with locale "en_US.utf8". | |
docblock-postgres | The default database encoding has accordingly been set to "UTF8". | |
docblock-postgres | The default text search configuration will be set to "english". | |
docblock-postgres | | |
docblock-postgres | Data page checksums are disabled. | |
docblock-postgres | | |
docblock-postgres | fixing permissions on existing directory /var/lib/postgresql/data ... ok | |
docblock-postgres | creating subdirectories ... ok | |
docblock-postgres | selecting dynamic shared memory implementation ... posix | |
docblock-postgres | selecting default max_connections ... 100 | |
docblock-postgres | selecting default shared_buffers ... 128MB | |
docblock-postgres | selecting default time zone ... UTC | |
docblock-postgres | creating configuration files ... ok | |
docblock-postgres | running bootstrap script ... ok | |
docblock-postgres | sh: locale: not found | |
docblock-postgres | 2023-05-12 10:27:11.550 UTC [29] WARNING: no usable system locales were found | |
docblock-hasura | {"timestamp":"2023-05-12T10:27:11.000+0000","level":"info","type":"startup","detail":{"kind":"migrations-startup","info":"migrations server port env var is not set, defaulting to 9691"}} | |
docblock-hasura | {"timestamp":"2023-05-12T10:27:11.000+0000","level":"info","type":"startup","detail":{"kind":"migrations-startup","info":"server timeout is not set, defaulting to 30 seconds"}} | |
docblock-hasura | {"timestamp":"2023-05-12T10:27:11.000+0000","level":"info","type":"startup","detail":{"kind":"migrations-startup","info":"starting graphql engine temporarily on port 9691"}} | |
docblock-hasura | {"timestamp":"2023-05-12T10:27:11.000+0000","level":"info","type":"startup","detail":{"kind":"migrations-startup","info":"waiting 30 for 9691 to be ready"}} | |
docblock-hasura | {"detail":{"info":{"code":"postgres-error","error":"connection error","internal":"connection to server at \"docblock-postgres\" (172.18.0.2), port 5432 failed: Connection refused\n\tIs the server running on that host and accepting TCP/IP connections?\n","path":"$"},"kind":"catalog_migrate"},"level":"error","timestamp":"2023-05-12T10:27:11.630+0000","type":"startup"} | |
docblock-hasura | {"code":"postgres-error","error":"connection error","internal":"connection to server at \"docblock-postgres\" (172.18.0.2), port 5432 failed: Connection refused\n\tIs the server running on that host and accepting TCP/IP connections?\n","path":"$"} | |
docblock-postgres | performing post-bootstrap initialization ... ok | |
docblock-postgres | syncing data to disk ... ok | |
docblock-postgres | | |
docblock-postgres | initdb: warning: enabling "trust" authentication for local connections | |
docblock-postgres | You can change this by editing pg_hba.conf or using the option -A, or | |
docblock-postgres | --auth-local and --auth-host, the next time you run initdb. | |
docblock-postgres | | |
docblock-postgres | Success. You can now start the database server using: | |
docblock-postgres | | |
docblock-postgres | pg_ctl -D /var/lib/postgresql/data -l logfile start | |
docblock-postgres | | |
docblock-postgres | waiting for server to start....2023-05-12 10:27:12.215 UTC [34] LOG: starting PostgreSQL 13.0 on aarch64-unknown-linux-musl, compiled by gcc (Alpine 9.3.0) 9.3.0, 64-bit | |
docblock-postgres | 2023-05-12 10:27:12.216 UTC [34] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" | |
docblock-postgres | 2023-05-12 10:27:12.220 UTC [35] LOG: database system was shut down at 2023-05-12 10:27:12 UTC | |
docblock-postgres | 2023-05-12 10:27:12.223 UTC [34] LOG: database system is ready to accept connections | |
docblock-postgres | done | |
docblock-postgres | server started | |
docblock-postgres | | |
docblock-postgres | /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/* | |
docblock-postgres | | |
docblock-postgres | waiting for server to shut down....2023-05-12 10:27:12.298 UTC [34] LOG: received fast shutdown request | |
docblock-postgres | 2023-05-12 10:27:12.299 UTC [34] LOG: aborting any active transactions | |
docblock-postgres | 2023-05-12 10:27:12.300 UTC [34] LOG: background worker "logical replication launcher" (PID 41) exited with exit code 1 | |
docblock-postgres | 2023-05-12 10:27:12.301 UTC [36] LOG: shutting down | |
docblock-postgres | 2023-05-12 10:27:12.313 UTC [34] LOG: database system is shut down | |
docblock-postgres | done | |
docblock-postgres | server stopped | |
docblock-postgres | | |
docblock-postgres | PostgreSQL init process complete; ready for start up. | |
docblock-postgres | | |
docblock-postgres | 2023-05-12 10:27:12.417 UTC [1] LOG: starting PostgreSQL 13.0 on aarch64-unknown-linux-musl, compiled by gcc (Alpine 9.3.0) 9.3.0, 64-bit | |
docblock-postgres | 2023-05-12 10:27:12.417 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 | |
docblock-postgres | 2023-05-12 10:27:12.417 UTC [1] LOG: listening on IPv6 address "::", port 5432 | |
docblock-postgres | 2023-05-12 10:27:12.419 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" | |
docblock-postgres | 2023-05-12 10:27:12.422 UTC [43] LOG: database system was shut down at 2023-05-12 10:27:12 UTC | |
docblock-postgres | 2023-05-12 10:27:12.426 UTC [1] LOG: database system is ready to accept connections | |
docblock-docblock-nextjs-1 | yarn run v1.22.19 | |
docblock-docblock-nextjs-1 | $ npx concurrently "next dev" "yarn graphql:generate --watch" | |
docblock-docblock-nextjs-1 | npm WARN exec The following package was not found and will be installed: concurrently@8.0.1 | |
docblock-docblock-nextjs-1 | [1] $ npx graphql-codegen --require dotenv/config --config lib/codegen.ts --watch | |
docblock-docblock-nextjs-1 | [0] - ready started server on 0.0.0.0:3000, url: http://localhost:3000 | |
docblock-docblock-nextjs-1 | [0] - info Loaded env from /app/.env.local | |
docblock-docblock-nextjs-1 | [0] - info Using wasm build of next-swc | |
docblock-docblock-nextjs-1 | [0] - warn Attempted to load @next/swc-linux-arm64-gnu, but it was not installed | |
docblock-docblock-nextjs-1 | [0] - warn Attempted to load @next/swc-linux-arm64-musl, but it was not installed | |
docblock-hasura | {"timestamp":"2023-05-12T10:27:42.000+0000","level":"info","type":"startup","detail":{"kind":"migrations-startup","info":"failed waiting for 9691, try increasing HASURA_GRAPHQL_MIGRATIONS_SERVER_TIMEOUT (default: 30)"}} | |
docblock-docblock-nextjs-1 | [1] { codegenURI: 'http://docblock-hasura:8080/v1/graphql' } | |
docblock-docblock-nextjs-1 | [1] [STARTED] Parse Configuration | |
docblock-docblock-nextjs-1 | [1] [SUCCESS] Parse Configuration | |
docblock-docblock-nextjs-1 | [1] [STARTED] Generate outputs | |
docblock-docblock-nextjs-1 | [1] [STARTED] Generate to ./generated/graphql.tsx | |
docblock-docblock-nextjs-1 | [1] [STARTED] Generate to ./graphql.schema.json | |
docblock-docblock-nextjs-1 | [1] [STARTED] Load GraphQL schemas | |
docblock-docblock-nextjs-1 | [1] [STARTED] Load GraphQL schemas | |
docblock-docblock-nextjs-1 | [1] [FAILED] | |
docblock-docblock-nextjs-1 | [1] [FAILED] Failed to load schema from http://docblock-hasura:8080/v1/graphql: | |
docblock-docblock-nextjs-1 | [1] [FAILED] | |
docblock-docblock-nextjs-1 | [1] [FAILED] getaddrinfo ENOTFOUND docblock-hasura | |
docblock-docblock-nextjs-1 | [1] [FAILED] Error: getaddrinfo ENOTFOUND docblock-hasura | |
docblock-docblock-nextjs-1 | [1] [FAILED] at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:107:26) | |
docblock-docblock-nextjs-1 | [1] [FAILED] | |
docblock-docblock-nextjs-1 | [1] [FAILED] GraphQL Code Generator supports: | |
docblock-docblock-nextjs-1 | [1] [FAILED] - ES Modules and CommonJS exports (export as default or named export "schema") | |
docblock-docblock-nextjs-1 | [1] [FAILED] - Introspection JSON File | |
docblock-docblock-nextjs-1 | [1] [FAILED] - URL of GraphQL endpoint | |
docblock-docblock-nextjs-1 | [1] [FAILED] - Multiple files with type definitions (glob expression) | |
docblock-docblock-nextjs-1 | [1] [FAILED] - String in config file | |
docblock-docblock-nextjs-1 | [1] [FAILED] | |
docblock-docblock-nextjs-1 | [1] [FAILED] Try to use one of above options and run codegen again. | |
docblock-docblock-nextjs-1 | [1] [FAILED] | |
docblock-docblock-nextjs-1 | [1] [FAILED] | |
docblock-docblock-nextjs-1 | [1] [FAILED] | |
docblock-docblock-nextjs-1 | [1] [FAILED] Failed to load schema from http://docblock-hasura:8080/v1/graphql: | |
docblock-docblock-nextjs-1 | [1] [FAILED] | |
docblock-docblock-nextjs-1 | [1] [FAILED] getaddrinfo ENOTFOUND docblock-hasura | |
docblock-docblock-nextjs-1 | [1] [FAILED] Error: getaddrinfo ENOTFOUND docblock-hasura | |
docblock-docblock-nextjs-1 | [1] [FAILED] at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:107:26) | |
docblock-docblock-nextjs-1 | [1] [FAILED] | |
docblock-docblock-nextjs-1 | [1] [FAILED] GraphQL Code Generator supports: | |
docblock-docblock-nextjs-1 | [1] [FAILED] - ES Modules and CommonJS exports (export as default or named export "schema") | |
docblock-docblock-nextjs-1 | [1] [FAILED] - Introspection JSON File | |
docblock-docblock-nextjs-1 | [1] [FAILED] - URL of GraphQL endpoint | |
docblock-docblock-nextjs-1 | [1] [FAILED] - Multiple files with type definitions (glob expression) | |
docblock-docblock-nextjs-1 | [1] [FAILED] - String in config file | |
docblock-docblock-nextjs-1 | [1] [FAILED] | |
docblock-docblock-nextjs-1 | [1] [FAILED] Try to use one of above options and run codegen again. | |
docblock-docblock-nextjs-1 | [1] [FAILED] | |
docblock-docblock-nextjs-1 | [1] [FAILED] | |
docblock-docblock-nextjs-1 | [1] [SUCCESS] Generate outputs | |
docblock-docblock-nextjs-1 | [1] ℹ Watching for changes... | |
docblock-hasura exited with code 0 | |
docblock-hasura | {"timestamp":"2023-05-12T10:27:44.000+0000","level":"info","type":"startup","detail":{"kind":"migrations-startup","info":"server timeout is not set, defaulting to 30 seconds"}} | |
docblock-hasura | {"timestamp":"2023-05-12T10:27:44.000+0000","level":"info","type":"startup","detail":{"kind":"migrations-startup","info":"starting graphql engine temporarily on port 9691"}} | |
docblock-hasura | {"timestamp":"2023-05-12T10:27:44.000+0000","level":"info","type":"startup","detail":{"kind":"migrations-startup","info":"waiting 30 for 9691 to be ready"}} | |
docblock-hasura | {"timestamp":"2023-05-12T10:27:45.000+0000","level":"info","type":"startup","detail":{"kind":"migrations-startup","info":"port 9691 is ready"}} | |
docblock-hasura | {"timestamp":"2023-05-12T10:27:45.000+0000","level":"info","type":"startup","detail":{"kind":"migrations-startup","info":"env var HASURA_GRAPHQL_MIGRATIONS_DIR is not set, defaulting to /hasura-migrations"}} | |
docblock-hasura | {"timestamp":"2023-05-12T10:27:45.000+0000","level":"info","type":"startup","detail":{"kind":"migrations-startup","info":"env var HASURA_GRAPHQL_METADATA_DIR is not set, defaulting to /hasura-metadata"}} | |
docblock-hasura | {"timestamp":"2023-05-12T10:27:45.000+0000","level":"info","type":"startup","detail":{"kind":"migrations-apply","info":"applying metadata from /hasura-metadata"}} | |
docblock-hasura | {"level":"info","msg":"Help us improve Hasura! The cli collects anonymized usage stats which\nallow us to keep improving Hasura at warp speed. To opt-out or read more,\nvisit https://hasura.io/docs/latest/graphql/core/guides/telemetry.html\n","time":"2023-05-12T10:27:46Z"} | |
docblock-hasura | {"level":"info","msg":"Applying metadata...","time":"2023-05-12T10:27:46Z"} | |
docblock-hasura | {"level":"warning","msg":"Metadata is inconsistent","time":"2023-05-12T10:27:47Z"} | |
docblock-hasura | {"level":"warning","msg":"Use 'hasura metadata ic list' command to list inconsistent objects","time":"2023-05-12T10:27:47Z"} | |
docblock-hasura | {"level":"info","msg":"Metadata applied","time":"2023-05-12T10:27:47Z"} | |
docblock-hasura | {"timestamp":"2023-05-12T10:27:48.000+0000","level":"info","type":"startup","detail":{"kind":"migrations-apply","info":"applying migrations from /hasura-migrations"}} | |
docblock-hasura | {"level":"info","msg":"getting lists of databases from server ","time":"2023-05-12T10:27:49Z"} | |
docblock-hasura | {"level":"info","msg":"migrations applied on database: default","time":"2023-05-12T10:27:49Z"} | |
docblock-hasura | {"timestamp":"2023-05-12T10:27:50.000+0000","level":"info","type":"startup","detail":{"kind":"migrations-apply","info":"reloading metadata"}} | |
docblock-hasura | {"level":"info","msg":"Reloading metadata...","time":"2023-05-12T10:27:51Z"} | |
docblock-hasura | {"level":"info","msg":"Metadata reloaded","time":"2023-05-12T10:27:51Z"} | |
docblock-hasura | {"level":"info","msg":"Metadata is consistent","time":"2023-05-12T10:27:51Z"} | |
docblock-hasura | {"timestamp":"2023-05-12T10:27:51.000+0000","level":"info","type":"startup","detail":{"kind":"migrations-shutdown","info":"killing temporary server"}} | |
docblock-hasura | {"timestamp":"2023-05-12T10:27:51.000+0000","level":"info","type":"startup","detail":{"kind":"migrations-shutdown","info":"graphql-engine will now start in normal mode"}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment