In case anyone needs this:
How to upgrade the DigitalOcean Rocket.Chat droplet to 3.0.2
-
Install the droplet as usual (if you’re already using it, that’s ok too).
-
Upgrade the update tool:
sudo rocketchatctl upgrade-rocketchatctl
-
Upgrade Rocket.Chat:
sudo rocketchatctl update
-
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
-
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” -
Reload the service and start the server:
sudo systemctl daemon-reload
sudo systemctl restart rocketchat.service
-
Check that it’s running:
sudo systemctl status rocketchat.service