Comments on How to Install Rocket.Chat Server with Nginx on Ubuntu 16.04

In this tutorial, I will show you how to build your own chat server using Rocket.Chat. I will use the latest Ubuntu LTS 16.04 server for the installation and Nginx as reverse proxy for the Rocket.Chat application. Rocket.Chat is a free and open source online chat solution for team communication, it allows you to build your own slack like online chat.

12 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Mauricio Navarro Miranda

Did you had any issues with rocket.chat websockets?

By: shindc

192.168.1.110  what is mean? your IP or server IP? I don't understand. Please give an explain.

By: s

man thanks for the effort but this Tuto is not working for me ... did anyone succeed setting up following this

By: Vasilis

I set it up and worked. Thanks. I use pm2 to automate the node main.js

Thanks

 

By: JoeWorker

Step 3:

"Make sure the 'ok' value is 1. If the result is another number, then this means that something is wrong."

Mine shows "0"... So somethings wrong.

Whats wrong 0_o ??

By: no

At the end of STEP 3, when doingexport LC_ALL=Cmongors.initiate()I get:mongo MongoDB shell version: 3.2.12 connecting to: test 2017-03-28T13:58:10.974-0400 W NETWORK [thread1] Failed to connect to 127.0.0.1:27017, in(checking socket for error after poll), reason: errno:111 Connection refused 2017-03-28T13:58:10.974-0400 E QUERY [thread1] Error: couldn't connect to server 127.0.0.1:27017, connection attempt failed : connect@src/mongo/shell/mongo.js:229:14 @(connect):1:6 exception: connect failed

By: Dinesh

works fine. can we run this using forever to run it in background.

By: AL

Perfect !  without any errors ! Thank you very much !

By: Aaron Ogle

Those reading the article... please make sure to refer to official docs: https://rocket.chat/docs

Please remove this recommendation from your article:

Add a "#" at the beginning of line 24 to disable MongoDB running on the localhost IP only.

 

net:    port: 27017    #bindIp: 127.0.0.1

 

By doing this you are recommending people expose their server to the entire internet.  Making it extremely easy for some hacker with an automated script to find your mongo server and hold it for ransomeware.

Instead please walk them through finding out their local ip.  Via something like ifconfig and simply adding it to that line.  Something like this:

net:    port: 27017    bindIp: 127.0.0.1,10.16.1.5

This restricts to only bind on loopback "127.0.0.1" and "10.16.1.5" the local area network connection.

By: Alfredo

It is missing the websockets configuration for it to work with newest + app

By: dan

Hi There,

nice tut, thanks man.

 

One Question: I try to access my domain via LAN Client and it says: domain not found ERR_NAME_NOT_RESOLVED

How can I reach my domain inside LAN? 

 

Thanks

By: wall

 curl -L https://rocket.chat/releases/latest/download -o rocket.chat.tgz  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current                                 Dload  Upload   Total   Spent    Left  Speed100   162  100   162    0     0    109      0  0:00:01  0:00:01 --:--:--   109100   461  100   461    0     0    234      0  0:00:01  0:00:01 --:--:--   234

 

tar -xzvf rocket.chat.tgzgzip: stdin: not in gzip formattar: Child returned status 1tar: Error is not recoverable: exiting now

What wrong?