![]() Rocket.Chat may provide a longer period of support depending on the necessity, check the table below to. 1.3 is the latest release of major version 1.x before major version 2.0. Rocket.Chat provides support for 6 months to the latest releases of each major version, e.g. Having done this, rocketchat started again without any issue. Rocket.Chat provides support for, at least, 3 months for each release. In my case, I needed to remove the following indices: use rocketchatĭb.rocketchat_room.dropIndexes() remove problematic indices The solution here is to remove indices from the database and let rocketchat create them. app/bundle/programs/server/node_modules/fibers/future.js:313ĮrrorClass : [An error occurred when creating an index for collection "users: An equivalent index already exists with the same name but different options. MongoDB indicesĪnother error you may see is that rocketchat fails on altering indices after upgrade. Just be aware that you need to upgrade in supported version steps like 4.0 -> 4.2 -> 4.4 -> 5.0. Working on the system is a good starting point to upgrade mongoDB to a current release. MONGO_OPLOG_URL=mongodb://db:27017/local?replicaSet=rs0&directConnection=true connection strings Upgrade MongoDB The configurations might look like this: MONGO_URL=mongodb://db:27017/rocketchat?replicaSet=rs0&directConnection=true The important part is to append the query parameter directConnection=true to the connection string. You can spot that you're missing the configuration when the rocketchat logs show that the connection to the database has been closed unexpectedly. Upgrade your Rocket.Chat instance Step 1: Stop your existing Rocket.Chat system including all its services. With the current release of rocketchat, the connection strings slightly changed, which is luckily annotated by the devs in the release notes. Until now we've been running mongodb 4.2. While businesses have embraced digital communication platforms for building faster, agile connections with customers, governments have adapted considerably. Obviously we're running rocketchat within containers (actually this system is still running on a docker basis). ![]() Today we've received the upgrade to 5.0 and run into two errors. ![]() Rocket.Chat is free, unlimited and open source.We're running rocketchat and are upgrading daily on an automated basis with allowing even major version upgrades.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |