Windows Server
Rocket.Chat Windows Installation Guide
Last updated
Rocket.Chat Windows Installation Guide
Last updated
Note: This is a community supported installation method. You can discuss about this in the .
The following guide will step through the various steps for installing Rocket.Chat on Windows Server 2012 R2.
Important: Production deployment using any client versions of Windows, such as Windows 7, 8, or 10 is not supported. However, beta deployment for Windows 10 Pro (or Enterprise or Education) version is available via Docker for Windows see .
Mobile clients (iOS and Android) are currently not supported using this method of deployment. However, based deployment should support mobile clients.
Note: The steps will include all dependencies. If a particular dependency has already been installed, please skip to any relevant configuration section.
To start, go to Control Panel -> Programs and Features
and uninstall each of the following (if present):
Microsoft Visual C++ 2010 x64 Redistributable
Microsoft Visual C++ 2010 x86 Redistributable
Then, download and install each of the following in order:
(if you have Python 3.x already installed, just leave it, both can coexist)
or Visual Studio 2010
(Optional for PDF rendering)
Run the installer and choose Custom
Click the Browse
button to select desired install path, such as C:\MongoDB
Continue through the rest of the installer.
Now open NotePad and enter the following, replacing [Data Path] with where the database will be stored, such as C:\MongoDB\data
Save the file as [Installation Path]\mongod.cfg
where [Installation Path] is the location you installed Mongo
Open the Command Prompt by pressing Windows Key + R
and then entering cmd
, right click on Command Prompt and select Run as administrator
Now enter the following:
Note: Do not include the
>
Download the latest Rocket.Chat Windows Release from the Rocket.Chat releases page (not available anymore)
Place the files in the desired install path, such as C:\RocketChat
As of the time of this writing, Rocket.Chat is built on top of Node.js v14.0.0. So we need to install this first.
Run the installer with all default options.
Open the Windows SDK 7.1 Command Prompt by pressing Start, typing its name, and clicking on it in the search results (Note: It needs to be the SDK Command Prompt)
Now enter the following, replacing:
[Installation Path] with the location you placed the Rocket.Chat files
[Port to Use] with the port for the Rocket.Chat server to use, such as 3000
[Rocket.Chat URL] with the URL you will use for Rocket.Chat, such as rocketchat.example.com
[Address to MongoDB] with the IP Address of your MongoDB. (NOTE: If you didn't install Mongo on another computer, use localhost
)
[MongoDB Database] with the name of the database you would like to use, such as rocketchat
View the installed services by pressing Windows Key + R
and then entering services.msc
Find Rocket.Chat
in the list. Its status should be Running
Open a browser and, in the address bar, enter http://localhost:[Port Used]
Rocket.Chat should load.
In order to use Rocket.Chat on mobile devices, you must also configure your installation to support SSL with a valid certificate.
The following steps will detail integrating Rocket.Chat with IIS.
Open IIS, click on your server, and then click on Get New Web Platform Components
in the right hand menu
Install the Web Platform Installer if prompted
Once open, search for Routing
in the upper right search box
Click on the Add
button for Application Request Routing 3.0 and then Install
Once ARR and UrlRewrite are installed, close and reopen IIS
Click on your server in the left menu and then click on Server Certificates
In the right hand menu, click on Import...
Find your SSL Certificate and enter your password
Click Ok
Create a new Web Site and bind it to the [Rocket.Chat Url] previously specified.
NOTE: If you plan on using the Rocket.Chat mobile apps, you must use HTTPS. HTTP is optional only for PCs
For the physical path, point it to an empty folder in your webroot. (Note: There will be no default document here, just the web.config.)
Press Ok
Select the new Rocket.Chat site and click on Url Rewrite
In the upper right hand menu, select Add Rule(s)...
and then Reverse Proxy
Enter http://localhost:[Port Used]
in the top box and hit Ok
(Note: This must remain HTTP even if you are using HTTPS)
If the Rocket.Chat service isn't running, check the Event Viewer under Windows Logs\Application
for errors from the Rocket.Chat service.
If the page didn't load, check the log files in [Data Path]\logs for clues.
Download . (Note: This can be done on a separate computer)
Using an archive utility such as or , extract the tar.gz file
Download
Note: If missing, rocket.service.js can be found Note: Do not include the >
If that doesn't help, or if you had any other problems during the process, try searching our
If you are still having problems, visit the channel and we'll be happy to help.