Problems installing in a Centos 7 VPS server


#1

Hi, I am experiencing some issues installing rocket.chat in Centos 7. Unfortunately my hosted server does not support docker or snap, so I need the bare installation.

Everything seems to be ok as per https://rocket.chat/docs/installation/manual-installation/centos/ until I reach the step, here I have a warning
rocket.chat
Rocket.Chat Documentation - Deploying Rocket.Chat on Centos 7
Rocket.Chat user, admin, API, integration, plugin and contributing documentation.
meteor-dev-bundle@~install: cannot run in wd %s %s (wd=%s) meteor-dev-bundle@ node npm-rebuild.js /opt/Rocket.Chat/programs/server
if I ignore that and move on, later on step I get a

root@vps2 [/opt/Rocket.Chat]# node main.js
Meteor requires Node v8.0.0 or later.

and doing a node --version I get v6.12.3
any suggestion on how to resolve it?


#2

this was a path problem, now resolved - the version installed with ‘n’ wasn’t being used


#3

Sorry, I’m experiencing the same exact problem. Can you please give some other details about the solution?


#4

/usr/local/bin/node main.js

while this doesnt fully fix the problem when you create your systemd script as long as you put it like this:
ExecStart=/usr/local/bin/node /opt/rocket/Rocket.Chat/main.js
you should be fine


#5

Thank you very much!