Rocket.Chat ships updates frequently to introduce new capabilities, fix bugs, and in some cases address potential security issues. Each of these updates improves Rocket.Chat to provide valuable and secure capabilities to our users.
Workspace admins should monitor new releases and our release notes here to determine whether updates should be applied to their workspace. We recommend that workspaces are kept current with Rocket.Chat releases.
Assuming you followed our installation guide on installing with Docker and Docker Compose, to update the
rocketchatdocker image to the latest version, you can use the following commands. Your data should not be affected by this, since it's located in the
docker pull registry.rocket.chat/rocketchat/rocket.chat:latest
docker-compose stop rocketchat
docker-compose rm rocketchat
docker-compose up -d rocketchat
The Rocket.Chat snap installation puts you on the
latesttrack at the time of installation, which means you will always get the latest releases on that track.
Before performing a major version update, it is recommended to check our forum's announcement section: https://forums.rocket.chat/c/announcements/10 as major releases are usually delayed by a couple of weeks. This happens so that feedback is gotten and minor patches are made before pushing out.
You can force an update by running:
sudo snap refresh rocketchat-server
Switching to a particular track is done by executing the following command. You will only receive updates relating to this track.
sudo snap switch rocketchat-server --channel=x.x/stable
Besides the latest track, there is also stable, candidate and edge.
To update to a new version, execute
sudo snap refresh rocketchat-server --channel=x.x.x/stable
To update your Rocket.Chat Digital Ocean Droplet:
- 1.Update the update tool:
sudo rocketchatctl upgrade-rocketchatctl
- 2.Update Rocket.Chat:
sudo rocketchatctl update
- 3.The server is broken and doesn’t start, because it requires Nodejs 14.x.x Install it:
sudo apt-get -y update && sudo apt-get install -y curl && curl -sL https://deb.nodesource.com/setup_14.x | sudo bash setup_14.x
sudo apt-get install -y nodejsIf you face any errors with installing the node, reboot your system and you’ll be able to continue with the next steps.
- 4.If it is not updated already, change the path to new nodejs in the service config:
sudo nano /lib/systemd/system/rocketchat.serviceIn the line beginning with “ExecStart=” replace “/usr/local/bin/node” with “/usr/bin/node”
- 5.Reload the service and start the server:
sudo systemctl daemon-reload
sudo systemctl restart rocketchat.service
- 6.Check that it’s running:
sudo systemctl status rocketchat.service
Other important topics concerning updates can be found here.