Chatplus installation errors

I decided to start a new thread regarding installing Chat+ as it was getting a little messy.

 

Basically I managed to get to the following command before an error occured:

https://github.com/boonex/dolphin.pro/wiki/ChatPlus-Installation-Instructions-(Ubuntu-with-Apache)

 

node main.js

 

The error below shows:

 

rmsuser@vps321288:~/bundle$ sudo node main.js

/home/rmsuser/bundle/programs/server/node_modules/fibers/future.js:280

                                                throw(ex);

                                                ^

 

Error: MONGO_URL must be set in environment

    at Object.<anonymous> (packages/mongo/remote_collection_driver.js:36:11)

    at Object.defaultRemoteCollectionDriver (packages/underscore.js:784:19)

    at new Mongo.Collection (packages/mongo/collection.js:99:40)

    at AccountsServer.AccountsCommon (packages/accounts-base/accounts_common.js:23:18)

    at new AccountsServer (packages/accounts-base/accounts_server.js:18:5)

    at meteorInstall.node_modules.meteor.accounts-base.server_main.js (packages/accounts-base/server_main.js:9:12)

    at fileEvaluate (packages/modules-runtime.js:197:9)

    at require (packages/modules-runtime.js:120:16)

    at /home/rmsuser/bundle/programs/server/packages/accounts-base.js:2019:15

    at /home/rmsuser/bundle/programs/server/packages/accounts-base.js:2030:3

rmsuser@vps321288:~/bundle$

 

 

And when I run: sudo ./start.sh

I get the following error.

MongoError: failed to connect to server [localhost:27017] on first connect

 
Truth is I am not sure if the database is even running or the chat server as just about every instruction online points me down a rabbit hole with no end in site. (I may have to dump this and return to rms)
 
In short the instructions are just not good enough for someone like me who doesnt understand anything about mongodb and its requirements etc.
 
Any ideas to solve the issues appreciated, thanks.

 

 

 

 

 

 

Enhance Your Onlne Experience. 4eLife.com
Quote · 9 Sep 2017

you need to set your mongo info and stuff, also, do not sudo node main.js - just "node main.js"

 

 run these in your cli - cahnge items in red to fit your needs:

 

export ROOT_URL=http://your-domain.com:3000/

export MONGO_URL=mongodb://localhost:27017/rocketchat

export PORT=3000

export ADMIN_EMAIL=admin@example.com

export ADMIN_PASS=admin_password

caredesign.net
Quote · 9 Sep 2017

Thanks Professor, much appreciated but in the end I had to get it installed by Nathan.

Apologies for wasting your time but I did learn a little on the way.

 

So thanks again for your valued input.

Enhance Your Onlne Experience. 4eLife.com
Quote · 10 Sep 2017

The instructions for Ubuntu are still half-arsed and that is why you probably could not do it.  I pointed this out to Alex but he has yet to fix it.  You can do better by following the CentOS instructions and just know the differences between Ubuntu and CentOS.  I am not going to fix the Ubuntu instructions because I am not on Boonex's payroll

Geeks, making the world a better place
Quote · 10 Sep 2017

Thanks Geekgirl, I agree and realized through the process that it wasnt complete for somone like me on a learning curve. Second time I mixed and matched but didnt fully understand the architecture/background so although I got further it still frigged up. 3rd time Nathan did it. Its running great now. I just need to lean how to do it.

 

Disappointed there isn't a fullscreen option though? Boxed like the flashchat it is just too small and needs constant scrolling to keep it on screen. I may have to creat a menu item that links straight to the chat url although I would sooner not.

 

Thanks to you and rofessor for your assistance. I came out a little more learned. Thanks.

Enhance Your Onlne Experience. 4eLife.com
Quote · 11 Sep 2017

 

Disappointed there isn't a fullscreen option though? Boxed like the flashchat it is just too small and needs constant scrolling to keep it on screen.

There is full-screen mode already:

 

 

Rules → http://www.boonex.com/terms
Quote · 18 Sep 2017
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.