Upgrade path from v1.2.1 to v2.4.0

Description

I want to upgrade my installation from 1.2.1 to 2.4.0.

Can I do that directly or first upgrade to the latest 1.x (which seems to be 1.3.2), then 2.0.1, then 2.4.0?

Or do I even need to go from 1.2.1 → 1.3.2 → 2.0.1 → 2.1.3 → 2.2.1 → 2.3.2 → 2.4.0?

Would I have to upgrade MongoDB from 3.4 to 3.6 first or should I do that later?

Server Setup Information

  • Version of Rocket.Chat Server: 1.2.1
  • Operating System: Linux
  • Deployment Method: bare metal

I`m on 1.2.0 and would like to do the same thing. Following.

our network operation center did it like this:

  • stop all docker containers
  • upgrade MongoDB to next 3.x
  • stop MongoDB, start. If successful: docker exec -it root_mongo_1 bash -c 'mongo --eval "db.adminCommand( { setFeatureCompatibilityVersion: \"3.x\" } )"'
  • as soon as MongoDB is on 3.6, upgrade the Rocket.chat docker container step by step as described in my OP.
1 Like