rocketChat Mongo bootloop

1b68d13ed32c        docker.software-univention.de/rocketchat-mongo:3.18.2        "docker-entrypoint.s…"   6 minutes ago       Restarting (62) 38 seconds ago                                                    rocketchat_mongo_1

2022-02-09T16:38:04.426+0000 I CONTROL  [main] Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'
2022-02-09T16:38:04.429+0000 I CONTROL  [initandlisten] MongoDB starting : pid=1 port=27017 dbpath=/data/db 64-bit host=1b68d13ed32c
2022-02-09T16:38:04.429+0000 I CONTROL  [initandlisten] db version v4.0.19
2022-02-09T16:38:04.429+0000 I CONTROL  [initandlisten] git version: 7e28f4296a04d858a2e3dd84a1e79c9ba59a9568
2022-02-09T16:38:04.429+0000 I CONTROL  [initandlisten] OpenSSL version: OpenSSL 1.0.2g  1 Mar 2016
2022-02-09T16:38:04.429+0000 I CONTROL  [initandlisten] allocator: tcmalloc
2022-02-09T16:38:04.429+0000 I CONTROL  [initandlisten] modules: none
2022-02-09T16:38:04.429+0000 I CONTROL  [initandlisten] build environment:
2022-02-09T16:38:04.429+0000 I CONTROL  [initandlisten]     distmod: ubuntu1604
2022-02-09T16:38:04.429+0000 I CONTROL  [initandlisten]     distarch: x86_64
2022-02-09T16:38:04.429+0000 I CONTROL  [initandlisten]     target_arch: x86_64
2022-02-09T16:38:04.429+0000 I CONTROL  [initandlisten] options: { net: { bindIpAll: true }, replication: { oplogSizeMB: 128, replSet: "rs0" }, storage: { engine: "mmapv1", mmapv1: { smallFiles: true } } }
2022-02-09T16:38:04.429+0000 I STORAGE  [initandlisten] 
2022-02-09T16:38:04.429+0000 I STORAGE  [initandlisten] ** WARNING: Support for MMAPV1 storage engine has been deprecated and will be
2022-02-09T16:38:04.429+0000 I STORAGE  [initandlisten] **          removed in version 4.2. Please plan to migrate to the wiredTiger
2022-02-09T16:38:04.429+0000 I STORAGE  [initandlisten] **          storage engine.
2022-02-09T16:38:04.429+0000 I STORAGE  [initandlisten] **          See http://dochub.mongodb.org/core/deprecated-mmapv1
2022-02-09T16:38:04.429+0000 I STORAGE  [initandlisten] 
2022-02-09T16:38:04.443+0000 I JOURNAL  [initandlisten] journal dir=/data/db/journal
2022-02-09T16:38:04.443+0000 I JOURNAL  [initandlisten] recover : no journal files present, no recovery needed
2022-02-09T16:38:04.468+0000 I JOURNAL  [durability] Durability thread started
2022-02-09T16:38:04.468+0000 I JOURNAL  [journal writer] Journal writer thread started
2022-02-09T16:38:04.476+0000 I CONTROL  [initandlisten] 
2022-02-09T16:38:04.476+0000 I CONTROL  [initandlisten] ** WARNING: Access control is not enabled for the database.
2022-02-09T16:38:04.476+0000 I CONTROL  [initandlisten] **          Read and write access to data and configuration is unrestricted.
2022-02-09T16:38:04.477+0000 I CONTROL  [initandlisten] 
2022-02-09T16:38:04.485+0000 F CONTROL  [initandlisten] ** IMPORTANT: Collection rocketchat.rocketchat_apps_persistence is missing an UUID. We expect all collections to have UUIDs starting in FCV 3.6. Please make sure the FCV is version 3.6 before attempting an upgrade to 4.0; see http://dochub.mongodb.org/core/4.0-upgrade-fcv for more details. If the FCV is already 3.6, please try --repair with a 3.6 binary or initial sync to fix the data files.
2022-02-09T16:38:04.485+0000 I NETWORK  [initandlisten] shutdown: going to close listening sockets...
2022-02-09T16:38:04.485+0000 I NETWORK  [initandlisten] removing socket file: /tmp/mongodb-27017.sock
2022-02-09T16:38:04.485+0000 I REPL     [initandlisten] shutting down replication subsystems
2022-02-09T16:38:04.485+0000 W REPL     [initandlisten] ReplicationCoordinatorImpl::shutdown() called before startup() finished.  Shutting down without cleaning up the replication system
2022-02-09T16:38:04.485+0000 I STORAGE  [initandlisten] shutdown: waiting for fs preallocator...
2022-02-09T16:38:04.485+0000 I STORAGE  [initandlisten] shutdown: final commit...
2022-02-09T16:38:04.485+0000 I JOURNAL  [initandlisten] journalCleanup...
2022-02-09T16:38:04.485+0000 I JOURNAL  [initandlisten] removeJournalFiles
2022-02-09T16:38:04.486+0000 I JOURNAL  [initandlisten] old journal file /data/db/journal/j._0 will be reused as /data/db/journal/prealloc.0
2022-02-09T16:38:04.486+0000 I JOURNAL  [initandlisten] Terminating durability thread ...
2022-02-09T16:38:04.588+0000 I JOURNAL  [journal writer] Journal writer thread stopped
2022-02-09T16:38:04.588+0000 I JOURNAL  [durability] Durability thread stopped
2022-02-09T16:38:04.588+0000 I STORAGE  [initandlisten] shutdown: closing all files...
2022-02-09T16:38:04.589+0000 I STORAGE  [initandlisten] closeAllFiles() finished
2022-02-09T16:38:04.589+0000 I STORAGE  [initandlisten] shutdown: removing fs lock...
2022-02-09T16:38:04.589+0000 I CONTROL  [initandlisten] now exiting
2022-02-09T16:38:04.589+0000 I CONTROL  [initandlisten] shutting down with code:62

So what exactly do you want from this post? Help advice, a nice log dump, some general chat, … ? :wink:
As the problem seems to be a problem with the Rocket.Chat mongoDB and the app is provided by Rocket.Chat you could also try their forum, from my perspective it looks like there is a solution given within the logs:

Therefore I would try to repair with something like docker exec 1b68d13ed32c mongod --repair

Best regards
Jan-Luca

Hi Jan-Luca,

first, thx for your quick response :+1:

Hmm, at least reporting, that some of the images/containers (or the upgrade path) are broken - ill guess the 2nd one :wink:
Than in hope that this issue is known, maybe there is also a solution known :wink:

As the topic said boot loop, there is no chance to get on or into the container

Error response from daemon: Container 1b68d13ed32c59797d1789994a9927e790ecb80bc9a363aee83511af6b3c9e29 is restarting, wait until the container is running

Thanks a lot,
best,
meg

Hey,

I have heard no reports of a general broken update, so hopefully we can fix this in your case and everything stays working afterwards.

In that case I would try to stop to app and reinitialize it via univention-app - If the problem happens again with a new container you rocketchat database may be corrupted.

Best regards
Jan-Luca

Mastodon