I have Proxmox server with my virtual machines. My CPU is Intel Pentium Gold G6400 - comparison, characteristics and benchmarks which supports AVX.
Ubuntu 20.04.4 is one of my VM where I have installed Rocket.chat as docker. This tutorial was applied to upgrade MongoDB - The Ultimate Guide: Upgrading RocketChat Deployed in Docker and Upgrading MongoDB
Mongo upgrade was made succesfully from 4.0->4.2 and 4.2->4.4 as well.
But when I tried to upgrade from 4.4->5.0 there were some errors.
Server Setup Information
- Version of Rocket.Chat Server: Version 4.7.2
- Operating System: Ubuntu server 20.04.4 LTS
- Deployment Method: docker
- Number of Running Instances: 1
- DB Replicaset Oplog: oplog Enabled)
- NodeJS Version: v14.18.3
- MongoDB Version: 4.4.14 / wiredTiger
- Proxy:
- Firewalls involved: no
I changed docker-compose.yml for image mongo:5.0 and create new docker. After that I tried to go inside docker
root@nxtc:/opt/rocketchat# docker exec -it rocketchat_mongo_1 bash
Error response from daemon: Container 764b5a5051f1247aeca43241b9d7a704c64c50d7b91f2f68317533776e170a66 is restarting, wait until the container is running
Log from container rocketchat_rocketchat_1
Exception in setInterval callback: MongoServerSelectionError: getaddrinfo EAI_AGAIN mongo
at Timeout._onTimeout (/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/core/sdam/topology.js:437:30)
at listOnTimeout (internal/timers.js:557:17)
at processTimers (internal/timers.js:500:7) {
reason: TopologyDescription {
type: 'Single',
setName: null,
maxSetVersion: null,
maxElectionId: null,
servers: Map(1) { 'mongo:27017' => [ServerDescription] },
stale: false,
compatible: true,
compatibilityError: null,
logicalSessionTimeoutMinutes: null,
heartbeatFrequencyMS: 10000,
localThresholdMS: 15,
commonWireVersion: 9
}
}
when I used
docker-compose down
and
docker-compose up -d
my rocketchat_rocketchat_1 has this log
/app/bundle/programs/server/node_modules/fibers/future.js:313
throw(ex);
^
MongoServerSelectionError: getaddrinfo EAI_AGAIN mongo
at Timeout._onTimeout (/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/core/sdam/topology.js:437:30)
at listOnTimeout (internal/timers.js:557:17)
at processTimers (internal/timers.js:500:7) {
reason: TopologyDescription {
type: 'Single',
setName: null,
maxSetVersion: null,
maxElectionId: null,
servers: Map(1) {
'mongo:27017' => ServerDescription {
address: 'mongo:27017',
error: Error: getaddrinfo EAI_AGAIN mongo
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:71:26) {
name: 'MongoNetworkError'
},
roundTripTime: -1,
lastUpdateTime: 12192833,
lastWriteDate: null,
opTime: null,
type: 'Unknown',
topologyVersion: undefined,
minWireVersion: 0,
maxWireVersion: 0,
hosts: [],
passives: [],
arbiters: [],
tags: []
}
},
stale: false,
compatible: true,
compatibilityError: null,
logicalSessionTimeoutMinutes: null,
heartbeatFrequencyMS: 10000,
localThresholdMS: 15,
commonWireVersion: null
}
}
Could not start Rocket.Chat. Waiting 5 secs...
What should I do?
I tried to change my Proxmox VM CPU settings to host but it does not help.
Thank you.