[Solved] Update Process of RC Docker does not work as described

Description

I am using RC 7.1.0 on Fedora and I would like to update.
So I follow the steps as described here: https://docs.rocket.chat/docs/deploy-with-docker-docker-compose

But that does not work. My RC still starts in version 7.1.0

Server Setup Information

  • Version of Rocket.Chat Server:
  • Operating System:
  • Deployment Method:
  • Number of Running Instances:
  • DB Replicaset Oplog:
  • NodeJS Version:
  • MongoDB Version:
  • Proxy:
  • Firewalls involved:

Any additional Information

I’m afraid you have told us almost nothing.

Deployment Method:

That would help…

How is it deployed at the minute. Docker? Another method?

What’s in your .env and compose file?

Have a good read here on how to ask well documented questions.

How to ask for help

Hi Reetp,

As my topic described, it is a docker instance.

In my .env-file, I defined the release to be RELEASE=7.3.0 since it is mentione the documentation, that there should always be a release leve not just “latest”.

Solved it.
Solution:

  1. Edit the .env-file to the desired Release.

  2. Edit the docker-compose.yml to the according version

services:                                                                                                                         
 5   rocketchat:                                                                                                                     
 6     image: registry.rocket.chat/rocketchat/rocket.chat:7.3.0                                                                      
 7     restart: always                                                                                                               
 8     labels:

Then follow the steps:

  1. Stop the docker
  2. rm the volume
  3. start it up again: docker: docker compose up -d rocketchat

Okay solved :slight_smile:

Glad you solved it.

Yes, you should NEVER use ‘latest’ unless you have a death wish, love nasty surprises, or are a developer.

Again I can’t stress enough the importance of giving as much information as possible when asking for help.

Note you should consider your mongo version - and what you will do about upgrading it in a docker container.