Upgraded Rocket.Chat to latest on CentOS 8 Server; now won't start

Description

Rocket.Chat was working. I upgraded following the instructions in the online manual. Afterwards Rocket.Chat server would not start. I have no idea where to start.

Server Setup Information

  • Version of Rocket.Chat Server: Latest Version
  • Operating System: CentOS 8
  • Deployment Method: Manual Install
  • Number of Running Instances:
  • DB Replicaset Oplog:
  • NodeJS Version: 6.14.8
  • MongoDB Version: v4.0.21
  • Proxy: Nginx
  • Firewalls involved: Firewalld

Any additional Information

rocketchat[272728]: /opt/Rocket.Chat/programs/server/node_modules/fibers/future.js:280
rocketchat[272728]: #011#011#011#011#011#011throw(ex);
rocketchat[272728]: #011#011#011#011#011#011^
rocketchat[272728]: TypeError: AsyncLocalStorage is not a constructor
rocketchat[272728]: at module (server/sdk/index.ts:23:34)
rocketchat[272728]: at fileEvaluate (packages/modules-runtime.js:336:7)
rocketchat[272728]: at Module.require (packages/modules-runtime.js:238:14)
rocketchat[272728]: at Module.moduleLink [as link] (/opt/Rocket.Chat/programs/server/npm/node_modules/meteor/modules/node_modules/reify/lib/runtime/index.js:52:22)
rocketchat[272728]: at ee/server/broker.ts:1:80
rocketchat[272728]: at module (ee/server/broker.ts:345:2)
rocketchat[272728]: at fileEvaluate (packages/modules-runtime.js:336:7)
rocketchat[272728]: at Module.require (packages/modules-runtime.js:238:14)
rocketchat[272728]: at Module.moduleLink [as link] (/opt/Rocket.Chat/programs/server/npm/node_modules/meteor/modules/node_modules/reify/lib/runtime/index.js:52:22)
rocketchat[272728]: at module (server/main.js:1:8)
rocketchat[272728]: at fileEvaluate (packages/modules-runtime.js:336:7)
rocketchat[272728]: at Module.require (packages/modules-runtime.js:238:14)
rocketchat[272728]: at require (packages/modules-runtime.js:258:21)
rocketchat[272728]: at /opt/Rocket.Chat/programs/server/app/app.js:191678:15
rocketchat[272728]: at /opt/Rocket.Chat/programs/server/boot.js:401:38
rocketchat[272728]: at Array.forEach ()
systemd[1]: rocketchat.service: Main process exited, code=exited, status=1/FAILURE
systemd[1]: rocketchat.service: Failed with result ‘exit-code’.

I would revert back but Rocket.Chat doesn’t make it easy to get a previous release. I don’t want the source code from github. It is obvious with all the release candidates that 3.8.0 had numerous issues getting out the door. Also, it is obvious that no one from Rocket.Chat monitors the forum or the support chat room. Which is just driving me away from Rocket.Chat.

From reading another thread; upgrading from node 12.14.0 to 12.18.4 solved the issue. Rocket.Chat service now starts. Hopefully there won’t be other issues.

1 Like

Thanks a lot! Just got my server running again