Guten Morgen Stefan,
In dem Verzeichnis liegt:
ls -l /var/lib/docker/volumes/egroupwarerocketchat_mongo/_data/
insgesamt 491556
-rw------- 1 vboxadd vboxsf 16777216 Dez 26 16:39 admin.0
-rw------- 1 vboxadd vboxsf 16777216 Dez 26 16:39 admin.ns
-rw------- 1 vboxadd vboxsf 16777216 Jan 17 05:23 config.0
-rw------- 1 vboxadd vboxsf 16777216 Jan 17 05:13 config.ns
drwx------ 2 vboxadd vboxsf 4096 Jan 17 05:23 diagnostic.data
drwx------ 2 vboxadd vboxsf 4096 Jan 17 05:23 journal
-rw------- 1 vboxadd vboxsf 16777216 Dez 20 05:01 local.0
-rw------- 1 vboxadd vboxsf 268435456 Jan 17 05:23 local.1
-rw------- 1 vboxadd vboxsf 16777216 Jan 17 05:23 local.ns
-rw------- 1 vboxadd vboxsf 2 Dez 20 05:01 mongod.lock
-rw------- 1 vboxadd vboxsf 16777216 Jan 17 05:23 rocketchat.0
-rw------- 1 vboxadd vboxsf 33554432 Jan 17 05:22 rocketchat.1
-rw------- 1 vboxadd vboxsf 67108864 Jan 17 05:12 rocketchat.2
-rw------- 1 vboxadd vboxsf 16777216 Jan 17 05:22 rocketchat.ns
-rw------- 1 vboxadd vboxsf 69 Sep 27 17:38 storage.bson
docker-compose logs -f liefert nach gefühlten 5 min durchlaufenden Text am Ende folgendes:
rocketchat | MongoNetworkError: failed to connect to server [mongo:27017] on first connect [Error: getaddrinfo ENOTFOUND mongo
rocketchat | at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:60:26) {
rocketchat | name: ‘MongoNetworkError’,
rocketchat | errorLabels: [Array],
rocketchat | [Symbol(mongoErrorContextSymbol)]: {}
rocketchat | }]
rocketchat | at Pool. (/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb-core/lib/topologies/server.js:431:11)
rocketchat | at Pool.emit (events.js:210:5)
rocketchat | at /app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb-core/lib/connection/pool.js:557:14
rocketchat | at /app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb-core/lib/connection/connect.js:39:11
rocketchat | at callback (/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb-core/lib/connection/connect.js:261:5)
rocketchat | at Socket. (/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb-core/lib/connection/connect.js:286:7)
rocketchat | at Object.onceWrapper (events.js:300:26)
rocketchat | at Socket.emit (events.js:210:5)
rocketchat | at emitErrorNT (internal/streams/destroy.js:92:8)
rocketchat | at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
rocketchat | at processTicksAndRejections (internal/process/task_queues.js:80:21) {
rocketchat | name: ‘MongoNetworkError’,
rocketchat | errorLabels: [ ‘TransientTransactionError’ ],
rocketchat | [Symbol(mongoErrorContextSymbol)]: {}
rocketchat | }
rocketchat | Tried 25 times. Waiting 5 secs…
rocketchat | /app/bundle/programs/server/node_modules/fibers/future.js:313
rocketchat | throw(ex);
rocketchat | ^
rocketchat |
rocketchat | MongoNetworkError: failed to connect to server [mongo:27017] on first connect [Error: getaddrinfo ENOTFOUND mongo
rocketchat | at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:60:26) {
rocketchat | name: ‘MongoNetworkError’,
rocketchat | errorLabels: [Array],
rocketchat | [Symbol(mongoErrorContextSymbol)]: {}
rocketchat | }]
rocketchat | at Pool. (/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb-core/lib/topologies/server.js:431:11)
rocketchat | at Pool.emit (events.js:210:5)
rocketchat | at /app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb-core/lib/connection/pool.js:557:14
rocketchat | at /app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb-core/lib/connection/connect.js:39:11
rocketchat | at callback (/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb-core/lib/connection/connect.js:261:5)
rocketchat | at Socket. (/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb-core/lib/connection/connect.js:286:7)
rocketchat | at Object.onceWrapper (events.js:300:26)
rocketchat | at Socket.emit (events.js:210:5)
rocketchat | at emitErrorNT (internal/streams/destroy.js:92:8)
rocketchat | at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
rocketchat | at processTicksAndRejections (internal/process/task_queues.js:80:21) {
rocketchat | name: ‘MongoNetworkError’,
rocketchat | errorLabels: [ ‘TransientTransactionError’ ],
rocketchat | [Symbol(mongoErrorContextSymbol)]: {}
rocketchat | }
rocketchat | Tried 26 times. Waiting 5 secs…
rocketchat-mongo exited with code 100
rocketchat exited with code 1
docker-compose logs -f | grep rocketchat-mongo liefert am Ende:
rocketchat-mongo | 2020-02-19T06:38:08.016+0000 I STORAGE [initandlisten] exception in initAndListen: Location12596: old lock file, terminating
rocketchat-mongo | 2020-02-19T06:38:08.016+0000 I NETWORK [initandlisten] shutdown: going to close listening sockets…
rocketchat-mongo | 2020-02-19T06:38:08.016+0000 I NETWORK [initandlisten] removing socket file: /tmp/mongodb-27017.sock
rocketchat-mongo | 2020-02-19T06:38:08.016+0000 I CONTROL [initandlisten] now exiting
rocketchat-mongo | 2020-02-19T06:38:08.016+0000 I CONTROL [initandlisten] shutting down with code:100
rocketchat-mongo | 2020-02-19T06:39:10.959+0000 I CONTROL [main] Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none’
rocketchat-mongo | 2020-02-19T06:39:10.979+0000 I CONTROL [initandlisten] MongoDB starting : pid=1 port=27017 dbpath=/data/db 64-bit host=4df9c2762073
rocketchat-mongo | 2020-02-19T06:39:10.980+0000 I CONTROL [initandlisten] db version v4.0.16
rocketchat-mongo | 2020-02-19T06:39:10.980+0000 I CONTROL [initandlisten] git version: 2a5433168a53044cb6b4fa8083e4cfd7ba142221
rocketchat-mongo | 2020-02-19T06:39:10.980+0000 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.2g 1 Mar 2016
rocketchat-mongo | 2020-02-19T06:39:10.980+0000 I CONTROL [initandlisten] allocator: tcmalloc
rocketchat-mongo | 2020-02-19T06:39:10.980+0000 I CONTROL [initandlisten] modules: none
rocketchat-mongo | 2020-02-19T06:39:10.980+0000 I CONTROL [initandlisten] build environment:
rocketchat-mongo | 2020-02-19T06:39:10.980+0000 I CONTROL [initandlisten] distmod: ubuntu1604
rocketchat-mongo | 2020-02-19T06:39:10.980+0000 I CONTROL [initandlisten] distarch: x86_64
rocketchat-mongo | 2020-02-19T06:39:10.980+0000 I CONTROL [initandlisten] target_arch: x86_64
rocketchat-mongo | 2020-02-19T06:39:10.981+0000 I CONTROL [initandlisten] options: { net: { bindIpAll: true }, replication: { oplogSizeMB: 128, replSet: “rs0” }, storage: { engine: “mmapv1”, mmapv1: { smallFiles: true } } }
rocketchat-mongo | 2020-02-19T06:39:10.984+0000 W STORAGE [initandlisten] Detected unclean shutdown - /data/db/mongod.lock is not empty.
rocketchat-mongo | 2020-02-19T06:39:10.984+0000 I STORAGE [initandlisten]
rocketchat-mongo | 2020-02-19T06:39:10.984+0000 I STORAGE [initandlisten] ** WARNING: Support for MMAPV1 storage engine has been deprecated and will be
rocketchat-mongo | 2020-02-19T06:39:10.984+0000 I STORAGE [initandlisten] ** removed in version 4.2. Please plan to migrate to the wiredTiger
rocketchat-mongo | 2020-02-19T06:39:10.984+0000 I STORAGE [initandlisten] ** storage engine.
rocketchat-mongo | 2020-02-19T06:39:10.984+0000 I STORAGE [initandlisten] ** See http://dochub.mongodb.org/core/deprecated-mmapv1
rocketchat-mongo | 2020-02-19T06:39:10.984+0000 I STORAGE [initandlisten]
rocketchat-mongo | 2020-02-19T06:39:11.034+0000 I STORAGE [initandlisten] **************
rocketchat-mongo | old lock file: /data/db/mongod.lock. probably means unclean shutdown,
rocketchat-mongo | but there are no journal files to recover.
rocketchat-mongo | this is likely human error or filesystem corruption.
rocketchat-mongo | please make sure that your journal directory is mounted.
rocketchat-mongo | found 4 dbs.
rocketchat-mongo | see: http://dochub.mongodb.org/core/repair for more information
rocketchat-mongo | *************
rocketchat-mongo | 2020-02-19T06:39:11.036+0000 I STORAGE [initandlisten] exception in initAndListen: Location12596: old lock file, terminating
rocketchat-mongo | 2020-02-19T06:39:11.036+0000 I NETWORK [initandlisten] shutdown: going to close listening sockets…
rocketchat-mongo | 2020-02-19T06:39:11.036+0000 I NETWORK [initandlisten] removing socket file: /tmp/mongodb-27017.sock
rocketchat-mongo | 2020-02-19T06:39:11.036+0000 I CONTROL [initandlisten] now exiting
rocketchat-mongo | 2020-02-19T06:39:11.036+0000 I CONTROL [initandlisten] shutting down with code:100
rocketchat-mongo exited with code 100
Hier wird ein “old lock file old lock file: /data/db/mongod.lock” angemeckert - meintest du das?
viele Grüße
Andreas