Comment on page
Deploy with Snaps
Effective December 6, 2023, Rocket.Chat will cease support for connections from cloud services and official mobile/desktop apps to workspaces running legacy versions outside our support window. Users on unsupported legacy servers are advised to upgrade to the latest Rocket.Chat version to ensure continued access to cloud, mobile, and desktop applications. Each Rocket.Chat version is supported for six months post-release.
Snaps are a convenient way to rapidly deploy a Rocket.Chat instance for development or discovery purposes. We do not recommend snaps for managing production environment.
Installing software on Linux can now be done easily with the use of Snaps. They are self-contained packages with all necessary files and dependencies, ensuring easy installation and updates. Deploying Rocket.Chat with Snaps offers seamless deployment on any Linux distribution, providing a secure and isolated workspace. It also auto-updates when a new version of Rocket.Chat is released.
In this guide, you'll learn how to:
- A Linux-based system (Ubuntu, Debian, Fedora, etc.)
- AVX/AVX2 supported CPU to run Mongo 5.0 for Rocket.Chat workspaces on version 6.0 & above.
- To install Rocket.Chat with snap on Ubuntu, run the following command:
sudo snap install rocketchat-server
This command installs the latest available version on Rocket.Chat. You can also specify the installation by track.
Moving Between Major Releases
With Snap tracks, you can smoothly transition between major releases of Rocket.Chat (from 2.x to 3.x or from 3.x to 4.x). These tracks enable you to remain on a specific release while receiving updates exclusively for that particular track. For instance, you can confidently switch to a new major release with the following command:
sudo snap switch rocketchat-server --channel=4.x/stable
Snap tracks allow you to keep your Rocket.Chat server up-to-date with the latest features while choosing your preferred release version.
Configuring Rocket.Chat with Snaps
- To see the list of snap variables to configure for your Rocket.Chat server, run the following command:
snap get rocketchat-server
It displays a list of values like this:
- To set any of the variables, run this command:
sudo snap set rocketchat-server <variable-name>=<value>
From track 4.x, you can configure your MongoDB. The configuration file is located in