воскресенье, 8 сентября 2019 г.

RocketChat upgrade from 0.X.X to 1.3.2 version

https://rocket.chat/docs/installation/manual-installation/mongo-replicas/
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


Комментариев нет:

Отправить комментарий