Title: API Server Docker not starting · Issue #447 · ClearGDPR/ClearGDPR · GitHub
Open Graph Title: API Server Docker not starting · Issue #447 · ClearGDPR/ClearGDPR
X Title: API Server Docker not starting · Issue #447 · ClearGDPR/ClearGDPR
Description: Describe the bug The API server is not running To Reproduce macosx High Sierra 10 Nodejs 9.8.0 Run node setup.js followed by docker/run Console Output ➜ ClearGDPR git:(master) docker/run Removing containers No stopped containers Removing...
Open Graph Description: Describe the bug The API server is not running To Reproduce macosx High Sierra 10 Nodejs 9.8.0 Run node setup.js followed by docker/run Console Output ➜ ClearGDPR git:(master) docker/run Removing c...
X Description: Describe the bug The API server is not running To Reproduce macosx High Sierra 10 Nodejs 9.8.0 Run node setup.js followed by docker/run Console Output ➜ ClearGDPR git:(master) docker/run Removing c...
Opengraph URL: https://github.com/ClearGDPR/ClearGDPR/issues/447
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"API Server Docker not starting","articleBody":"**Describe the bug**\r\nThe API server is not running\r\n\r\n**To Reproduce**\r\nmacosx High Sierra 10\r\nNodejs 9.8.0\r\n\r\nRun `node setup.js` followed by `docker/run`\r\n\r\n**Console Output**\r\n```\r\n➜ ClearGDPR git:(master) docker/run \r\nRemoving containers\r\nNo stopped containers\r\nRemoving containers\r\nNo stopped containers\r\nRemoving containers\r\nNo stopped containers\r\nRemoving containers\r\nNo stopped containers\r\nBuilding demo-frontend\r\nStep 1/12 : FROM node:8-alpine\r\n ---\u003e e24de9a22ce3\r\nStep 2/12 : LABEL maintainer=\"Clevertech DevOps \u003csupport@clevertech.biz\u003e\"\r\n ---\u003e Using cache\r\n ---\u003e c872ab70df68\r\nStep 3/12 : RUN apk --no-cache add ca-certificates \u0026\u0026 update-ca-certificates\r\n ---\u003e Using cache\r\n ---\u003e c172f3a2bd72\r\nStep 4/12 : RUN apk upgrade \u0026\u0026 apk add --no-cache git make gcc g++ python\r\n ---\u003e Using cache\r\n ---\u003e e2dd42701f9f\r\nStep 5/12 : EXPOSE 3000\r\n ---\u003e Using cache\r\n ---\u003e 6db6d90a2359\r\nStep 6/12 : CMD [\"npm\", \"start\"]\r\n ---\u003e Using cache\r\n ---\u003e e32e6435f668\r\nStep 7/12 : RUN mkdir -p /opt/app \u0026\u0026 mkdir /cache\r\n ---\u003e Using cache\r\n ---\u003e 4f028295aee3\r\nStep 8/12 : WORKDIR /opt/app\r\n ---\u003e Using cache\r\n ---\u003e 5588c4806386\r\nStep 9/12 : ADD package.json yarn.lock /cache/\r\n ---\u003e Using cache\r\n ---\u003e 843acb8f7a96\r\nStep 10/12 : ADD .yarn-cache.tgz /\r\n ---\u003e Using cache\r\n ---\u003e 202a0028a820\r\nStep 11/12 : RUN cd /cache \u0026\u0026 yarn config set cache-folder /usr/local/share/.cache/yarn \u0026\u0026 yarn \u0026\u0026 cd /opt/app \u0026\u0026 ln -s /cache/node_modules node_modules \u0026\u0026 tar czf /.yarn-cache.tgz /usr/local/share/.cache/yarn\r\n ---\u003e Using cache\r\n ---\u003e fe02d31f81c9\r\nStep 12/12 : COPY . /opt/app\r\n ---\u003e Using cache\r\n ---\u003e 96178d6201c7\r\nSuccessfully built 96178d6201c7\r\nSuccessfully tagged cleargdpr/demo-frontend:latest\r\nBuilding admin\r\nStep 1/12 : FROM node:8-alpine\r\n ---\u003e e24de9a22ce3\r\nStep 2/12 : LABEL maintainer=\"Clevertech DevOps \u003csupport@clevertech.biz\u003e\"\r\n ---\u003e Using cache\r\n ---\u003e c872ab70df68\r\nStep 3/12 : RUN apk --no-cache add ca-certificates \u0026\u0026 update-ca-certificates\r\n ---\u003e Using cache\r\n ---\u003e c172f3a2bd72\r\nStep 4/12 : RUN apk upgrade \u0026\u0026 apk add --no-cache git make gcc g++ python\r\n ---\u003e Using cache\r\n ---\u003e e2dd42701f9f\r\nStep 5/12 : EXPOSE 4000\r\n ---\u003e Using cache\r\n ---\u003e c12c26432f17\r\nStep 6/12 : CMD [\"npm\", \"start\"]\r\n ---\u003e Using cache\r\n ---\u003e 1816f97455ca\r\nStep 7/12 : RUN mkdir -p /opt/app \u0026\u0026 mkdir /cache\r\n ---\u003e Using cache\r\n ---\u003e 36a90aec302f\r\nStep 8/12 : WORKDIR /opt/app\r\n ---\u003e Using cache\r\n ---\u003e 61b09e307c90\r\nStep 9/12 : ADD package.json yarn.lock /cache/\r\n ---\u003e Using cache\r\n ---\u003e f5555ffae7a8\r\nStep 10/12 : ADD .yarn-cache.tgz /\r\n ---\u003e Using cache\r\n ---\u003e 25f89fce5074\r\nStep 11/12 : RUN cd /cache \u0026\u0026 yarn config set cache-folder /usr/local/share/.cache/yarn \u0026\u0026 yarn \u0026\u0026 cd /opt/app \u0026\u0026 ln -s /cache/node_modules node_modules \u0026\u0026 tar czf /.yarn-cache.tgz /usr/local/share/.cache/yarn\r\n ---\u003e Using cache\r\n ---\u003e 6c146843cf98\r\nStep 12/12 : COPY . /opt/app\r\n ---\u003e Using cache\r\n ---\u003e 08cc0493ca1d\r\nSuccessfully built 08cc0493ca1d\r\nSuccessfully tagged cleargdpr/admin:latest\r\nBuilding db\r\nStep 1/2 : FROM postgres\r\n ---\u003e e3fc8fdbb39d\r\nStep 2/2 : COPY db_setup.sh /docker-entrypoint-initdb.d/\r\n ---\u003e Using cache\r\n ---\u003e 219e04e98ba0\r\nSuccessfully built 219e04e98ba0\r\nSuccessfully tagged cleargdpr/postgres:latest\r\nBuilding cg_processor\r\nStep 1/13 : FROM node:8-alpine\r\n ---\u003e e24de9a22ce3\r\nStep 2/13 : LABEL maintainer=\"Clevertech DevOps \u003csupport@clevertech.biz\u003e\"\r\n ---\u003e Using cache\r\n ---\u003e c872ab70df68\r\nStep 3/13 : RUN apk --no-cache add ca-certificates \u0026\u0026 update-ca-certificates\r\n ---\u003e Using cache\r\n ---\u003e c172f3a2bd72\r\nStep 4/13 : RUN apk upgrade \u0026\u0026 apk add --no-cache git make gcc g++ python\r\n ---\u003e Using cache\r\n ---\u003e 00fab8d7c538\r\nStep 5/13 : EXPOSE 3000\r\n ---\u003e Using cache\r\n ---\u003e 2ac530db6518\r\nStep 6/13 : CMD [\"yarn\", \"run\", \"start\"]\r\n ---\u003e Using cache\r\n ---\u003e a0cf26c0be4e\r\nStep 7/13 : RUN mkdir -p /opt/app \u0026\u0026 mkdir /cache\r\n ---\u003e Using cache\r\n ---\u003e a8d4ec384c03\r\nStep 8/13 : WORKDIR /opt/app\r\n ---\u003e Using cache\r\n ---\u003e 8ada42d0751a\r\nStep 9/13 : ADD package.json yarn.lock /cache/\r\n ---\u003e Using cache\r\n ---\u003e e1bb802e5d58\r\nStep 10/13 : ADD .yarn-cache.tgz /\r\n ---\u003e Using cache\r\n ---\u003e 550a81b42061\r\nStep 11/13 : RUN cd /cache \u0026\u0026 yarn config set cache-folder /usr/local/share/.cache/yarn \u0026\u0026 yarn \u0026\u0026 cd /opt/app \u0026\u0026 ln -s /cache/node_modules node_modules \u0026\u0026 tar czf /.yarn-cache.tgz /usr/local/share/.cache/yarn\r\n ---\u003e Running in 0b6fca15fe50\r\nyarn config v1.6.0\r\nsuccess Set \"cache-folder\" to \"/usr/local/share/.cache/yarn\".\r\nDone in 0.08s.\r\nyarn install v1.6.0\r\n[1/4] Resolving packages...\r\n[2/4] Fetching packages...\r\ninfo fsevents@1.1.3: The platform \"linux\" is incompatible with this module.\r\ninfo \"fsevents@1.1.3\" is an optional dependency and failed compatibility check. Excluding it from installation.\r\ninfo fsevents@1.2.4: The platform \"linux\" is incompatible with this module.\r\ninfo \"fsevents@1.2.4\" is an optional dependency and failed compatibility check. Excluding it from installation.\r\n[3/4] Linking dependencies...\r\n[4/4] Building fresh packages...\r\nDone in 164.06s.\r\ntar: removing leading '/' from member names\r\nRemoving intermediate container 0b6fca15fe50\r\n ---\u003e d2718f4ca585\r\nStep 12/13 : RUN apk del make gcc g++ python\r\n ---\u003e Running in 0778e47a93c9\r\nWARNING: Ignoring APKINDEX.84815163.tar.gz: No such file or directory\r\nWARNING: Ignoring APKINDEX.24d64ab1.tar.gz: No such file or directory\r\n(1/23) Purging g++ (6.3.0-r4)\r\n(2/23) Purging gcc (6.3.0-r4)\r\n(3/23) Purging binutils (2.30-r1)\r\n(4/23) Purging libatomic (6.3.0-r4)\r\n(5/23) Purging libgomp (6.3.0-r4)\r\n(6/23) Purging libc-dev (0.7.1-r0)\r\n(7/23) Purging musl-dev (1.1.16-r14)\r\n(8/23) Purging make (4.2.1-r0)\r\n(9/23) Purging python2 (2.7.15-r0)\r\n(10/23) Purging binutils-libs (2.30-r1)\r\n(11/23) Purging mpc1 (1.0.3-r0)\r\n(12/23) Purging mpfr3 (3.1.5-r0)\r\n(13/23) Purging isl (0.17.1-r0)\r\n(14/23) Purging gmp (6.1.2-r0)\r\n(15/23) Purging pkgconf (1.3.7-r0)\r\n(16/23) Purging libbz2 (1.0.6-r5)\r\n(17/23) Purging libffi (3.2.1-r3)\r\n(18/23) Purging gdbm (1.12-r0)\r\n(19/23) Purging readline (6.3.008-r5)\r\n(20/23) Purging ncurses-libs (6.0_p20171125-r1)\r\n(21/23) Purging ncurses-terminfo (6.0_p20171125-r1)\r\n(22/23) Purging ncurses-terminfo-base (6.0_p20171125-r1)\r\n(23/23) Purging sqlite-libs (3.20.1-r2)\r\nExecuting busybox-1.26.2-r11.trigger\r\nOK: 27 MiB in 21 packages\r\nRemoving intermediate container 0778e47a93c9\r\n ---\u003e 4d3ccaadf4fc\r\nStep 13/13 : COPY . /opt/app\r\n ---\u003e 020cfc8f370b\r\nSuccessfully built 020cfc8f370b\r\nSuccessfully tagged cleargdpr/cg:latest\r\nBuilding cg\r\nStep 1/13 : FROM node:8-alpine\r\n ---\u003e e24de9a22ce3\r\nStep 2/13 : LABEL maintainer=\"Clevertech DevOps \u003csupport@clevertech.biz\u003e\"\r\n ---\u003e Using cache\r\n ---\u003e c872ab70df68\r\nStep 3/13 : RUN apk --no-cache add ca-certificates \u0026\u0026 update-ca-certificates\r\n ---\u003e Using cache\r\n ---\u003e c172f3a2bd72\r\nStep 4/13 : RUN apk upgrade \u0026\u0026 apk add --no-cache git make gcc g++ python\r\n ---\u003e Using cache\r\n ---\u003e 00fab8d7c538\r\nStep 5/13 : EXPOSE 3000\r\n ---\u003e Using cache\r\n ---\u003e 2ac530db6518\r\nStep 6/13 : CMD [\"yarn\", \"run\", \"start\"]\r\n ---\u003e Using cache\r\n ---\u003e a0cf26c0be4e\r\nStep 7/13 : RUN mkdir -p /opt/app \u0026\u0026 mkdir /cache\r\n ---\u003e Using cache\r\n ---\u003e a8d4ec384c03\r\nStep 8/13 : WORKDIR /opt/app\r\n ---\u003e Using cache\r\n ---\u003e 8ada42d0751a\r\nStep 9/13 : ADD package.json yarn.lock /cache/\r\n ---\u003e Using cache\r\n ---\u003e e1bb802e5d58\r\nStep 10/13 : ADD .yarn-cache.tgz /\r\n ---\u003e Using cache\r\n ---\u003e 550a81b42061\r\nStep 11/13 : RUN cd /cache \u0026\u0026 yarn config set cache-folder /usr/local/share/.cache/yarn \u0026\u0026 yarn \u0026\u0026 cd /opt/app \u0026\u0026 ln -s /cache/node_modules node_modules \u0026\u0026 tar czf /.yarn-cache.tgz /usr/local/share/.cache/yarn\r\n ---\u003e Using cache\r\n ---\u003e d2718f4ca585\r\nStep 12/13 : RUN apk del make gcc g++ python\r\n ---\u003e Using cache\r\n ---\u003e 4d3ccaadf4fc\r\nStep 13/13 : COPY . /opt/app\r\n ---\u003e Using cache\r\n ---\u003e 020cfc8f370b\r\nSuccessfully built 020cfc8f370b\r\nSuccessfully tagged cleargdpr/cg:latest\r\nBuilding demo-api\r\nStep 1/11 : FROM node:8-alpine\r\n ---\u003e e24de9a22ce3\r\nStep 2/11 : LABEL maintainer=\"Clevertech DevOps \u003csupport@clevertech.biz\u003e\"\r\n ---\u003e Using cache\r\n ---\u003e c872ab70df68\r\nStep 3/11 : RUN apk --no-cache add ca-certificates \u0026\u0026 update-ca-certificates\r\n ---\u003e Using cache\r\n ---\u003e c172f3a2bd72\r\nStep 4/11 : EXPOSE 3000\r\n ---\u003e Running in eaec1e072ac0\r\nRemoving intermediate container eaec1e072ac0\r\n ---\u003e 99509402aaea\r\nStep 5/11 : CMD [\"yarn\", \"run\", \"start\"]\r\n ---\u003e Running in 5275af752835\r\nRemoving intermediate container 5275af752835\r\n ---\u003e 046304572f9d\r\nStep 6/11 : RUN mkdir -p /opt/app \u0026\u0026 mkdir /cache\r\n ---\u003e Running in 2cc711a4751f\r\nRemoving intermediate container 2cc711a4751f\r\n ---\u003e 012d184b0b0c\r\nStep 7/11 : WORKDIR /opt/app\r\nRemoving intermediate container 66ba04d75bf7\r\n ---\u003e 3c023714a6c1\r\nStep 8/11 : ADD package.json yarn.lock /cache/\r\n ---\u003e 402a427574e7\r\nStep 9/11 : ADD .yarn-cache.tgz /\r\n ---\u003e 5fa2faebe6eb\r\nStep 10/11 : RUN cd /cache \u0026\u0026 yarn config set cache-folder /usr/local/share/.cache/yarn \u0026\u0026 yarn \u0026\u0026 cd /opt/app \u0026\u0026 ln -s /cache/node_modules node_modules \u0026\u0026 tar czf /.yarn-cache.tgz /usr/local/share/.cache/yarn\r\n ---\u003e Running in 7be4653bbfc8\r\nyarn config v1.6.0\r\nsuccess Set \"cache-folder\" to \"/usr/local/share/.cache/yarn\".\r\nDone in 0.07s.\r\nyarn install v1.6.0\r\n[1/4] Resolving packages...\r\n[2/4] Fetching packages...\r\ninfo fsevents@1.1.3: The platform \"linux\" is incompatible with this module.\r\ninfo \"fsevents@1.1.3\" is an optional dependency and failed compatibility check. Excluding it from installation.\r\n[3/4] Linking dependencies...\r\n[4/4] Building fresh packages...\r\nDone in 18.82s.\r\ntar: removing leading '/' from member names\r\nRemoving intermediate container 7be4653bbfc8\r\n ---\u003e c977ae7782b2\r\nStep 11/11 : COPY . /opt/app\r\n ---\u003e 5d7c9e8afef9\r\nSuccessfully built 5d7c9e8afef9\r\nSuccessfully tagged cleargdpr/demo-api:latest\r\nadminer uses an image, skipping\r\nconstellation1 uses an image, skipping\r\nconstellation2 uses an image, skipping\r\ngeth1 uses an image, skipping\r\ngeth2 uses an image, skipping\r\nChecking if I need to retrieve Yarn cache and lock file for cg\r\nNot retrieving\r\nDone\r\nChecking if I need to retrieve Yarn cache and lock file for admin\r\nNot retrieving\r\nDone\r\nChecking if I need to retrieve Yarn cache and lock file for demo-api\r\nNot retrieving\r\nDone\r\nChecking if I need to retrieve Yarn cache and lock file for demo-frontend\r\nNot retrieving\r\nDone\r\nCreating network \"cleargdpr_default\" with the default driver\r\nCreating network \"cleargdpr_quorum_net\" with driver \"bridge\"\r\nCreating volume \"cleargdpr_db_data\" with default driver\r\nCreating volume \"cleargdpr_quorum_data1\" with default driver\r\nCreating volume \"cleargdpr_quorum_data2\" with default driver\r\nPulling adminer (adminer:)...\r\nlatest: Pulling from library/adminer\r\n8e3ba11ec2a2: Pull complete\r\na4c1ef410e64: Pull complete\r\nfc1230cd877c: Pull complete\r\n4732b87605ad: Pull complete\r\nd5e391ea991b: Pull complete\r\n549ad71b9a98: Pull complete\r\n4e5fc7f5fd0b: Pull complete\r\n5bf6021b9316: Pull complete\r\n3a090c506ff6: Pull complete\r\n81c1f347c0eb: Pull complete\r\n67647183428f: Pull complete\r\nae0064119944: Pull complete\r\n1c34d1db093d: Pull complete\r\n1c53bace8a06: Pull complete\r\nfd62e8eb1a25: Pull complete\r\n85db932a763c: Pull complete\r\nDigest: sha256:a269ef230dc9f4f5f19468d038a9e66dd7095117310cfcf3ce2157266910b639\r\nStatus: Downloaded newer image for adminer:latest\r\nPulling constellation1 (cleargdpr/quorum:latest)...\r\nlatest: Pulling from cleargdpr/quorum\r\n3b37166ec614: Pull complete\r\nba077e1ddb3a: Pull complete\r\n34c83d2bc656: Pull complete\r\n84b69b6e4743: Pull complete\r\n0f72e97e1f61: Pull complete\r\n23576d4b3ca5: Pull complete\r\n1f2b7f77cdcd: Pull complete\r\n2b5d7cbb01d4: Pull complete\r\nacf5cf3bbf90: Pull complete\r\n59ef3118af69: Pull complete\r\nDigest: sha256:8bf0a6aad6c826dd2462733eff6a7081b68cbf47dfb0e451b3400a0d6ed02027\r\nStatus: Downloaded newer image for cleargdpr/quorum:latest\r\nPulling constellation2 (cleargdpr/quorum_processor:0.0.2)...\r\n0.0.2: Pulling from cleargdpr/quorum_processor\r\n8ee29e426c26: Pull complete\r\n6e83b260b73b: Pull complete\r\ne26b65fd1143: Pull complete\r\n40dca07f8222: Pull complete\r\nb420ae9e10b3: Pull complete\r\n5fc76a66d50c: Pull complete\r\n65237f249abd: Pull complete\r\n9db23e8184cb: Pull complete\r\n7f5f83c97da7: Pull complete\r\n1e5cf63137d6: Pull complete\r\nDigest: sha256:98baf67e9a864c4511346f3349aa67e0714d23b918339c19e106c2e86cb2aebe\r\nStatus: Downloaded newer image for cleargdpr/quorum_processor:0.0.2\r\nCreating cleargdpr_adminer_1 ... done\r\nCreating cleargdpr_constellation1_1 ... done\r\nCreating cleargdpr_admin_1 ... done\r\nCreating cleargdpr_constellation2_1 ... done\r\nCreating cleargdpr_demo-frontend_1 ... done\r\nCreating cleargdpr_db_1 ... done\r\nCreating cleargdpr_cg_processor_1 ... done\r\nCreating cleargdpr_cg_1 ... done\r\nCreating cleargdpr_geth2_1 ... done\r\nCreating cleargdpr_geth1_1 ... done\r\nCreating cleargdpr_demo-api_1 ... done\r\nAttaching to cleargdpr_db_1, cleargdpr_constellation2_1, cleargdpr_adminer_1, cleargdpr_constellation1_1, cleargdpr_geth1_1, cleargdpr_geth2_1, cleargdpr_cg_1, cleargdpr_cg_processor_1, cleargdpr_demo-frontend_1, cleargdpr_admin_1, cleargdpr_demo-api_1\r\ndb_1 | The files belonging to this database system will be owned by user \"postgres\".\r\ndb_1 | This user must also own the server process.\r\ndb_1 | \r\ndb_1 | The database cluster will be initialized with locale \"en_US.utf8\".\r\ndb_1 | The default database encoding has accordingly been set to \"UTF8\".\r\ndb_1 | The default text search configuration will be set to \"english\".\r\ndb_1 | \r\ndb_1 | Data page checksums are disabled.\r\ndb_1 | \r\ndb_1 | fixing permissions on existing directory /var/lib/postgresql/data ... ok\r\ndb_1 | creating subdirectories ... ok\r\nconstellation2_1 | [*] Setup configuration for Constellation\r\ndb_1 | selecting default max_connections ... 100\r\ndb_1 | selecting default shared_buffers ... 128MB\r\ndb_1 | selecting dynamic shared memory implementation ... posix\r\nconstellation2_1 | /scripts/start_node_processor.sh: line 19: NODE_IP: unbound variable\r\nconstellation2_1 | /scripts/start_node_processor.sh: line 20: NODE_PORT: unbound variable\r\nconstellation2_1 | /scripts/start_node_processor.sh: line 21: OTHER_NODE_URLS: unbound variable\r\ndb_1 | creating configuration files ... ok\r\nadminer_1 | PHP 7.2.9 Development Server started at Wed Sep 5 11:03:45 2018\r\nconstellation1_1 | [*] Setup configuration for Constellation\r\ndb_1 | running bootstrap script ... ok\r\ngeth1_1 | [*] Setup configuration for Geth\r\ngeth1_1 | /scripts/start_node.sh: line 42: NODE_KEY: unbound variable\r\nconstellation1_1 | /scripts/start_node.sh: line 21: OTHER_NODE_URLS: unbound variable\r\nconstellation1_1 | /scripts/start_node.sh: line 20: NODE_PORT: unbound variable\r\nconstellation1_1 | /scripts/start_node.sh: line 19: NODE_IP: unbound variable\r\ncg_1 | yarn run v1.6.0\r\ncg_1 | $ bnr start-dev\r\ncg_1 | running better-npm-run in /opt/app\r\ndb_1 | performing post-bootstrap initialization ... ok\r\ncleargdpr_constellation2_1 exited with code 1\r\ngeth2_1 | /scripts/start_node_processor.sh: line 42: NODE_KEY: unbound variable\r\ncg_1 | Executing script: start-dev\r\ncg_1 | \r\ngeth2_1 | [*] Setup configuration for Geth\r\ncg_1 | to be executed: node src/wait-for-db.js \u0026\u0026 knex migrate:latest \u0026\u0026 nodemon --inspect=0.0.0.0:9230 \r\ncg_1 | /opt/app/node_modules/knex/lib/client.js:108\r\ncg_1 | throw new Error('knex: Required configuration option \\'client\\' is missing.');\r\ncg_1 | ^\r\ndb_1 | syncing data to disk ... ok\r\ndb_1 | \r\ndb_1 | Success. You can now start the database server using:\r\ndb_1 | \r\ndb_1 | pg_ctl -D /var/lib/postgresql/data -l logfile start\r\ndb_1 | \r\ncg_1 | \r\ncg_1 | Error: knex: Required configuration option 'client' is missing.\r\ncg_1 | at new Client (/opt/app/node_modules/knex/lib/client.js:108:11)\r\ncg_1 | at Knex (/opt/app/node_modules/knex/lib/index.js:60:34)\r\ncg_1 | at Object.\u003canonymous\u003e (/opt/app/src/wait-for-db.js:3:27)\r\ncg_1 | at Module._compile (module.js:652:30)\r\ncg_1 | at Object.Module._extensions..js (module.js:663:10)\r\ncg_1 | at Module.load (module.js:565:32)\r\ncg_1 | at tryModuleLoad (module.js:505:12)\r\ncg_1 | at Function.Module._load (module.js:497:3)\r\ncg_1 | at Function.Module.runMain (module.js:693:10)\r\ncg_1 | at startup (bootstrap_node.js:191:16)\r\ncleargdpr_geth1_1 exited with code 1\r\ndb_1 | \r\ndb_1 | WARNING: enabling \"trust\" authentication for local connections\r\ndb_1 | You can change this by editing pg_hba.conf or using the option -A, or\r\ndb_1 | --auth-local and --auth-host, the next time you run initdb.\r\ndemo-frontend_1 | \r\ndemo-frontend_1 | \u003e @cleargdpr/demo-frontend@1.0.0 start /opt/app\r\ndemo-frontend_1 | \u003e node scripts/start.js\r\ndemo-frontend_1 | \r\ncg_processor_1 | yarn run v1.6.0\r\ndb_1 | ****************************************************\r\ndb_1 | WARNING: No password has been set for the database.\r\ndb_1 | This will allow anyone with access to the\r\ndb_1 | Postgres port to access your database. In\r\ndb_1 | Docker's default configuration, this is\r\ndb_1 | effectively any other container on the same\r\ndb_1 | system.\r\ndb_1 | \r\ndb_1 | Use \"-e POSTGRES_PASSWORD=password\" to set\r\ndb_1 | it in \"docker run\".\r\ndb_1 | ****************************************************\r\nadmin_1 | yarn run v1.6.0\r\nadmin_1 | $ node scripts/start.js\r\ncg_1 | at bootstrap_node.js:612:3\r\ncg_processor_1 | $ bnr start-dev\r\nadmin_1 | Starting the development server...\r\nadmin_1 | \r\ndb_1 | waiting for server to start....2018-09-05 11:03:48.811 UTC [40] LOG: listening on Unix socket \"/var/run/postgresql/.s.PGSQL.5432\"\r\ncg_processor_1 | running better-npm-run in /opt/app\r\ndb_1 | 2018-09-05 11:03:48.831 UTC [41] LOG: database system was shut down at 2018-09-05 11:03:47 UTC\r\ndb_1 | 2018-09-05 11:03:48.838 UTC [40] LOG: database system is ready to accept connections\r\ncleargdpr_constellation1_1 exited with code 1\r\ncg_1 | error Command failed with exit code 1.\r\ndb_1 | done\r\ndb_1 | server started\r\ncleargdpr_geth2_1 exited with code 1\r\ndb_1 | CREATE DATABASE\r\ndb_1 | \r\ncg_processor_1 | Executing script: start-dev\r\ncg_processor_1 | \r\ncg_processor_1 | to be executed: node src/wait-for-db.js \u0026\u0026 knex migrate:latest \u0026\u0026 nodemon --inspect=0.0.0.0:9230 \r\ncg_1 | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.\r\ncg_processor_1 | /opt/app/node_modules/knex/lib/client.js:108\r\ncg_processor_1 | throw new Error('knex: Required configuration option \\'client\\' is missing.');\r\ncg_processor_1 | ^\r\ncg_processor_1 | \r\ncg_processor_1 | Error: knex: Required configuration option 'client' is missing.\r\ncg_processor_1 | at new Client (/opt/app/node_modules/knex/lib/client.js:108:11)\r\ncg_processor_1 | at Knex (/opt/app/node_modules/knex/lib/index.js:60:34)\r\ncg_processor_1 | at Object.\u003canonymous\u003e (/opt/app/src/wait-for-db.js:3:27)\r\ncg_processor_1 | at Module._compile (module.js:652:30)\r\ncg_processor_1 | at Object.Module._extensions..js (module.js:663:10)\r\ncg_processor_1 | at Module.load (module.js:565:32)\r\ncg_processor_1 | at tryModuleLoad (module.js:505:12)\r\ncg_processor_1 | at Function.Module._load (module.js:497:3)\r\ncg_processor_1 | at Function.Module.runMain (module.js:693:10)\r\ncg_processor_1 | at startup (bootstrap_node.js:191:16)\r\ncg_processor_1 | at bootstrap_node.js:612:3\r\ndb_1 | CREATE ROLE\r\ndb_1 | \r\ndb_1 | \r\ndb_1 | /usr/local/bin/docker-entrypoint.sh: sourcing /docker-entrypoint-initdb.d/db_setup.sh\r\ndb_1 | \r\ncg_processor_1 | error Command failed with exit code 1.\r\ncg_processor_1 | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.\r\ndb_1 | CREATE DATABASE\r\ndb_1 | CREATE DATABASE\r\ndb_1 | \r\ndb_1 | 2018-09-05 11:03:50.767 UTC [40] LOG: received fast shutdown request\r\ndb_1 | waiting for server to shut down....2018-09-05 11:03:50.771 UTC [40] LOG: aborting any active transactions\r\ndb_1 | 2018-09-05 11:03:50.774 UTC [40] LOG: worker process: logical replication launcher (PID 47) exited with exit code 1\r\ndb_1 | 2018-09-05 11:03:50.778 UTC [42] LOG: shutting down\r\ndb_1 | 2018-09-05 11:03:50.808 UTC [40] LOG: database system is shut down\r\ndb_1 | done\r\ndb_1 | server stopped\r\ndb_1 | \r\ndb_1 | PostgreSQL init process complete; ready for start up.\r\ndb_1 | \r\ndb_1 | 2018-09-05 11:03:50.907 UTC [1] LOG: listening on IPv4 address \"0.0.0.0\", port 5432\r\ndb_1 | 2018-09-05 11:03:50.907 UTC [1] LOG: listening on IPv6 address \"::\", port 5432\r\ndb_1 | 2018-09-05 11:03:50.916 UTC [1] LOG: listening on Unix socket \"/var/run/postgresql/.s.PGSQL.5432\"\r\ndb_1 | 2018-09-05 11:03:50.983 UTC [76] LOG: database system was shut down at 2018-09-05 11:03:50 UTC\r\ndb_1 | 2018-09-05 11:03:50.990 UTC [1] LOG: database system is ready to accept connections\r\ncleargdpr_cg_1 exited with code 1\r\ncleargdpr_cg_processor_1 exited with code 1\r\ndemo-api_1 | yarn run v1.6.0\r\ndemo-api_1 | $ bnr start-dev\r\ndemo-api_1 | running better-npm-run in /opt/app\r\ndemo-api_1 | Executing script: start-dev\r\ndemo-api_1 | \r\ndemo-api_1 | to be executed: node src/wait-for-db.js \u0026\u0026 knex migrate:latest \u0026\u0026 nodemon --inspect=0.0.0.0:9229 \r\ndemo-frontend_1 | Starting the development server...\r\ndemo-frontend_1 | \r\ndemo-api_1 | /opt/app/node_modules/knex/lib/client.js:108\r\ndemo-api_1 | throw new Error('knex: Required configuration option \\'client\\' is missing.');\r\ndemo-api_1 | ^\r\ndemo-api_1 | \r\ndemo-api_1 | Error: knex: Required configuration option 'client' is missing.\r\ndemo-api_1 | at new Client (/opt/app/node_modules/knex/lib/client.js:108:11)\r\ndemo-api_1 | at Knex (/opt/app/node_modules/knex/lib/index.js:60:34)\r\ndemo-api_1 | at Object.\u003canonymous\u003e (/opt/app/src/wait-for-db.js:2:27)\r\ndemo-api_1 | at Module._compile (module.js:652:30)\r\ndemo-api_1 | at Object.Module._extensions..js (module.js:663:10)\r\ndemo-api_1 | at Module.load (module.js:565:32)\r\ndemo-api_1 | at tryModuleLoad (module.js:505:12)\r\ndemo-api_1 | at Function.Module._load (module.js:497:3)\r\ndemo-api_1 | at Function.Module.runMain (module.js:693:10)\r\ndemo-api_1 | at startup (bootstrap_node.js:191:16)\r\ndemo-api_1 | at bootstrap_node.js:612:3\r\ndemo-api_1 | error Command failed with exit code 1.\r\ndemo-api_1 | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.\r\ncleargdpr_demo-api_1 exited with code 1\r\ndemo-frontend_1 | Compiled successfully!\r\ndemo-frontend_1 | \r\ndemo-frontend_1 | You can now view @cleargdpr/demo-frontend in the browser.\r\ndemo-frontend_1 | \r\ndemo-frontend_1 | Local: http://localhost:3000/\r\ndemo-frontend_1 | On Your Network: http://172.20.0.6:3000/\r\ndemo-frontend_1 | \r\ndemo-frontend_1 | Note that the development build is not optimized.\r\ndemo-frontend_1 | To create a production build, use yarn build.\r\ndemo-frontend_1 | \r\nadmin_1 | Compiled successfully!\r\nadmin_1 | \r\nadmin_1 | You can now view @cleargdpr/admin in the browser.\r\nadmin_1 | \r\nadmin_1 | Local: http://localhost:4000/\r\nadmin_1 | On Your Network: http://172.20.0.7:4000/\r\nadmin_1 | \r\nadmin_1 | Note that the development build is not optimized.\r\nadmin_1 | To create a production build, use yarn build.\r\nadmin_1 | \r\n\r\n```\r\n","author":{"url":"https://github.com/ydennisy","@type":"Person","name":"ydennisy"},"datePublished":"2018-09-05T11:10:43.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/447/ClearGDPR/issues/447"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:eab70eec-3aab-d261-6f8f-569ad4d02a1b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D392:1121AC:4973DE:5E657D:69912CB5 |
| html-safe-nonce | a78ad884034631028eb2d2da5559a856f31151e85d52b1050e4f8def8a5dcab8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMzkyOjExMjFBQzo0OTczREU6NUU2NTdEOjY5OTEyQ0I1IiwidmlzaXRvcl9pZCI6IjkwODExMzYxOTA3OTk4MTc5MDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 6c6f734a6b174324e801d710e780bf21a7fde10c543e9dedb19f92b76ee59850 |
| hovercard-subject-tag | issue:357179400 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/ClearGDPR/ClearGDPR/447/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3f41096c017bfa7347419f40b6610aec26037cc4c17d955b0182a85c341dee37/ClearGDPR/ClearGDPR/issues/447 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3f41096c017bfa7347419f40b6610aec26037cc4c17d955b0182a85c341dee37/ClearGDPR/ClearGDPR/issues/447 |
| og:image:alt | Describe the bug The API server is not running To Reproduce macosx High Sierra 10 Nodejs 9.8.0 Run node setup.js followed by docker/run Console Output ➜ ClearGDPR git:(master) docker/run Removing c... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ydennisy |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/ClearGDPR/ClearGDPR git https://github.com/ClearGDPR/ClearGDPR.git |
| octolytics-dimension-user_id | 39530558 |
| octolytics-dimension-user_login | ClearGDPR |
| octolytics-dimension-repository_id | 134732441 |
| octolytics-dimension-repository_nwo | ClearGDPR/ClearGDPR |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 134732441 |
| octolytics-dimension-repository_network_root_nwo | ClearGDPR/ClearGDPR |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width