Description
I have tried installing RocketChat many times, on my local home VMware server, on a fully updated version of Ubuntu 20.04, and I haven’t had any issues. I am now trying to create an install on an Oracle Cloud VM, and following the tutorial located here: https://computingforgeeks.com/install-rocket-chat-on-ubuntu-with-letsencrypt/ and for the life of me, I cannot figure out why I keep getting this error:
● rocketchat.service - The Rocket.Chat server
Loaded: loaded (/etc/systemd/system/rocketchat.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2022-04-27 17:52:38 UTC; 12s ago
Process: 12930 ExecStart=/usr/local/bin/node /opt/Rocket.Chat/main.js (code=exited, status=1/FAILURE)
Main PID: 12930 (code=exited, status=1/FAILURE)
`` Apr 27 17:52:38 xxxx-test systemd[1]: Started The Rocket.Chat server.
Apr 27 17:52:38 xxxx-test rocketchat[12930]: Meteor requires Node v14.0.0 or later.
`Apr 27 17:52:38 xxxx-test systemd[1]: rocketchat.service: Main process exited, code=exited, status=1/FAILURE` `Apr 27 17:52:38 xxxx-test systemd[1]: rocketchat.service: Failed with result 'exit-code'.`
My node version is: v12.22.12 and in the tutorial it does mention:
installing a different version of node than the base version installed causes conflicts with Rocket.Chat in Ubuntu 20.04. You should only install a version that is same as the base version or create a symbolic link to the base version
I do think that is the issue, I am just confused though. If I try to update Node, it ends up not working. I am not familiar with Node, or Meteor. Google results mention in a few spots to use zodern/meteor? I just cannot get around this, and would appreciate any suggestions! I rarely have ever have to ask for help, so I can provide any other information necessary!
Server Setup Information
- Version of Rocket.Chat Server: 20.04
- Operating System: Ubuntu
- Deployment Method: Manual
- Number of Running Instances: 1
- DB Replicaset Oplog:
- NodeJS Version: V12.22.12
- MongoDB Version: V4.4.13
- Proxy: nginx
- Firewalls involved: Oracle Cloud VM