Open proccaserra opened 2 years ago
From the Docker Console:
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.
The database cluster will be initialized with locale "en_US.utf8".
The default database encoding has accordingly been set to "UTF8".
The default text search configuration will be set to "english".
Data page checksums are disabled.
fixing permissions on existing directory /var/lib/postgresql/data ... ok
creating subdirectories ... ok
selecting dynamic shared memory implementation ... posix
selecting default max_connections ... 100
selecting default shared_buffers ... 128MB
selecting default time zone ... Etc/UTC
creating configuration files ... ok
running bootstrap script ... ok
performing post-bootstrap initialization ... ok
syncing data to disk ... ok
Success. You can now start the database server using:
pg_ctl -D /var/lib/postgresql/data -l logfile start
waiting for server to start....2022-03-02 08:49:01.684 UTC [50] LOG: starting PostgreSQL 14.2 (Debian 14.2-1.pgdg110+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
2022-03-02 08:49:01.687 UTC [50] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2022-03-02 08:49:01.698 UTC [51] LOG: database system was shut down at 2022-03-02 08:49:01 UTC
2022-03-02 08:49:01.704 UTC [50] LOG: database system is ready to accept connections
done
server started
CREATE DATABASE
/usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*
2022-03-02 08:49:02.214 UTC [50] LOG: received fast shutdown request
waiting for server to shut down....2022-03-02 08:49:02.216 UTC [50] LOG: aborting any active transactions
2022-03-02 08:49:02.222 UTC [50] LOG: background worker "logical replication launcher" (PID 57) exited with exit code 1
2022-03-02 08:49:02.222 UTC [52] LOG: shutting down
2022-03-02 08:49:02.245 UTC [50] LOG: database system is shut down
done
server stopped
PostgreSQL init process complete; ready for start up.
initdb: warning: enabling "trust" authentication for local connections
You can change this by editing pg_hba.conf or using the option -A, or
--auth-local and --auth-host, the next time you run initdb.
2022-03-02 08:49:02.368 UTC [1] LOG: starting PostgreSQL 14.2 (Debian 14.2-1.pgdg110+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
2022-03-02 08:49:02.368 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
2022-03-02 08:49:02.368 UTC [1] LOG: listening on IPv6 address "::", port 5432
2022-03-02 08:49:02.372 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2022-03-02 08:49:02.378 UTC [64] LOG: database system was shut down at 2022-03-02 08:49:02 UTC
2022-03-02 08:49:02.388 UTC [1] LOG: database system is ready to accept connections
2022-03-02 08:50:08.393 UTC [72] ERROR: relation "public.databasechangeloglock" does not exist at character 22
2022-03-02 08:50:08.393 UTC [72] STATEMENT: select count(*) from public.databasechangeloglock
2022-03-02 08:50:10.747 UTC [73] ERROR: relation "public.databasechangelog" does not exist at character 22
2022-03-02 08:50:10.747 UTC [73] STATEMENT: select count(*) from public.databasechangelog
2022-03-02 08:50:12.541 UTC [73] ERROR: relation "public.databasechangelog" does not exist at character 22
2022-03-02 08:50:12.541 UTC [73] STATEMENT: select count(*) from public.databasechangelog
- [x] isa-plug-and-play-warehouse_zendro_db_data volumne
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.
The database cluster will be initialized with locale "en_US.utf8".
The default database encoding has accordingly been set to "UTF8".
The default text search configuration will be set to "english".
Data page checksums are disabled.
fixing permissions on existing directory /var/lib/postgresql/data ... ok
creating subdirectories ... ok
selecting dynamic shared memory implementation ... posix
selecting default max_connections ... 100
selecting default shared_buffers ... 128MB
selecting default time zone ... UTC
creating configuration files ... ok
running bootstrap script ... ok
performing post-bootstrap initialization ... ok
syncing data to disk ... ok
Success. You can now start the database server using:
pg_ctl -D /var/lib/postgresql/data -l logfile start
waiting for server to start....2022-03-02 08:49:03.017 UTC [36] LOG: starting PostgreSQL 14.2 on x86_64-pc-linux-musl, compiled by gcc (Alpine 10.3.1_git20211027) 10.3.1 20211027, 64-bit
2022-03-02 08:49:03.020 UTC [36] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2022-03-02 08:49:03.035 UTC [37] LOG: database system was shut down at 2022-03-02 08:49:02 UTC
2022-03-02 08:49:03.041 UTC [36] LOG: database system is ready to accept connections
sh: locale: not found
2022-03-02 08:49:01.401 UTC [30] WARNING: no usable system locales were found
initdb: warning: enabling "trust" authentication for local connections
You can change this by editing pg_hba.conf or using the option -A, or
--auth-local and --auth-host, the next time you run initdb.
2022-03-02 08:49:03.853 UTC [1] LOG: starting PostgreSQL 14.2 on x86_64-pc-linux-musl, compiled by gcc (Alpine 10.3.1_git20211027) 10.3.1 20211027, 64-bit
2022-03-02 08:49:03.853 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
2022-03-02 08:49:03.853 UTC [1] LOG: listening on IPv6 address "::", port 5432
2022-03-02 08:49:03.857 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2022-03-02 08:49:03.862 UTC [50] LOG: database system was shut down at 2022-03-02 08:49:03 UTC
2022-03-02 08:49:03.867 UTC [1] LOG: database system is ready to accept connections
done
server started
/usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/initUserDb.sql
CREATE ROLE
CREATE DATABASE
CREATE DATABASE
CREATE DATABASE
waiting for server to shut down....2022-03-02 08:49:03.728 UTC [36] LOG: received fast shutdown request
2022-03-02 08:49:03.729 UTC [36] LOG: aborting any active transactions
2022-03-02 08:49:03.731 UTC [36] LOG: background worker "logical replication launcher" (PID 43) exited with exit code 1
2022-03-02 08:49:03.731 UTC [38] LOG: shutting down
2022-03-02 08:49:03.747 UTC [36] LOG: database system is shut down
done
server stopped
PostgreSQL init process complete; ready for start up.
[bcrypt] Success: "/var/projects/ISA-warehouse/graphql-server/node_modules/bcrypt/lib/binding/napi-v3/bcrypt_lib.node" is installed via remote
node-pre-gyp WARN Using request for node-pre-gyp https download [sqlite3] Success: "/var/projects/ISA-warehouse/graphql-server/node_modules/sqlite3/lib/binding/napi-v3-linux-x64/node_sqlite3.node" is installed via remote
Downloading jq from https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64 Downloaded in /var/projects/ISA-warehouse/graphql-server/node_modules/node-jq/bin
[32mLove nodemon? You can now support the project via the open collective:[22m[39m
npm WARN second-server-graphql@0.5.6 No repository field. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 917 packages from 723 contributors and audited 922 packages in 32.144s
61 packages are looking for funding run
npm fund
for detailsfound 49 vulnerabilities (1 low, 25 moderate, 23 high) run
npm audit fix
to fix them, ornpm audit
for detailsnpm notice created a lockfile as package-lock.json. You should commit this file. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/swc-android-arm64@12.0.10 (node_modules/next/node_modules/@next/swc-android-arm64): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @next/swc-android-arm64@12.0.10: wanted {"os":"android","arch":"arm64"} (current: {"os":"linux","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/swc-darwin-arm64@12.0.10 (node_modules/next/node_modules/@next/swc-darwin-arm64): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @next/swc-darwin-arm64@12.0.10: wanted {"os":"darwin","arch":"arm64"} (current: {"os":"linux","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/swc-darwin-x64@12.0.10 (node_modules/next/node_modules/@next/swc-darwin-x64): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @next/swc-darwin-x64@12.0.10: wanted {"os":"darwin","arch":"x64"} (current: {"os":"linux","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/swc-linux-arm-gnueabihf@12.0.10 (node_modules/next/node_modules/@next/swc-linux-arm-gnueabihf): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @next/swc-linux-arm-gnueabihf@12.0.10: wanted {"os":"linux","arch":"arm"} (current: {"os":"linux","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/swc-linux-arm64-gnu@12.0.10 (node_modules/next/node_modules/@next/swc-linux-arm64-gnu): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @next/swc-linux-arm64-gnu@12.0.10: wanted {"os":"linux","arch":"arm64"} (current: {"os":"linux","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/swc-linux-arm64-musl@12.0.10 (node_modules/next/node_modules/@next/swc-linux-arm64-musl): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @next/swc-linux-arm64-musl@12.0.10: wanted {"os":"linux","arch":"arm64"} (current: {"os":"linux","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/swc-win32-arm64-msvc@12.0.10 (node_modules/next/node_modules/@next/swc-win32-arm64-msvc): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @next/swc-win32-arm64-msvc@12.0.10: wanted {"os":"win32","arch":"arm64"} (current: {"os":"linux","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/swc-win32-ia32-msvc@12.0.10 (node_modules/next/node_modules/@next/swc-win32-ia32-msvc): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @next/swc-win32-ia32-msvc@12.0.10: wanted {"os":"win32","arch":"ia32"} (current: {"os":"linux","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/swc-win32-x64-msvc@12.0.10 (node_modules/next/node_modules/@next/swc-win32-x64-msvc): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @next/swc-win32-x64-msvc@12.0.10: wanted {"os":"win32","arch":"x64"} (current: {"os":"linux","arch":"x64"}) npm WARN @emotion/babel-plugin@11.7.2 requires a peer of @babel/core@^7.0.0 but none is installed. You must install peer dependencies yourself. npm WARN @babel/plugin-syntax-jsx@7.16.7 requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself. npm WARN ts-node@9.1.1 requires a peer of typescript@>=2.7 but none is installed. You must install peer dependencies yourself.
added 259 packages from 1239 contributors and audited 268 packages in 36.017s
36 packages are looking for funding run
npm fund
for detailsfound 0 vulnerabilities
yarn install v1.22.11 [1/4] Resolving packages... [2/4] Fetching packages... info @next/swc-darwin-arm64@11.1.2: The platform "linux" is incompatible with this module. info "@next/swc-darwin-arm64@11.1.2" is an optional dependency and failed compatibility check. Excluding it from installation. info @next/swc-darwin-arm64@11.1.2: The CPU architecture "x64" is incompatible with this module. info @next/swc-darwin-x64@11.1.2: The platform "linux" is incompatible with this module. info "@next/swc-darwin-x64@11.1.2" is an optional dependency and failed compatibility check. Excluding it from installation. info @next/swc-win32-x64-msvc@11.1.2: The platform "linux" is incompatible with this module. info "@next/swc-win32-x64-msvc@11.1.2" is an optional dependency and failed compatibility check. Excluding it from installation. info fsevents@2.3.2: The platform "linux" is incompatible with this module. info "fsevents@2.3.2" is an optional dependency and failed compatibility check. Excluding it from installation. info fsevents@1.2.13: The platform "linux" is incompatible with this module. info "fsevents@1.2.13" is an optional dependency and failed compatibility check. Excluding it from installation. [3/4] Linking dependencies... [4/4] Building fresh packages... Done in 152.10s.