Question

How to Upgrade my Rocket.Chat Droplet?

I noticed that on the DO Marketplace that RocketChat is at 5.07

https://marketplace.digitalocean.com/apps/rocket-chat

I installed this via teh “Create Rocket.Chat” Droplet 1 click.

Everything seemed to work well.

When I launched my RocketChat is says I’m on version 5.06 via the Admin Info page in Rocketchat.

Deployment

Version 5.0.6

Deployment ID 7nWQCAJsN7XfZagJ7

Apps Engine Version 1.33.0

Node Version v14.19.3

Database Migration 279 (November 28, 2022 11:25 AM)

MongoDB 5.0.12 / wiredTiger (oplog Enabled)

I went to the CONSOLE in DO and ran the command rocketchatctl check-updates and it said that latest version is 5.3.3

How can I update my droplet to use the latest version?


Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

KFSys
Site Moderator
Site Moderator badge
November 28, 2022
Accepted Answer

Hi @c0a35a520ad745a68caf5e86d2a69,

Usually you can update Rocket.Chat server pretty easily.

  1. Stop Rocket.Chat service:
sudo systemctl stop rocketchat
  1. Remove the installation folder, usually in /opt:
  1. sudo rm -rf /opt/Rocket.Chat
  1. Make sure you have the needed build packages
  1. sudo apt-get install -y build-essential graphicsmagick
  1. Download Rocket.Chat latest version:
  1. curl -L https://releases.rocket.chat/latest/download -o /tmp/rocket.chat.tgz
  2. tar -xzf /tmp/rocket.chat.tgz -C /tmp
  1. Install it and set right permissions to Rocket.Chat folder:
  1. cd /tmp/bundle/programs/server && npm install
  2. sudo mv /tmp/bundle /opt/Rocket.Chat
  3. sudo chown -R rocketchat:rocketchat /opt/Rocket.Chat
  1. Start the service:
  1. sudo systemctl start rocketchat

More about that here:

https://docs.rocket.chat/deploy/updating-rocket.chat

In the above you can see how to update your RocketChat using **Docker **or with SNAP.

Additionally, just to be sure create a snapshot before the Upgrade process in case something breaks.

https://docs.digitalocean.com/products/images/snapshots/

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Become a contributor for community

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

DigitalOcean Documentation

Full documentation for every DigitalOcean product.

Resources for startups and SMBs

The Wave has everything you need to know about building a business, from raising funding to marketing your product.

Get our newsletter

Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.

New accounts only. By submitting your email you agree to our Privacy Policy

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.