[Solved] Please help - How to update rocket.chat on Docker?


I followed the official documentation (https://rocket.chat/docs/installation/updating/#docker-installation) to upgrade Rocket.Chat (3.0.12) to the latest version, but the admin console says that I am still on 3.0.12.

I also followed the steps written here: https://rocket.chat/docs/installation/docker-containers/docker-compose/ changing develop to latest.

docker pull rocketchat/rocket.chat:latest
docker-compose stop rocketchat
docker-compose rm rocketchat
docker-compose up -d rocketchat

What do I need to do to upgrade from 3.0.12 to 3.1.0? Should I just restart the VM?

Thanks in advance for your help!

Server Setup Information

  • Version of Rocket.Chat Server: 3.0.12
  • Operating System: Debian
  • Deployment Method: Docker
  • Number of Running Instances: 1
  • DB Replicaset Oplog: Enabled
  • NodeJS Version:
  • MongoDB Version: 4.0
  • Proxy: nginx
  • Firewalls involved: ufw

Any additional Information

Pulling the image seems to have been done successfully.

I was not referring the proper image on docker-compose.yml


I changed image from rocket.chat:latest to rocketchat/rocket.chat:3.1.1 and it worked (To change rocketchat/rocket.chat:latest should work too).

So what I did was:

  • docker pull rocketchat/rocket.chat:3.1.1
  • Change the repository docker-compose.yml refers from rocket.chat:latest to rocketchat/rocket.chat:3.1.1
  • docker-compose stop rocketchat
  • docker-compose rm rocketchat
  • docker-compose up -d rocketchat

I hope this helps.

Please, help me!
If we upgrade just pulling this image, my data wil be lost? Sorry bout the noob question! LOL!

If you only pull the image, your data will not be lost.

For the official documentation about updating with docker-compose, consult: https://docs.rocket.chat/installation/docker-containers/docker-compose