Upgrading to 3.0.0

In case anyone needs this:

How to upgrade the DigitalOcean Rocket.Chat droplet to 3.0.2

  1. Install the droplet as usual (if you’re already using it, that’s ok too).

  2. Upgrade the update tool:
    sudo rocketchatctl upgrade-rocketchatctl

  3. Upgrade Rocket.Chat:
    sudo rocketchatctl update

  4. The server is broken, doesn’t start, because it requires Nodejs 12.x
    Install it:
    sudo apt-get -y update && sudo apt-get install -y curl && curl -sL https://deb.nodesource.com/setup_12.x | sudo bash -
    sudo apt-get install -y nodejs

  5. Change the path to new nodejs in the service config:
    sudo nano /lib/systemd/system/rocketchat.service
    In the line beginning with “ExecStart=” replace “/usr/local/bin/node” with “/usr/bin/node”

  6. Reload the service and start the server:
    sudo systemctl daemon-reload
    sudo systemctl restart rocketchat.service

  7. Check that it’s running:
    sudo systemctl status rocketchat.service

2 Likes