add replica to config file /etc/mongodb.conf
replication:
replSetName: "rs01"
systemctl restart mongod
mongo >
rs.initiate()
Note “ok” value should be 1 in result output
Add this to the Environment line:export MONGO_OPLOG_URL=mongodb://localhost:27017/local?replSet=rs01
to /etc/init.d/rocketchat in my case
Reload systemd state and restart Rocket.Chat:
systemctl daemon-reload && systemctl restart rocketchat
If you use mongo authentication you have to add roles
If you stuck with 147 migration https://github.com/RocketChat/Rocket.Chat/issues/15171
Комментариев нет:
Отправить комментарий