-
Notifications
You must be signed in to change notification settings - Fork 27
Description
I've followed the instructions to the letter, but when running docker-compose up, I get the following:
Creating mongodb ... done Creating app ... done Creating nestjs-graphql-boilerplate_mongo-express_1 ... done Attaching to mongodb, app, nestjs-graphql-boilerplate_mongo-express_1 mongodb | {"t":{"$date":"2021-05-20T22:12:58.570+00:00"},"s":"I", "c":"CONTROL", "id":23285, "ctx":"main","msg":"Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'"} mongodb | {"t":{"$date":"2021-05-20T22:12:58.573+00:00"},"s":"W", "c":"ASIO", "id":22601, "ctx":"main","msg":"No TransportLayer configured during NetworkInterface startup"} mongodb | {"t":{"$date":"2021-05-20T22:12:58.573+00:00"},"s":"I", "c":"NETWORK", "id":4648601, "ctx":"main","msg":"Implicit TCP FastOpen unavailable. If TCP FastOpen is required, set tcpFastOpenServer, tcpFastOpenClient, and tcpFastOpenQueueSize."} mongodb | {"t":{"$date":"2021-05-20T22:12:58.573+00:00"},"s":"I", "c":"STORAGE", "id":4615611, "ctx":"initandlisten","msg":"MongoDB starting","attr":{"pid":1,"port":27017,"dbPath":"/data/db","architecture":"64-bit","host":"d17f0a4a66a9"}} mongodb | {"t":{"$date":"2021-05-20T22:12:58.573+00:00"},"s":"I", "c":"CONTROL", "id":23403, "ctx":"initandlisten","msg":"Build Info","attr":{"buildInfo":{"version":"4.4.6","gitVersion":"72e66213c2c3eab37d9358d5e78ad7f5c1d0d0d7","openSSLVersion":"OpenSSL 1.1.1 11 Sep 2018","modules":[],"allocator":"tcmalloc","environment":{"distmod":"ubuntu1804","distarch":"x86_64","target_arch":"x86_64"}}}} mongodb | {"t":{"$date":"2021-05-20T22:12:58.573+00:00"},"s":"I", "c":"CONTROL", "id":51765, "ctx":"initandlisten","msg":"Operating System","attr":{"os":{"name":"Ubuntu","version":"18.04"}}} mongo-express_1 | Waiting for mongo:27017... mongo-express_1 | /docker-entrypoint.sh: connect: Connection refused mongo-express_1 | /docker-entrypoint.sh: line 14: /dev/tcp/mongo/27017: Connection refused mongodb | {"t":{"$date":"2021-05-20T22:12:58.573+00:00"},"s":"I", "c":"CONTROL", "id":21951, "ctx":"initandlisten","msg":"Options set by command line","attr":{"options":{"net":{"bindIp":"*"},"security":{"authorization":"enabled"}}}} mongodb | {"t":{"$date":"2021-05-20T22:12:58.574+00:00"},"s":"I", "c":"STORAGE", "id":22270, "ctx":"initandlisten","msg":"Storage engine to use detected by data files","attr":{"dbpath":"/data/db","storageEngine":"wiredTiger"}} mongodb | {"t":{"$date":"2021-05-20T22:12:58.574+00:00"},"s":"I", "c":"STORAGE", "id":22297, "ctx":"initandlisten","msg":"Using the XFS filesystem is strongly recommended with the WiredTiger storage engine. See http://dochub.mongodb.org/core/prodnotes-filesystem","tags":["startupWarnings"]} mongodb | {"t":{"$date":"2021-05-20T22:12:58.574+00:00"},"s":"I", "c":"STORAGE", "id":22315, "ctx":"initandlisten","msg":"Opening WiredTiger","attr":{"config":"create,cache_size=12260M,session_max=33000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000,close_scan_interval=10,close_handle_minimum=250),statistics_log=(wait=0),verbose=[recovery_progress,checkpoint_progress,compact_progress],"}} mongodb | {"t":{"$date":"2021-05-20T22:12:58.993+00:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1621548778:993798][1:0x7f67c57c2ac0], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 4 through 5"}} mongodb | {"t":{"$date":"2021-05-20T22:12:59.024+00:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1621548779:24055][1:0x7f67c57c2ac0], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 5 through 5"}} mongodb | {"t":{"$date":"2021-05-20T22:12:59.065+00:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1621548779:65521][1:0x7f67c57c2ac0], txn-recover: [WT_VERB_RECOVERY | WT_VERB_RECOVERY_PROGRESS] Main recovery loop: starting at 4/33920 to 5/256"}} mongodb | {"t":{"$date":"2021-05-20T22:12:59.118+00:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1621548779:118681][1:0x7f67c57c2ac0], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 4 through 5"}} mongodb | {"t":{"$date":"2021-05-20T22:12:59.153+00:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1621548779:153435][1:0x7f67c57c2ac0], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 5 through 5"}} mongodb | {"t":{"$date":"2021-05-20T22:12:59.185+00:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1621548779:185982][1:0x7f67c57c2ac0], txn-recover: [WT_VERB_RECOVERY | WT_VERB_RECOVERY_PROGRESS] Set global recovery timestamp: (0, 0)"}} mongodb | {"t":{"$date":"2021-05-20T22:12:59.186+00:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1621548779:186037][1:0x7f67c57c2ac0], txn-recover: [WT_VERB_RECOVERY | WT_VERB_RECOVERY_PROGRESS] Set global oldest timestamp: (0, 0)"}} mongodb | {"t":{"$date":"2021-05-20T22:12:59.189+00:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1621548779:189328][1:0x7f67c57c2ac0], WT_SESSION.checkpoint: [WT_VERB_CHECKPOINT_PROGRESS] saving checkpoint snapshot min: 1, snapshot max: 1 snapshot count: 0, oldest timestamp: (0, 0) , meta checkpoint timestamp: (0, 0)"}} mongodb | {"t":{"$date":"2021-05-20T22:12:59.205+00:00"},"s":"I", "c":"STORAGE", "id":4795906, "ctx":"initandlisten","msg":"WiredTiger opened","attr":{"durationMillis":631}} mongodb | {"t":{"$date":"2021-05-20T22:12:59.205+00:00"},"s":"I", "c":"RECOVERY", "id":23987, "ctx":"initandlisten","msg":"WiredTiger recoveryTimestamp","attr":{"recoveryTimestamp":{"$timestamp":{"t":0,"i":0}}}} mongodb | {"t":{"$date":"2021-05-20T22:12:59.206+00:00"},"s":"I", "c":"STORAGE", "id":4366408, "ctx":"initandlisten","msg":"No table logging settings modifications are required for existing WiredTiger tables","attr":{"loggingEnabled":true}} mongodb | {"t":{"$date":"2021-05-20T22:12:59.207+00:00"},"s":"I", "c":"STORAGE", "id":22262, "ctx":"initandlisten","msg":"Timestamp monitor starting"} mongodb | {"t":{"$date":"2021-05-20T22:12:59.210+00:00"},"s":"W", "c":"CONTROL", "id":22178, "ctx":"initandlisten","msg":"/sys/kernel/mm/transparent_hugepage/enabled is 'always'. We suggest setting it to 'never'","tags":["startupWarnings"]} mongodb | {"t":{"$date":"2021-05-20T22:12:59.213+00:00"},"s":"I", "c":"STORAGE", "id":20536, "ctx":"initandlisten","msg":"Flow Control is enabled on this deployment"} mongodb | {"t":{"$date":"2021-05-20T22:12:59.214+00:00"},"s":"I", "c":"FTDC", "id":20625, "ctx":"initandlisten","msg":"Initializing full-time diagnostic data capture","attr":{"dataDirectory":"/data/db/diagnostic.data"}} mongodb | {"t":{"$date":"2021-05-20T22:12:59.216+00:00"},"s":"I", "c":"NETWORK", "id":23015, "ctx":"listener","msg":"Listening on","attr":{"address":"/tmp/mongodb-27017.sock"}} mongodb | {"t":{"$date":"2021-05-20T22:12:59.216+00:00"},"s":"I", "c":"NETWORK", "id":23015, "ctx":"listener","msg":"Listening on","attr":{"address":"0.0.0.0"}} mongodb | {"t":{"$date":"2021-05-20T22:12:59.216+00:00"},"s":"I", "c":"NETWORK", "id":23016, "ctx":"listener","msg":"Waiting for connections","attr":{"port":27017,"ssl":"off"}} app | app | > [email protected] start:dev /home/node/app app | > ts-node-dev --respawn --transpile-only ./src/main.ts app | app | Using ts-node version 8.5.4, typescript version 3.7.4 mongo-express_1 | Thu May 20 22:13:00 UTC 2021 retrying to connect to mongo:27017 (2/5) mongodb | {"t":{"$date":"2021-05-20T22:13:00.148+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"172.18.0.4:59252","connectionId":1,"connectionCount":1}} mongodb | {"t":{"$date":"2021-05-20T22:13:00.148+00:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn1","msg":"Connection ended","attr":{"remote":"172.18.0.4:59252","connectionId":1,"connectionCount":0}} mongo-express_1 | Welcome to mongo-express mongo-express_1 | ------------------------ mongo-express_1 | mongo-express_1 | mongo-express_1 | Mongo Express server listening at http://0.0.0.0:8081 mongo-express_1 | Server is open to allow connections from anyone (0.0.0.0) mongodb | {"t":{"$date":"2021-05-20T22:13:00.427+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"172.18.0.4:59254","connectionId":2,"connectionCount":1}} mongodb | {"t":{"$date":"2021-05-20T22:13:00.430+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn2","msg":"client metadata","attr":{"remote":"172.18.0.4:59254","client":"conn2","doc":{"driver":{"name":"nodejs","version":"2.2.24"},"os":{"type":"Linux","name":"linux","architecture":"x64","version":"5.4.72-microsoft-standard-WSL2"},"platform":"Node.js v12.22.1, LE, mongodb-core: 2.1.8"}}} mongo-express_1 | Database connected mongodb | {"t":{"$date":"2021-05-20T22:13:00.435+00:00"},"s":"I", "c":"ACCESS", "id":20249, "ctx":"conn2","msg":"Authentication failed","attr":{"mechanism":"SCRAM-SHA-1","speculative":false,"principalName":"root","authenticationDatabase":"admin","remote":"172.18.0.4:59254","extraInfo":{},"error":"UserNotFound: Could not find user \"root\" for db \"admin\""}} mongo-express_1 | Admin Database connected mongo-express_1 | Error [MongoError]: Authentication failed. mongo-express_1 | at Function.MongoError.create (/node_modules/mongodb-core/lib/error.js:31:11) mongo-express_1 | at /node_modules/mongodb-core/lib/connection/pool.js:483:72 mongo-express_1 | at authenticateStragglers (/node_modules/mongodb-core/lib/connection/pool.js:429:16) mongo-express_1 | at Connection.messageHandler (/node_modules/mongodb-core/lib/connection/pool.js:463:5) mongo-express_1 | at Socket.<anonymous> (/node_modules/mongodb-core/lib/connection/connection.js:319:22) mongo-express_1 | at Socket.emit (events.js:314:20) mongo-express_1 | at addChunk (_stream_readable.js:297:12) mongo-express_1 | at readableAddChunk (_stream_readable.js:272:9) mongo-express_1 | at Socket.Readable.push (_stream_readable.js:213:10) mongo-express_1 | at TCP.onStreamRead (internal/stream_base_commons.js:188:23) { mongo-express_1 | ok: 0, mongo-express_1 | errmsg: 'Authentication failed.', mongo-express_1 | code: 18, mongo-express_1 | codeName: 'AuthenticationFailed' mongo-express_1 | } mongo-express_1 | unable to list databases