&secct;2024-12-07

¶How to upgrade RockChat

  • [7.2.0])https://github.com/RocketChat/Rocket.Chat/releases/tag/7.1.0)

Engine versions Node: 20.18.0 MongoDB: 5.0, 6.0, 7.0 Apps-Engine: 1.48.1

  • h2Jammy.yushei.net
$ curl -L https://releases.rocket.chat/latest/download -o /tmp/rocket.chat.tgz
$ tar -xzvf /tmp/rocket.chat.tgz -C /tmp

$ fnm install v20.18.0

lexlai@h2Jammy:/tmp/bundle/programs/server$ fnm use v20.18.0
Using Node v20.18.0

alexlai@h2Jammy:/tmp/bundle/programs/server$ node --version
v20.18.0
alexlai@h2Jammy:/tmp/bundle/programs/server$ npm  --version
10.8.2

$ cd /tmp/bundle/programs/server && npm install

alexlai@h2Jammy:/tmp$ sudo mv /tmp/bundle/ /opt/Rocket.Chat-7.1.0
[sudo] password for alexlai: 
alexlai@h2Jammy:/tmp$ sudo chown -R rocketchat:rocketchat /opt/Rocket.Chat-7.1.0/

§2024-10-14

curl -L https://releases.rocket.chat/latest/download -o /tmp/rocket.chat.tgz

tar -xvzf /tmp/rocket.chat.tgz -C /tmp

cd /tmp/bundle/programs/server && npm install

sudo mv /tmp/bundle /opt/Rocket.Chat-x.y.z

sudo chown -R rocketchat:rocketchat /opt/Rocket.Chat-x.y.z

§Update Notes

  • 2024-11-02 you have to use node 20.17.0 and npm 10.8.2 to upgrade to 7.0.0, else will err.
Return to Top