Upgrade to v3.0.0 broke our RC server

Description

Hello, I just updated to version 3.0.0 and after completing the update, I can now no longer start the RC service on the server.

These are the following errors I can see:

[root@host server]# systemctl status rocketchat -l
● rocketchat.service - Our RC Server Name
   Loaded: loaded (/usr/lib/systemd/system/rocketchat.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Mon 2020-02-17 11:32:35 EST; 5min ago
  Process: 10443 ExecStart=/usr/local/bin/node /opt/Rocket.Chat/main.js (code=exited, status=1/FAILURE)
 Main PID: 10443 (code=exited, status=1/FAILURE)

Feb 17 11:32:35 serverhostname.com rocketchat[10443]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10)
Feb 17 11:32:35 serverhostname.com rocketchat[10443]: at Module.load (internal/modules/cjs/loader.js:815:32)
Feb 17 11:32:35 serverhostname.com rocketchat[10443]: at Module.Mp.load (/opt/Rocket.Chat/programs/server/runtime.js:15:31)
Feb 17 11:32:35 serverhostname.com rocketchat[10443]: at Function.Module._load (internal/modules/cjs/loader.js:727:14)
Feb 17 11:32:35 serverhostname.com rocketchat[10443]: at Module.require (internal/modules/cjs/loader.js:852:19)
Feb 17 11:32:35 serverhostname.com rocketchat[10443]: at require (internal/modules/cjs/helpers.js:74:18)
Feb 17 11:32:35 serverhostname.com rocketchat[10443]: at Object.<anonymous> (/opt/Rocket.Chat/programs/server/boot.js:2:15)
Feb 17 11:32:35 serverhostname.com systemd[1]: rocketchat.service: main process exited, code=exited, status=1/FAILURE
Feb 17 11:32:35 serverhostname.com systemd[1]: Unit rocketchat.service entered failed state.
Feb 17 11:32:35 serverhostname.com systemd[1]: rocketchat.service failed.
[root@core server]# 

And in /var/log/message I see this:

[root@host server]# tail /var/log/messages
Feb 17 11:39:43 host rocketchat: at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10)
Feb 17 11:39:43 host rocketchat: at Module.load (internal/modules/cjs/loader.js:815:32)
Feb 17 11:39:43 host rocketchat: at Module.Mp.load (/opt/Rocket.Chat/programs/server/runtime.js:15:31)
Feb 17 11:39:43 host rocketchat: at Function.Module._load (internal/modules/cjs/loader.js:727:14)
Feb 17 11:39:43 host rocketchat: at Module.require (internal/modules/cjs/loader.js:852:19)
Feb 17 11:39:43 host rocketchat: at require (internal/modules/cjs/helpers.js:74:18)
Feb 17 11:39:43 host rocketchat: at Object.<anonymous> (/opt/Rocket.Chat/programs/server/boot.js:2:15)
Feb 17 11:39:43 host systemd: rocketchat.service: main process exited, code=exited, status=1/FAILURE
Feb 17 11:39:43 host systemd: Unit rocketchat.service entered failed state.
Feb 17 11:39:43 host systemd: rocketchat.service failed.
[root@host server]# 

Server Setup Information

  • Version of Rocket.Chat Server: It should be 3.0.0 now
  • Operating System: CentOS Linux release 7.7.1908
  • Deployment Method: Manual
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version: v12.14.0
  • MongoDB Version: 4.0.16
  • Proxy: None
  • Firewalls involved: CSF

Any additional Information

I would really really appreciate if anyone can jump on this as soon as possible. I broke our production RC server, which is affecting all our business staff as we speak :frowning:

So I managed to fix my problem. And by doing so I followed this: Fix

The last thing I did run was:

npm update

Please help I have the same problem and I tried to follow your fix without success,
Please, I’m asked to install this Rocket chat server and then do some coding to integrate with another software, I can found my way through Linux but clearly this is beyond my comprehension, :frowning: