Rocket.Chat's Community Open Call 🎤 Jan 19th, 2022 Join us!

Upgrading procedures from 3.2.1 to 4.2.2

Hello, I’m trying to upgrade from 3.2.1 to 4.2.2. What’s the correct way to do this?

I’m running 3.2.1 on centos 7.9 and the mongodb version is 4.0.27


I would suggest you into looking into docker compose deployments, and considering not only upgrading, but moving to this deployment method.

It’s easier to maintain.

You will basically need to dump the database and restore at the same version in a docker deployment and if using file system as storage for uploads, copy the files to the path configured.

Then, just changing the docker-compose.yml to the latest version (4.2.2 as of now)

Please, always do a backup before migrating, and make sure to test all the steps.