Rocket.chat: How to upgrade a 2.* version to 3.* version?

Created on 10 Mar 2020  路  9Comments  路  Source: RocketChat/Rocket.Chat

I want to upgrade 2.4.11 to 3.*锛宑ould you give me a hand?

Most helpful comment

sudo snap refresh rocketchat-server --channel=3.x/stable --classic
Just did upgrade from 2.4.11 to 3.0.10 without problem.
Recommend to backup anyway.

All 9 comments

Hello @564064202,

what installation do you use? Non-docker?

If yes:
https://rocket.chat/docs/installation/updating/

I would prefer that way:

  • mongodump --out /opt/backups/rocketchatbackup
  • mv /opt/Rocket.Chat/ /opt/backup
  • systemctl stop rocketchat.service
  • curl -L https://releases.rocket.chat/latest/download -o /tmp/rocket.chat.tgz
  • tar -xzf /tmp/rocket.chat.tgz -C /tmp
  • cd /tmp/bundle/programs/server && npm install
  • sudo mv /tmp/bundle /opt/Rocket.Chat
  • cd /opt/
  • chown -R rocketchat:rocketchat Rocket.Chat/
  • systemctl start rocketchat.service

That should do it.

Docker is much simplier but not needed I guess :)

Yours,
Mathias

thank you ,but I use snap ,how to upgrade?

@564064202

https://rocket.chat/docs/installation/manual-installation/ubuntu/snaps/

sudo snap refresh rocketchat-server

my version is 2.4.11,but this command result is:
_snap "rocketchat-server" has no updates available._
I used the default install command 锛歘sudo snap install rocketchat-server_
锛宐ut how to upgrade to 3.*

@564064202 there is no package yet for version 3.

I just tried in on a fresh installed vagrant box on ubuntu 18.04.

You have to wait till it become available.

So you can close this ticket and just wait.

Thank you every much ,but could you tell me what's the diffrence between 2.* and 3.*

@564064202 ,
https://github.com/RocketChat/Rocket.Chat/releases

You can see the changes there. :)

Just read the changelogs.

@talheim-it thank you.
"I just tried in on a fresh installed vagrant box on ubuntu 18.04."
sir ,when you finish it,please tell me .bye....

sudo snap refresh rocketchat-server --channel=3.x/stable --classic
Just did upgrade from 2.4.11 to 3.0.10 without problem.
Recommend to backup anyway.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

djeber picture djeber  路  3Comments

tanc picture tanc  路  3Comments

Buzzele picture Buzzele  路  3Comments

lunitic picture lunitic  路  3Comments

royalaid picture royalaid  路  3Comments