Default docker deployment with rocker.server v7 (7.2.2 and 7.3.1 tested) is super slow on each API request = approx 7-12 seconds to response.
Checked same configuration on v6 and it does work properly without any issue.
Nothing wrong in logs seems to me and storage is now local SSD.
LocalStore: store created at
LocalStore: store created at
LocalStore: store created at
{"level":40,"time":"2025-02-15T07:38:16.227Z","pid":1,"hostname":"5bf00cf20b15","name":"VoIPAsteriskService","msg":"Voip is not enabled. Cant start the service"}
{"level":51,"time":"2025-02-15T07:38:16.252Z","pid":1,"hostname":"5bf00cf20b15","name":"Migrations","msg":"Not migrating, already at version 318"}
[2025-02-15T07:38:16.261Z] INFO 0f673441-ee1f-4d80-b55a-d94dcc4235eb/BROKER: Moleculer v0.14.35 is starting...
[2025-02-15T07:38:16.262Z] INFO 0f673441-ee1f-4d80-b55a-d94dcc4235eb/BROKER: Namespace: <not defined>
[2025-02-15T07:38:16.262Z] INFO 0f673441-ee1f-4d80-b55a-d94dcc4235eb/BROKER: Node ID: 0f673441-ee1f-4d80-b55a-d94dcc4235eb
[2025-02-15T07:38:16.263Z] INFO 0f673441-ee1f-4d80-b55a-d94dcc4235eb/REGISTRY: Strategy: RoundRobinStrategy
[2025-02-15T07:38:16.263Z] INFO 0f673441-ee1f-4d80-b55a-d94dcc4235eb/REGISTRY: Discoverer: LocalDiscoverer
[2025-02-15T07:38:16.265Z] INFO 0f673441-ee1f-4d80-b55a-d94dcc4235eb/BROKER: Serializer: EJSONSerializer
[2025-02-15T07:38:16.271Z] INFO 0f673441-ee1f-4d80-b55a-d94dcc4235eb/BROKER: Validator: FastestValidator
[2025-02-15T07:38:16.273Z] INFO 0f673441-ee1f-4d80-b55a-d94dcc4235eb/BROKER: Registered 13 middleware(s).
[2025-02-15T07:38:16.274Z] INFO 0f673441-ee1f-4d80-b55a-d94dcc4235eb/BROKER: Transporter: TcpTransporter
{"level":51,"time":"2025-02-15T07:38:16.293Z","pid":1,"hostname":"5bf00cf20b15","name":"DatabaseWatcher","msg":"Using change streams"}
[2025-02-15T07:38:16.299Z] INFO 0f673441-ee1f-4d80-b55a-d94dcc4235eb/TRANSIT: Connecting to the transporter...
[2025-02-15T07:38:16.319Z] INFO 0f673441-ee1f-4d80-b55a-d94dcc4235eb/TRANSPORTER: TCP server is listening on port 38679
[2025-02-15T07:38:16.319Z] INFO 0f673441-ee1f-4d80-b55a-d94dcc4235eb/TRANSPORTER: UDP Discovery is disabled.
[2025-02-15T07:38:16.319Z] INFO 0f673441-ee1f-4d80-b55a-d94dcc4235eb/TRANSPORTER: TCP Transporter started.
{"level":51,"time":"2025-02-15T07:38:16.671Z","pid":1,"hostname":"5bf00cf20b15","name":"License","msg":"License installed","version":"3.0","hash":"O3XdD1N0"}
ufs: temp directory created at "/tmp/ufs"
[2025-02-15T07:38:16.828Z] INFO 0f673441-ee1f-4d80-b55a-d94dcc4235eb/REGISTRY: '$node' service is registered.
[2025-02-15T07:38:16.829Z] INFO 0f673441-ee1f-4d80-b55a-d94dcc4235eb/REGISTRY: 'matrix' service is registered.
[2025-02-15T07:38:16.830Z] INFO 0f673441-ee1f-4d80-b55a-d94dcc4235eb/$NODE: Service '$node' started.
[2025-02-15T07:38:16.830Z] INFO 0f673441-ee1f-4d80-b55a-d94dcc4235eb/MATRIX: Service 'matrix' started.
[2025-02-15T07:38:16.830Z] INFO 0f673441-ee1f-4d80-b55a-d94dcc4235eb/BROKER: âś” ServiceBroker with 2 service(s) started successfully in 541ms.
+--------------------------------------------+
| SERVER RUNNING |
+--------------------------------------------+
| |
| Rocket.Chat Version: 7.3.1 |
| NodeJS Version: 22.14.0 - x64 |
| MongoDB Version: 6.0.13 |
| MongoDB Engine: wiredTiger |
| Platform: linux |
| Process Port: 3000 |
| Site URL: https://chat.my.dom |
| ReplicaSet OpLog: Enabled |
| Commit Hash: 6a2724740a |
| Commit Branch: HEAD |
| |
+--------------------------------------------+
{"level":51,"time":"2025-02-15T07:38:28.412Z","pid":1,"hostname":"5bf00cf20b15","name":"License","msg":"License installed","version":"3.0","hash":"x7MO8UVQ"}
It seems i figured it out. I am using just local storage. Later i’ll switch into MinIO. I realized mongodb was in traefik_proxy network instead of chat_internal. As rocketchat service is in both but chat_internal has as the main. Probably in v7 there is different dns resolve or something like that and it timeouts resolving mongo in different network.
However in v6 it worked well. And what is strange too is when i have set networks correctly and switched to mongo 7 it started to be slow again ;o)
Anyway now i am running mongo v6 and rocketchat v7 and it works well!!
Actually this was ok but mongodb was in traefik_proxy instead of chat_internal. That was the problem. Why it has problem with mongo v7 i still don’t know. But it works with v6 so i’ll leave it ;o)
And finally i’ve figured it out with mongo version. All the problems were connected to the os version. Initially i’ve tested it on Ubuntu 22.04 LTS and it seems after upgrading to 24.04 LTS it starts to work correctly. Probably it was connected to mongo and it’s dependencies (even 22.04 is offically supported for version 7).