# Problems installing in a Centos 7 VPS server

**URL:** <https://forums.rocket.chat/t/problems-installing-in-a-centos-7-vps-server/568>\
**Category:** Community Support\
**Created:** [April 12, 2018, 11:18pm UTC](https://forums.rocket.chat/t/problems-installing-in-a-centos-7-vps-server/568 "2018-04-12T23:18:43Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![arocholl](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/arocholl/32/227_2.png) [@arocholl](https://forums.rocket.chat/u/arocholl)\
**Post date:** [April 12, 2018, 11:18pm UTC](https://forums.rocket.chat/t/problems-installing-in-a-centos-7-vps-server/568/1 "2018-04-12T23:18:43Z")

</div>

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/](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?

---

<div class="post-metadata">

**Author:** ![arocholl](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/arocholl/32/227_2.png) [@arocholl](https://forums.rocket.chat/u/arocholl)\
**Post date:** [April 12, 2018, 11:53pm UTC](https://forums.rocket.chat/t/problems-installing-in-a-centos-7-vps-server/568/2 "2018-04-12T23:53:36Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![gzizzi](https://avatars.discourse-cdn.com/v4/letter/g/48db29/32.png) [@gzizzi](https://forums.rocket.chat/u/gzizzi)\
**Post date:** [April 24, 2018, 9:56pm UTC](https://forums.rocket.chat/t/problems-installing-in-a-centos-7-vps-server/568/3 "2018-04-24T21:56:29Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![lordasshat](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/lordasshat/32/256_2.png) [@lordasshat](https://forums.rocket.chat/u/lordasshat)\
**Post date:** [April 30, 2018, 11:42pm UTC](https://forums.rocket.chat/t/problems-installing-in-a-centos-7-vps-server/568/4 "2018-04-30T23:42:59Z")

</div>

/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

---

<div class="post-metadata">

**Author:** ![gzizzi](https://avatars.discourse-cdn.com/v4/letter/g/48db29/32.png) [@gzizzi](https://forums.rocket.chat/u/gzizzi)\
**Post date:** [May 1, 2018, 9:45am UTC](https://forums.rocket.chat/t/problems-installing-in-a-centos-7-vps-server/568/5 "2018-05-01T09:45:51Z")

</div>

Thank you very much!

---

<div class="post-metadata">

**Author:** ![alirezaimi](https://avatars.discourse-cdn.com/v4/letter/a/b38774/32.png) [@alirezaimi](https://forums.rocket.chat/u/alirezaimi)\
**Post date:** [September 30, 2018, 11:00am UTC](https://forums.rocket.chat/t/problems-installing-in-a-centos-7-vps-server/568/6 "2018-09-30T11:00:50Z")

</div>

I have same problem in debian,

```
root@sp2lnx1:~/rocketchat/Rocket.Chat/programs/server# npm install
npm WARN lifecycle meteor-dev-bundle@~install: cannot run in wd %s %s (wd=%s) meteor-dev-bundle@ node npm-rebuild.js /root/rocketchat/Rocket.Chat/programs/server
updated 1 package in 0.936s
root@sp2lnx1:~/rocketchat/Rocket.Chat/programs/server# node ../../main.js
/root/rocketchat/Rocket.Chat/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 Collection (packages/mongo/collection.js:97:40)
	at new AccountsCommon (packages/accounts-base/accounts_common.js:23:18)
	at new AccountsServer (packages/accounts-base/accounts_server.js:18:5)
	at server_main.js (packages/accounts-base/server_main.js:9:12)
	at fileEvaluate (packages/modules-runtime.js:343:9)
	at require (packages/modules-runtime.js:238:16)
	at /root/rocketchat/Rocket.Chat/programs/server/packages/accounts-base.js:2012:15
	at /root/rocketchat/Rocket.Chat/programs/server/packages/accounts-base.js:2019:3
	at /root/rocketchat/Rocket.Chat/programs/server/boot.js:411:36
	at Array.forEach (<anonymous>)
	at /root/rocketchat/Rocket.Chat/programs/server/boot.js:220:19
	at /root/rocketchat/Rocket.Chat/programs/server/boot.js:471:5
	at Function.run (/root/rocketchat/Rocket.Chat/programs/server/profile.js:510:12)
	at /root/rocketchat/Rocket.Chat/programs/server/boot.js:470:11
root@sp2lnx1:~/rocketchat/Rocket.Chat/programs/server#
```

---

<div class="post-metadata">

**Author:** ![localguru](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/localguru/32/12_2.png) [@localguru](https://forums.rocket.chat/u/localguru)\
**Post date:** [October 1, 2018, 10:06am UTC](https://forums.rocket.chat/t/problems-installing-in-a-centos-7-vps-server/568/7 "2018-10-01T10:06:31Z")

</div>

@alirezaimi to your problem see [Problems installing 0.70 in debian](https://forums.rocket.chat/t/problems-installing-0-70-in-debian/2145)
