Rocket.Chat won't start after upgrade

I upgraded Rocket.Chat to latest version on CentOS 8 and now it fails to start.

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 (<anonymous>)
systemd[1]: rocketchat.service: Main process exited, code=exited, status=1/FAILURE
systemd[1]: rocketchat.service: Failed with result 'exit-code'.

Geeks, making the world a better place
Quote · 8d ago

This was due to node.js; make sure you are running 12.18.4

Geeks, making the world a better place
Quote · 5d ago
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.