RocketChat / Rocket.Chat

The communications platform that puts data protection first.
https://rocket.chat/
Other
40.61k stars 10.61k forks source link

Problem with upgrade 6.3.8 to latest version (isolated-vm module and node) #30758

Open zetoadmin opened 1 year ago

zetoadmin commented 1 year ago

Hi. After upgrade rocket chat 6.3.8 to any 6.4 release (also latest), it fail while starting with error:

Oct 17 16:06:18 chat systemd[1]: Started Rocket.Chat.
Oct 17 16:06:24 chat Rocket.Chat[175878]: Some indexes for collection 'rocketchat_uploads' could not be created:
Oct 17 16:06:24 chat Rocket.Chat[175878]: #011Index with name: rid_1 already exists with different options
Oct 17 16:06:36 chat Rocket.Chat[175878]: strict mode: missing type "object" for keyword "additionalProperties" at "#" (strictTypes)
Oct 17 16:06:36 chat Rocket.Chat[175878]: strict mode: missing type "object" for keyword "properties" at "#" (strictTypes)
Oct 17 16:06:36 chat Rocket.Chat[175878]: strict mode: use allowUnionTypes to allow union type keyword at "#/properties/value" (strictTypes)
Oct 17 16:06:36 chat xe-daemon[852]: CollectOS error: &os.PathError{Op:"open", Path:"/var/cache/xe-linux-distribution", Err:0x2}
Oct 17 16:06:36 chat Rocket.Chat[175878]: strict mode: "items" is 1-tuple, but minItems or maxItems/additionalItems are not specified or different at path "#/properties/matrixIds"
Oct 17 16:06:39 chat Rocket.Chat[175878]: /opt/Rocket.Chat/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:218
Oct 17 16:06:39 chat Rocket.Chat[175878]:      throw error;
Oct 17 16:06:39 chat Rocket.Chat[175878]:      ^
Oct 17 16:06:39 chat Rocket.Chat[175878]: Error: The module '/opt/Rocket.Chat/programs/server/npm/node_modules/isolated-vm/out/isolated_vm.node'
Oct 17 16:06:39 chat Rocket.Chat[175878]: was compiled against a different Node.js version using
Oct 17 16:06:39 chat Rocket.Chat[175878]: NODE_MODULE_VERSION 72. This version of Node.js requires
Oct 17 16:06:39 chat Rocket.Chat[175878]: NODE_MODULE_VERSION 83. Please try re-compiling or re-installing
Oct 17 16:06:39 chat Rocket.Chat[175878]: the module (for instance, using `npm rebuild` or `npm install`).
Oct 17 16:06:39 chat Rocket.Chat[175878]:    at Object.Module._extensions..node (internal/modules/cjs/loader.js:1173:18)
Oct 17 16:06:39 chat Rocket.Chat[175878]:    at Module.load (internal/modules/cjs/loader.js:979:32)
Oct 17 16:06:39 chat Rocket.Chat[175878]:    at Module.Mp.load (/opt/Rocket.Chat/programs/server/runtime.js:37:33)
Oct 17 16:06:39 chat Rocket.Chat[175878]:    at Function.Module._load (internal/modules/cjs/loader.js:819:12)
Oct 17 16:06:39 chat Rocket.Chat[175878]:    at Module.require (internal/modules/cjs/loader.js:1003:19)
Oct 17 16:06:39 chat Rocket.Chat[175878]:    at require (internal/modules/cjs/helpers.js:107:18)
Oct 17 16:06:39 chat Rocket.Chat[175878]:    at Object.<anonymous> (/opt/Rocket.Chat/programs/server/npm/node_modules/isolated-vm/isolated-vm.js:1:-44)
Oct 17 16:06:39 chat Rocket.Chat[175878]:    at Module._compile (internal/modules/cjs/loader.js:1114:14)
Oct 17 16:06:39 chat Rocket.Chat[175878]:    at Module.Mp._compile (/opt/Rocket.Chat/programs/server/runtime.js:77:23)
Oct 17 16:06:39 chat Rocket.Chat[175878]:    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1143:10)
Oct 17 16:06:39 chat Rocket.Chat[175878]:    at Module.load (internal/modules/cjs/loader.js:979:32)
Oct 17 16:06:39 chat Rocket.Chat[175878]:    at Module.Mp.load (/opt/Rocket.Chat/programs/server/runtime.js:37:33)
Oct 17 16:06:39 chat Rocket.Chat[175878]:    at Function.Module._load (internal/modules/cjs/loader.js:819:12)
Oct 17 16:06:39 chat Rocket.Chat[175878]:    at Module.require (internal/modules/cjs/loader.js:1003:19)
Oct 17 16:06:39 chat Rocket.Chat[175878]:    at require (internal/modules/cjs/helpers.js:107:18)
Oct 17 16:06:39 chat Rocket.Chat[175878]:    at npmRequire (/opt/Rocket.Chat/programs/server/npm-require.js:111:12)
Oct 17 16:06:39 chat Rocket.Chat[175878]:    at Module.useNode (packages/modules-runtime.js:751:18)
Oct 17 16:06:39 chat Rocket.Chat[175878]:    at module (/opt/Rocket.Chat/programs/server/packages/modules.js:204170:8)
Oct 17 16:06:39 chat Rocket.Chat[175878]:    at fileEvaluate (packages/modules-runtime.js:336:7)
Oct 17 16:06:39 chat Rocket.Chat[175878]:    at Module.require (packages/modules-runtime.js:238:14)
Oct 17 16:06:39 chat Rocket.Chat[175878]:    at Module.moduleLink [as link] (/opt/Rocket.Chat/programs/server/npm/node_modules/meteor/modules/node_modules/@meteorjs/reify/lib/runtime/index.js:52:22)
Oct 17 16:06:39 chat Rocket.Chat[175878]:    at module (app/integrations/server/lib/isolated-vm/isolated-vm.ts:2:43)
Oct 17 16:06:39 chat Rocket.Chat[175878]:    at fileEvaluate (packages/modules-runtime.js:336:7)
Oct 17 16:06:39 chat Rocket.Chat[175878]:    at Module.require (packages/modules-runtime.js:238:14)
Oct 17 16:06:39 chat Rocket.Chat[175878]:    at Module.moduleLink [as link] (/opt/Rocket.Chat/programs/server/npm/node_modules/meteor/modules/node_modules/@meteorjs/reify/lib/runtime/index.js:52:22)
Oct 17 16:06:39 chat Rocket.Chat[175878]:    at module (app/integrations/server/lib/triggerHandler.js:1:1149)
Oct 17 16:06:39 chat Rocket.Chat[175878]:    at fileEvaluate (packages/modules-runtime.js:336:7)
Oct 17 16:06:39 chat Rocket.Chat[175878]:    at Module.require (packages/modules-runtime.js:238:14)
Oct 17 16:06:39 chat Rocket.Chat[175878]:    at Module.moduleLink [as link] (/opt/Rocket.Chat/programs/server/npm/node_modules/meteor/modules/node_modules/@meteorjs/reify/lib/runtime/index.js:52:22)
Oct 17 16:06:39 chat Rocket.Chat[175878]:    at server/services/meteor/service.ts:1:72
Oct 17 16:06:39 chat Rocket.Chat[175878]:    at module (server/services/meteor/service.ts:285:2)
Oct 17 16:06:39 chat Rocket.Chat[175878]:    at fileEvaluate (packages/modules-runtime.js:336:7)
Oct 17 16:06:39 chat Rocket.Chat[175878]:    at Module.require (packages/modules-runtime.js:238:14)
Oct 17 16:06:39 chat Rocket.Chat[175878]:    at Module.moduleLink [as link] (/opt/Rocket.Chat/programs/server/npm/node_modules/meteor/modules/node_modules/@meteorjs/reify/lib/runtime/index.js:52:22) {
Oct 17 16:06:39 chat Rocket.Chat[175878]:  code: 'ERR_DLOPEN_FAILED'
Oct 17 16:06:39 chat Rocket.Chat[175878]: }
Oct 17 16:06:39 chat systemd[1]: rocketchat.service: Main process exited, code=exited, status=1/FAILURE
Oct 17 16:06:39 chat systemd[1]: rocketchat.service: Failed with result 'exit-code'.
Oct 17 16:06:39 chat systemd[1]: rocketchat.service: Service RestartSec=100ms expired, scheduling restart.
Oct 17 16:06:39 chat systemd[1]: rocketchat.service: Scheduled restart job, restart counter is at 2.
Oct 17 16:06:39 chat systemd[1]: Stopped Rocket.Chat.
Oct 17 16:06:39 chat systemd[1]: Started Rocket.Chat.
Oct 17 16:06:44 chat Rocket.Chat[175937]: Some indexes for collection 'rocketchat_uploads' could not be created:
Oct 17 16:06:44 chat Rocket.Chat[175937]: #011Index with name: rid_1 already exists with different options
Oct 17 16:06:48 chat systemd[1]: Stopping Rocket.Chat...
Oct 17 16:06:48 chat systemd[1]: rocketchat.service: Succeeded.
Oct 17 16:06:48 chat systemd[1]: Stopped Rocket.Chat.
Oct 17 16:07:34 chat systemd[1]: Started Rocket.Chat.
Oct 17 16:07:36 chat xe-daemon[852]: CollectOS error: &os.PathError{Op:"open", Path:"/var/cache/xe-linux-distribution", Err:0x2}
Oct 17 16:07:38 chat Rocket.Chat[175996]: Some indexes for collection 'rocketchat_uploads' could not be created:
Oct 17 16:07:38 chat Rocket.Chat[175996]: #011Index with name: rid_1 already exists with different options
Oct 17 16:07:50 chat Rocket.Chat[175996]: strict mode: missing type "object" for keyword "additionalProperties" at "#" (strictTypes)
Oct 17 16:07:50 chat Rocket.Chat[175996]: strict mode: missing type "object" for keyword "properties" at "#" (strictTypes)
Oct 17 16:07:50 chat Rocket.Chat[175996]: strict mode: use allowUnionTypes to allow union type keyword at "#/properties/value" (strictTypes)
Oct 17 16:07:51 chat Rocket.Chat[175996]: strict mode: "items" is 1-tuple, but minItems or maxItems/additionalItems are not specified or different at path "#/properties/matrixIds"
Oct 17 16:07:53 chat Rocket.Chat[175996]: /opt/Rocket.Chat/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:218
Oct 17 16:07:53 chat Rocket.Chat[175996]:      throw error;
Oct 17 16:07:53 chat Rocket.Chat[175996]:      ^
Oct 17 16:07:53 chat Rocket.Chat[175996]: Error: The module '/opt/Rocket.Chat/programs/server/npm/node_modules/isolated-vm/out/isolated_vm.node'
Oct 17 16:07:53 chat Rocket.Chat[175996]: was compiled against a different Node.js version using
Oct 17 16:07:53 chat Rocket.Chat[175996]: NODE_MODULE_VERSION 72. This version of Node.js requires
Oct 17 16:07:53 chat Rocket.Chat[175996]: NODE_MODULE_VERSION 83. Please try re-compiling or re-installing
Oct 17 16:07:53 chat Rocket.Chat[175996]: the module (for instance, using `npm rebuild` or `npm install`).
Oct 17 16:07:53 chat Rocket.Chat[175996]:    at Object.Module._extensions..node (internal/modules/cjs/loader.js:1173:18)
Oct 17 16:07:53 chat Rocket.Chat[175996]:    at Module.load (internal/modules/cjs/loader.js:979:32)
Oct 17 16:07:53 chat Rocket.Chat[175996]:    at Module.Mp.load (/opt/Rocket.Chat/programs/server/runtime.js:37:33)
Oct 17 16:07:53 chat Rocket.Chat[175996]:    at Function.Module._load (internal/modules/cjs/loader.js:819:12)
Oct 17 16:07:53 chat Rocket.Chat[175996]:    at Module.require (internal/modules/cjs/loader.js:1003:19)
Oct 17 16:07:53 chat Rocket.Chat[175996]:    at require (internal/modules/cjs/helpers.js:107:18)
Oct 17 16:07:53 chat Rocket.Chat[175996]:    at Object.<anonymous> (/opt/Rocket.Chat/programs/server/npm/node_modules/isolated-vm/isolated-vm.js:1:-44)
Oct 17 16:07:53 chat Rocket.Chat[175996]:    at Module._compile (internal/modules/cjs/loader.js:1114:14)
Oct 17 16:07:53 chat Rocket.Chat[175996]:    at Module.Mp._compile (/opt/Rocket.Chat/programs/server/runtime.js:77:23)
Oct 17 16:07:53 chat Rocket.Chat[175996]:    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1143:10)
Oct 17 16:07:53 chat Rocket.Chat[175996]:    at Module.load (internal/modules/cjs/loader.js:979:32)
Oct 17 16:07:53 chat Rocket.Chat[175996]:    at Module.Mp.load (/opt/Rocket.Chat/programs/server/runtime.js:37:33)
Oct 17 16:07:53 chat Rocket.Chat[175996]:    at Function.Module._load (internal/modules/cjs/loader.js:819:12)
Oct 17 16:07:53 chat Rocket.Chat[175996]:    at Module.require (internal/modules/cjs/loader.js:1003:19)
Oct 17 16:07:53 chat Rocket.Chat[175996]:    at require (internal/modules/cjs/helpers.js:107:18)
Oct 17 16:07:53 chat Rocket.Chat[175996]:    at npmRequire (/opt/Rocket.Chat/programs/server/npm-require.js:111:12)
Oct 17 16:07:53 chat Rocket.Chat[175996]:    at Module.useNode (packages/modules-runtime.js:751:18)
Oct 17 16:07:53 chat Rocket.Chat[175996]:    at module (/opt/Rocket.Chat/programs/server/packages/modules.js:204170:8)
Oct 17 16:07:53 chat Rocket.Chat[175996]:    at fileEvaluate (packages/modules-runtime.js:336:7)
Oct 17 16:07:53 chat Rocket.Chat[175996]:    at Module.require (packages/modules-runtime.js:238:14)
Oct 17 16:07:53 chat Rocket.Chat[175996]:    at Module.moduleLink [as link] (/opt/Rocket.Chat/programs/server/npm/node_modules/meteor/modules/node_modules/@meteorjs/reify/lib/runtime/index.js:52:22)
Oct 17 16:07:53 chat Rocket.Chat[175996]:    at module (app/integrations/server/lib/isolated-vm/isolated-vm.ts:2:43)
Oct 17 16:07:53 chat Rocket.Chat[175996]:    at fileEvaluate (packages/modules-runtime.js:336:7)
Oct 17 16:07:53 chat Rocket.Chat[175996]:    at Module.require (packages/modules-runtime.js:238:14)
Oct 17 16:07:53 chat Rocket.Chat[175996]:    at Module.moduleLink [as link] (/opt/Rocket.Chat/programs/server/npm/node_modules/meteor/modules/node_modules/@meteorjs/reify/lib/runtime/index.js:52:22)
Oct 17 16:07:53 chat Rocket.Chat[175996]:    at module (app/integrations/server/lib/triggerHandler.js:1:1149)
Oct 17 16:07:53 chat Rocket.Chat[175996]:    at fileEvaluate (packages/modules-runtime.js:336:7)
Oct 17 16:07:53 chat Rocket.Chat[175996]:    at Module.require (packages/modules-runtime.js:238:14)
Oct 17 16:07:53 chat Rocket.Chat[175996]:    at Module.moduleLink [as link] (/opt/Rocket.Chat/programs/server/npm/node_modules/meteor/modules/node_modules/@meteorjs/reify/lib/runtime/index.js:52:22)
Oct 17 16:07:53 chat Rocket.Chat[175996]:    at server/services/meteor/service.ts:1:72
Oct 17 16:07:53 chat Rocket.Chat[175996]:    at module (server/services/meteor/service.ts:285:2)
Oct 17 16:07:53 chat Rocket.Chat[175996]:    at fileEvaluate (packages/modules-runtime.js:336:7)
Oct 17 16:07:53 chat Rocket.Chat[175996]:    at Module.require (packages/modules-runtime.js:238:14)
Oct 17 16:07:53 chat Rocket.Chat[175996]:    at Module.moduleLink [as link] (/opt/Rocket.Chat/programs/server/npm/node_modules/meteor/modules/node_modules/@meteorjs/reify/lib/runtime/index.js:52:22) {
Oct 17 16:07:53 chat Rocket.Chat[175996]:  code: 'ERR_DLOPEN_FAILED'
Oct 17 16:07:53 chat Rocket.Chat[175996]: }
Oct 17 16:07:53 chat systemd[1]: rocketchat.service: Main process exited, code=exited, status=1/FAILURE
Oct 17 16:07:53 chat systemd[1]: rocketchat.service: Failed with result 'exit-code'.
Oct 17 16:07:53 chat systemd[1]: rocketchat.service: Service RestartSec=100ms expired, scheduling restart.
Oct 17 16:07:53 chat systemd[1]: rocketchat.service: Scheduled restart job, restart counter is at 1.
Oct 17 16:07:53 chat systemd[1]: Stopped Rocket.Chat.
Oct 17 16:07:53 chat systemd[1]: Started Rocket.Chat.
Oct 17 16:07:58 chat Rocket.Chat[176062]: Some indexes for collection 'rocketchat_uploads' could not be created:
Oct 17 16:07:58 chat Rocket.Chat[176062]: #011Index with name: rid_1 already exists with different options
Oct 17 16:08:09 chat Rocket.Chat[176062]: strict mode: missing type "object" for keyword "additionalProperties" at "#" (strictTypes)
Oct 17 16:08:09 chat Rocket.Chat[176062]: strict mode: missing type "object" for keyword "properties" at "#" (strictTypes)
Oct 17 16:08:09 chat Rocket.Chat[176062]: strict mode: use allowUnionTypes to allow union type keyword at "#/properties/value" (strictTypes)
Oct 17 16:08:10 chat Rocket.Chat[176062]: strict mode: "items" is 1-tuple, but minItems or maxItems/additionalItems are not specified or different at path "#/properties/matrixIds"
Oct 17 16:08:12 chat Rocket.Chat[176062]: /opt/Rocket.Chat/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:218
Oct 17 16:08:12 chat Rocket.Chat[176062]:      throw error;
Oct 17 16:08:12 chat Rocket.Chat[176062]:      ^
Oct 17 16:08:12 chat Rocket.Chat[176062]: Error: The module '/opt/Rocket.Chat/programs/server/npm/node_modules/isolated-vm/out/isolated_vm.node'
Oct 17 16:08:12 chat Rocket.Chat[176062]: was compiled against a different Node.js version using
Oct 17 16:08:12 chat Rocket.Chat[176062]: NODE_MODULE_VERSION 72. This version of Node.js requires
Oct 17 16:08:12 chat Rocket.Chat[176062]: NODE_MODULE_VERSION 83. Please try re-compiling or re-installing
Oct 17 16:08:12 chat Rocket.Chat[176062]: the module (for instance, using `npm rebuild` or `npm install`).
Oct 17 16:08:12 chat Rocket.Chat[176062]:    at Object.Module._extensions..node (internal/modules/cjs/loader.js:1173:18)
Oct 17 16:08:12 chat Rocket.Chat[176062]:    at Module.load (internal/modules/cjs/loader.js:979:32)
Oct 17 16:08:12 chat Rocket.Chat[176062]:    at Module.Mp.load (/opt/Rocket.Chat/programs/server/runtime.js:37:33)
Oct 17 16:08:12 chat Rocket.Chat[176062]:    at Function.Module._load (internal/modules/cjs/loader.js:819:12)
Oct 17 16:08:12 chat Rocket.Chat[176062]:    at Module.require (internal/modules/cjs/loader.js:1003:19)
Oct 17 16:08:12 chat Rocket.Chat[176062]:    at require (internal/modules/cjs/helpers.js:107:18)
Oct 17 16:08:12 chat Rocket.Chat[176062]:    at Object.<anonymous> (/opt/Rocket.Chat/programs/server/npm/node_modules/isolated-vm/isolated-vm.js:1:-44)
Oct 17 16:08:12 chat Rocket.Chat[176062]:    at Module._compile (internal/modules/cjs/loader.js:1114:14)
Oct 17 16:08:12 chat Rocket.Chat[176062]:    at Module.Mp._compile (/opt/Rocket.Chat/programs/server/runtime.js:77:23)
Oct 17 16:08:12 chat Rocket.Chat[176062]:    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1143:10)
Oct 17 16:08:12 chat Rocket.Chat[176062]:    at Module.load (internal/modules/cjs/loader.js:979:32)
Oct 17 16:08:12 chat Rocket.Chat[176062]:    at Module.Mp.load (/opt/Rocket.Chat/programs/server/runtime.js:37:33)
Oct 17 16:08:12 chat Rocket.Chat[176062]:    at Function.Module._load (internal/modules/cjs/loader.js:819:12)
Oct 17 16:08:12 chat Rocket.Chat[176062]:    at Module.require (internal/modules/cjs/loader.js:1003:19)
Oct 17 16:08:12 chat Rocket.Chat[176062]:    at require (internal/modules/cjs/helpers.js:107:18)
Oct 17 16:08:12 chat Rocket.Chat[176062]:    at npmRequire (/opt/Rocket.Chat/programs/server/npm-require.js:111:12)
Oct 17 16:08:12 chat Rocket.Chat[176062]:    at Module.useNode (packages/modules-runtime.js:751:18)
Oct 17 16:08:12 chat Rocket.Chat[176062]:    at module (/opt/Rocket.Chat/programs/server/packages/modules.js:204170:8)
Oct 17 16:08:12 chat Rocket.Chat[176062]:    at fileEvaluate (packages/modules-runtime.js:336:7)
Oct 17 16:08:12 chat Rocket.Chat[176062]:    at Module.require (packages/modules-runtime.js:238:14)
Oct 17 16:08:12 chat Rocket.Chat[176062]:    at Module.moduleLink [as link] (/opt/Rocket.Chat/programs/server/npm/node_modules/meteor/modules/node_modules/@meteorjs/reify/lib/runtime/index.js:52:22)
Oct 17 16:08:12 chat Rocket.Chat[176062]:    at module (app/integrations/server/lib/isolated-vm/isolated-vm.ts:2:43)
Oct 17 16:08:12 chat Rocket.Chat[176062]:    at fileEvaluate (packages/modules-runtime.js:336:7)
Oct 17 16:08:12 chat Rocket.Chat[176062]:    at Module.require (packages/modules-runtime.js:238:14)
Oct 17 16:08:12 chat Rocket.Chat[176062]:    at Module.moduleLink [as link] (/opt/Rocket.Chat/programs/server/npm/node_modules/meteor/modules/node_modules/@meteorjs/reify/lib/runtime/index.js:52:22)
Oct 17 16:08:12 chat Rocket.Chat[176062]:    at module (app/integrations/server/lib/triggerHandler.js:1:1149)
Oct 17 16:08:12 chat Rocket.Chat[176062]:    at fileEvaluate (packages/modules-runtime.js:336:7)
Oct 17 16:08:12 chat Rocket.Chat[176062]:    at Module.require (packages/modules-runtime.js:238:14)
Oct 17 16:08:12 chat Rocket.Chat[176062]:    at Module.moduleLink [as link] (/opt/Rocket.Chat/programs/server/npm/node_modules/meteor/modules/node_modules/@meteorjs/reify/lib/runtime/index.js:52:22)
Oct 17 16:08:12 chat Rocket.Chat[176062]:    at server/services/meteor/service.ts:1:72
Oct 17 16:08:12 chat Rocket.Chat[176062]:    at module (server/services/meteor/service.ts:285:2)
Oct 17 16:08:12 chat Rocket.Chat[176062]:    at fileEvaluate (packages/modules-runtime.js:336:7)
Oct 17 16:08:12 chat Rocket.Chat[176062]:    at Module.require (packages/modules-runtime.js:238:14)
Oct 17 16:08:12 chat Rocket.Chat[176062]:    at Module.moduleLink [as link] (/opt/Rocket.Chat/programs/server/npm/node_modules/meteor/modules/node_modules/@meteorjs/reify/lib/runtime/index.js:52:22) {
Oct 17 16:08:12 chat Rocket.Chat[176062]:  code: 'ERR_DLOPEN_FAILED'
Oct 17 16:08:12 chat Rocket.Chat[176062]: }
Oct 17 16:08:12 chat systemd[1]: rocketchat.service: Main process exited, code=exited, status=1/FAILURE
Oct 17 16:08:12 chat systemd[1]: rocketchat.service: Failed with result 'exit-code'.
Oct 17 16:08:12 chat systemd[1]: rocketchat.service: Service RestartSec=100ms expired, scheduling restart.
Oct 17 16:08:12 chat systemd[1]: rocketchat.service: Scheduled restart job, restart counter is at 2.
Oct 17 16:08:12 chat systemd[1]: Stopped Rocket.Chat.

My node version: v14.21.3

I also try to do:

$ cd /opt/Rocket.Chat/programs/server/npm/
$ rm -rf node_modules/isolated-vm
$ npm install

And:


npm WARN deprecated undefined@0.1.0: this package has been deprecated
npm WARN deprecated boom@7.3.0: This module has moved and is now available at @hapi/boom. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
npm WARN deprecated cryptiles@4.1.3: This module has moved and is now available at @hapi/cryptiles. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated dommatrix@1.0.3: dommatrix is no longer maintained. Please use @thednp/dommatrix.
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated hoek@6.1.3: This module has moved and is now available at @hapi/hoek. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
npm WARN deprecated http2@3.3.6: Use the built-in module in node 9.0.0 or newer, instead
npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated request-promise@4.2.6: request-promise has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated vm2@3.9.19: The library contains critical security issues and should not be used for production! The maintenance of the project has been discontinued. Consider migrating your code to isolated-vm.
npm WARN deprecated w3c-hr-time@1.0.2: Use your platform's native performance.now() and performance.timeOrigin.
npm WARN notsup Unsupported engine for @aws-sdk/client-cognito-identity@3.218.0: wanted: {"node":">=14.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @aws-sdk/client-cognito-identity@3.218.0
npm WARN notsup Unsupported engine for @aws-sdk/client-sts@3.218.0: wanted: {"node":">=14.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @aws-sdk/client-sts@3.218.0
npm WARN notsup Unsupported engine for @aws-sdk/config-resolver@3.215.0: wanted: {"node":">=14.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @aws-sdk/config-resolver@3.215.0
npm WARN notsup Unsupported engine for @aws-sdk/credential-provider-imds@3.215.0: wanted: {"node":">=14.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @aws-sdk/credential-provider-imds@3.215.0
npm WARN notsup Unsupported engine for @aws-sdk/abort-controller@3.215.0: wanted: {"node":">=14.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @aws-sdk/abort-controller@3.215.0
npm WARN notsup Unsupported engine for @aws-sdk/credential-provider-ini@3.218.0: wanted: {"node":">=14.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @aws-sdk/credential-provider-ini@3.218.0
npm WARN notsup Unsupported engine for @aws-sdk/credential-provider-cognito-identity@3.218.0: wanted: {"node":">=14.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @aws-sdk/credential-provider-cognito-identity@3.218.0
npm WARN notsup Unsupported engine for @aws-sdk/client-sso-oidc@3.216.0: wanted: {"node":">=14.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @aws-sdk/client-sso-oidc@3.216.0
npm WARN notsup Unsupported engine for @aws-sdk/credential-provider-env@3.215.0: wanted: {"node":">=14.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @aws-sdk/credential-provider-env@3.215.0
npm WARN notsup Unsupported engine for @aws-sdk/credential-provider-web-identity@3.215.0: wanted: {"node":">=14.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @aws-sdk/credential-provider-web-identity@3.215.0
npm WARN notsup Unsupported engine for @aws-sdk/credential-provider-process@3.215.0: wanted: {"node":">=14.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @aws-sdk/credential-provider-process@3.215.0
npm WARN notsup Unsupported engine for @aws-sdk/is-array-buffer@3.201.0: wanted: {"node":">=14.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @aws-sdk/is-array-buffer@3.201.0
npm WARN notsup Unsupported engine for @aws-sdk/credential-provider-sso@3.218.0: wanted: {"node":">=14.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @aws-sdk/credential-provider-sso@3.218.0
npm WARN notsup Unsupported engine for @aws-sdk/credential-providers@3.218.0: wanted: {"node":">=14.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @aws-sdk/credential-providers@3.218.0
npm WARN notsup Unsupported engine for @aws-sdk/client-sso@3.218.0: wanted: {"node":">=14.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @aws-sdk/client-sso@3.218.0
npm WARN notsup Unsupported engine for @aws-sdk/hash-node@3.215.0: wanted: {"node":">=14.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @aws-sdk/hash-node@3.215.0
npm WARN notsup Unsupported engine for @aws-sdk/credential-provider-node@3.218.0: wanted: {"node":">=14.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @aws-sdk/credential-provider-node@3.218.0
npm WARN notsup Unsupported engine for @aws-sdk/middleware-recursion-detection@3.215.0: wanted: {"node":">=14.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @aws-sdk/middleware-recursion-detection@3.215.0
npm WARN notsup Unsupported engine for @aws-sdk/middleware-retry@3.215.0: wanted: {"node":">=14.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @aws-sdk/middleware-retry@3.215.0
npm WARN notsup Unsupported engine for @aws-sdk/middleware-serde@3.215.0: wanted: {"node":">=14.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @aws-sdk/middleware-serde@3.215.0
npm WARN notsup Unsupported engine for @aws-sdk/middleware-content-length@3.215.0: wanted: {"node":">=14.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @aws-sdk/middleware-content-length@3.215.0
npm WARN notsup Unsupported engine for @aws-sdk/middleware-endpoint@3.215.0: wanted: {"node":">=14.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @aws-sdk/middleware-endpoint@3.215.0
npm WARN notsup Unsupported engine for @aws-sdk/middleware-host-header@3.215.0: wanted: {"node":">=14.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @aws-sdk/middleware-host-header@3.215.0
npm WARN notsup Unsupported engine for @aws-sdk/middleware-logger@3.215.0: wanted: {"node":">=14.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @aws-sdk/middleware-logger@3.215.0
npm WARN notsup Unsupported engine for @aws-sdk/node-config-provider@3.215.0: wanted: {"node":">=14.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @aws-sdk/node-config-provider@3.215.0
npm WARN notsup Unsupported engine for @aws-sdk/middleware-user-agent@3.215.0: wanted: {"node":">=14.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @aws-sdk/middleware-user-agent@3.215.0
npm WARN notsup Unsupported engine for @aws-sdk/property-provider@3.215.0: wanted: {"node":">=14.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @aws-sdk/property-provider@3.215.0
npm WARN notsup Unsupported engine for @aws-sdk/middleware-sdk-sts@3.215.0: wanted: {"node":">=14.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @aws-sdk/middleware-sdk-sts@3.215.0
npm WARN notsup Unsupported engine for @aws-sdk/protocol-http@3.215.0: wanted: {"node":">=14.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @aws-sdk/protocol-http@3.215.0
npm WARN notsup Unsupported engine for @aws-sdk/service-error-classification@3.215.0: wanted: {"node":">=14.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @aws-sdk/service-error-classification@3.215.0
npm WARN notsup Unsupported engine for @aws-sdk/querystring-parser@3.215.0: wanted: {"node":">=14.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @aws-sdk/querystring-parser@3.215.0
npm WARN notsup Unsupported engine for @aws-sdk/middleware-stack@3.215.0: wanted: {"node":">=14.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @aws-sdk/middleware-stack@3.215.0
npm WARN notsup Unsupported engine for @aws-sdk/signature-v4@3.215.0: wanted: {"node":">=14.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @aws-sdk/signature-v4@3.215.0
npm WARN notsup Unsupported engine for @aws-sdk/querystring-builder@3.215.0: wanted: {"node":">=14.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @aws-sdk/querystring-builder@3.215.0
npm WARN notsup Unsupported engine for @aws-sdk/node-http-handler@3.215.0: wanted: {"node":">=14.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @aws-sdk/node-http-handler@3.215.0
npm WARN notsup Unsupported engine for @aws-sdk/shared-ini-file-loader@3.215.0: wanted: {"node":">=14.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @aws-sdk/shared-ini-file-loader@3.215.0
npm WARN notsup Unsupported engine for @aws-sdk/middleware-signing@3.215.0: wanted: {"node":">=14.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @aws-sdk/middleware-signing@3.215.0
npm WARN notsup Unsupported engine for @aws-sdk/smithy-client@3.215.0: wanted: {"node":">=14.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @aws-sdk/smithy-client@3.215.0
npm WARN notsup Unsupported engine for @aws-sdk/token-providers@3.216.0: wanted: {"node":">=14.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @aws-sdk/token-providers@3.216.0
npm WARN notsup Unsupported engine for @aws-sdk/util-config-provider@3.208.0: wanted: {"node":">=14.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @aws-sdk/util-config-provider@3.208.0
npm WARN notsup Unsupported engine for @aws-sdk/types@3.215.0: wanted: {"node":">=14.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @aws-sdk/types@3.215.0
npm WARN notsup Unsupported engine for @aws-sdk/util-base64@3.208.0: wanted: {"node":">=14.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @aws-sdk/util-base64@3.208.0
npm WARN notsup Unsupported engine for @aws-sdk/util-hex-encoding@3.201.0: wanted: {"node":">=14.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @aws-sdk/util-hex-encoding@3.201.0
npm WARN notsup Unsupported engine for @aws-sdk/util-endpoints@3.216.0: wanted: {"node":">=14.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @aws-sdk/util-endpoints@3.216.0
npm WARN notsup Unsupported engine for @aws-sdk/util-body-length-node@3.208.0: wanted: {"node":">=14.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @aws-sdk/util-body-length-node@3.208.0
npm WARN notsup Unsupported engine for @aws-sdk/util-buffer-from@3.208.0: wanted: {"node":">=14.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @aws-sdk/util-buffer-from@3.208.0
npm WARN notsup Unsupported engine for @aws-sdk/util-user-agent-node@3.215.0: wanted: {"node":">=14.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @aws-sdk/util-user-agent-node@3.215.0
npm WARN notsup Unsupported engine for @aws-sdk/util-middleware@3.215.0: wanted: {"node":">=14.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @aws-sdk/util-middleware@3.215.0
npm WARN notsup Unsupported engine for @aws-sdk/util-uri-escape@3.201.0: wanted: {"node":">=14.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @aws-sdk/util-uri-escape@3.201.0
npm WARN notsup Unsupported engine for @aws-sdk/util-utf8-node@3.208.0: wanted: {"node":">=14.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @aws-sdk/util-utf8-node@3.208.0
npm WARN notsup Unsupported engine for @aws-sdk/util-locate-window@3.208.0: wanted: {"node":">=14.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @aws-sdk/util-locate-window@3.208.0
npm WARN notsup Unsupported engine for @eslint-community/eslint-utils@4.4.0: wanted: {"node":"^12.22.0 || ^14.17.0 || >=16.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @eslint-community/eslint-utils@4.4.0
npm WARN notsup Unsupported engine for @eslint/eslintrc@2.1.0: wanted: {"node":"^12.22.0 || ^14.17.0 || >=16.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @eslint/eslintrc@2.1.0
npm WARN notsup Unsupported engine for @eslint/js@8.44.0: wanted: {"node":"^12.22.0 || ^14.17.0 || >=16.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @eslint/js@8.44.0
npm WARN notsup Unsupported engine for @humanwhocodes/module-importer@1.0.1: wanted: {"node":">=12.22"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @humanwhocodes/module-importer@1.0.1
npm WARN notsup Unsupported engine for @kaciras/deasync@1.0.3: wanted: {"node":">=14"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @kaciras/deasync@1.0.3
npm WARN notsup Unsupported engine for @redis/client@1.1.0: wanted: {"node":">=14"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @redis/client@1.1.0
npm WARN notsup Unsupported engine for @rocket.chat/forked-matrix-appservice-bridge@4.0.1: wanted: {"node":">=14"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @rocket.chat/forked-matrix-appservice-bridge@4.0.1
npm WARN notsup Unsupported engine for @rocket.chat/forked-matrix-bot-sdk@0.6.0-beta.2: wanted: {"node":">=14.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @rocket.chat/forked-matrix-bot-sdk@0.6.0-beta.2
npm WARN notsup Unsupported engine for @typescript-eslint/scope-manager@5.60.1: wanted: {"node":"^12.22.0 || ^14.17.0 || >=16.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @typescript-eslint/scope-manager@5.60.1
npm WARN notsup Unsupported engine for @typescript-eslint/parser@5.60.1: wanted: {"node":"^12.22.0 || ^14.17.0 || >=16.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @typescript-eslint/parser@5.60.1
npm WARN notsup Unsupported engine for @typescript-eslint/eslint-plugin@5.60.1: wanted: {"node":"^12.22.0 || ^14.17.0 || >=16.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @typescript-eslint/eslint-plugin@5.60.1
npm WARN notsup Unsupported engine for @typescript-eslint/type-utils@5.60.1: wanted: {"node":"^12.22.0 || ^14.17.0 || >=16.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @typescript-eslint/type-utils@5.60.1
npm WARN notsup Unsupported engine for @typescript-eslint/typescript-estree@5.60.1: wanted: {"node":"^12.22.0 || ^14.17.0 || >=16.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @typescript-eslint/typescript-estree@5.60.1
npm WARN notsup Unsupported engine for @typescript-eslint/visitor-keys@5.60.1: wanted: {"node":"^12.22.0 || ^14.17.0 || >=16.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @typescript-eslint/visitor-keys@5.60.1
npm WARN notsup Unsupported engine for @typescript-eslint/utils@5.60.1: wanted: {"node":"^12.22.0 || ^14.17.0 || >=16.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @typescript-eslint/utils@5.60.1
npm WARN notsup Unsupported engine for @typescript-eslint/types@5.60.1: wanted: {"node":"^12.22.0 || ^14.17.0 || >=16.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: @typescript-eslint/types@5.60.1
npm WARN notsup Unsupported engine for anti-trojan-source@1.4.0: wanted: {"node":">=14.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: anti-trojan-source@1.4.0
npm WARN notsup Unsupported engine for eslint@8.45.0: wanted: {"node":"^12.22.0 || ^14.17.0 || >=16.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: eslint@8.45.0
npm WARN notsup Unsupported engine for eslint-visitor-keys@3.4.1: wanted: {"node":"^12.22.0 || ^14.17.0 || >=16.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: eslint-visitor-keys@3.4.1
npm WARN notsup Unsupported engine for espree@9.6.0: wanted: {"node":"^12.22.0 || ^14.17.0 || >=16.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: espree@9.6.0
npm WARN notsup Unsupported engine for image-size@1.0.2: wanted: {"node":">=14.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: image-size@1.0.2
npm WARN notsup Unsupported engine for meow@10.1.2: wanted: {"node":"^12.20.0 || ^14.13.1 || >=16.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: meow@10.1.2
npm WARN notsup Unsupported engine for ranges-push@6.0.12: wanted: {"node":"^12.20.0 || ^14.13.1 || >=16.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: ranges-push@6.0.12
npm WARN notsup Unsupported engine for react-hook-form@7.45.4: wanted: {"node":">=12.22.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: react-hook-form@7.45.4
npm WARN notsup Unsupported engine for ranges-apply@6.0.12: wanted: {"node":"^12.20.0 || ^14.13.1 || >=16.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: ranges-apply@6.0.12
npm WARN notsup Unsupported engine for ranges-sort@5.0.12: wanted: {"node":"^12.20.0 || ^14.13.1 || >=16.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: ranges-sort@5.0.12
npm WARN notsup Unsupported engine for string-collapse-leading-whitespace@6.0.12: wanted: {"node":"^12.20.0 || ^14.13.1 || >=16.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: string-collapse-leading-whitespace@6.0.12
npm WARN notsup Unsupported engine for string-left-right@5.0.12: wanted: {"node":"^12.20.0 || ^14.13.1 || >=16.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: string-left-right@5.0.12
npm WARN notsup Unsupported engine for string-trim-spaces-only@4.0.12: wanted: {"node":"^12.20.0 || ^14.13.1 || >=16.0.0"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: string-trim-spaces-only@4.0.12
npm WARN notsup Unsupported engine for typescript@5.2.2: wanted: {"node":">=14.17"} (current: {"node":"12.14.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: typescript@5.2.2

npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@rocket.chat%2faccount-utils - Not found
npm ERR! 404 
npm ERR! 404  '@rocket.chat/account-utils@0.0.1' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/rocket/.npm/_logs/2023-10-25T14_06_53_682Z-debug.log
$ 
maxhaslbeck commented 1 year ago

how did you build rocket chat with npm? what guide did you use? how did you make sure your version of node is v14.21.3?

zetoadmin commented 1 year ago

1) I built it by below code. And next, script starts rocket chat

        tar -xf "${__NEW_RELEASE_NAME}" -C /opt/
        if [[ -d "/opt/bundle" ]]; then
            mv "/opt/bundle" "${CHAT_PATH}"
            chown -R rocket:rocket ${CHAT_PATH}
            su - rocket -c "cd ${CHAT_PATH}/programs/server; npm config set loglevel warn; npm install"
        else
            echo -e "\n \e[41m### Error:\e[49m\tThere is no dir: \e[92m${CHAT_PATH}\e[39m\n"
            exit 1
        fi

2)


# node -v
v14.21.3
# npm -v
9.8.1
# 
maxhaslbeck commented 1 year ago

only guessing on my side: does user rocket have a different npm / node version? which user runs rocketchat in the end?

zetoadmin commented 1 year ago
[rocket@chat ~]$ node -v
v14.21.3
[rocket@chat ~]$ npm -v
6.13.4
[rocket@chat ~]$ 

:|

zetoadmin commented 1 year ago

Does it make a difference?

zetoadmin commented 1 year ago

? ;]

zetoadmin commented 12 months ago

? ;]

brzlvch commented 12 months ago

Has the same problem

root@rocketchat:/tmp# node -v
v14.21.3
root@:/tmp# npm -v
6.14.18

Log:

Nov 16 19:30:30 rocketchat rocketchat[17030]: Error: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /opt/Rocket.Chat/programs/server/npm/node_modules/isolated-vm/out/isolated_vm.node)

System:

root@rocketchat:/tmp# ldd --version
ldd (Ubuntu GLIBC 2.27-3ubuntu1.5) 2.27
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.

root@rocketchat:/tmp# lsb_release --all
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.4 LTS
Release:        18.04
Codename:       bionic

How to solve this problem?

CptKoko commented 11 months ago

Hi. I have the same problem. Also with Ubuntu 18.04 Is it related to the old ubuntu? I think of updating that first (though this is quite a hassle in my case).

dida79 commented 11 months ago

Same problem here, with Ubuntu 18.04 Dec 13 21:24:57 jm rocketchat[16235]: Error: /lib/x86_64-linux-gnu/libm.so.6: version GLIBC_2.29' not found (required by /opt/Rocket.Chat/programs/server/npm/node_modules/isolated-vm/out/isolated_vm.node)

brzlvch commented 11 months ago

Has the same problem

root@rocketchat:/tmp# node -v
v14.21.3
root@:/tmp# npm -v
6.14.18

Log:

Nov 16 19:30:30 rocketchat rocketchat[17030]: Error: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /opt/Rocket.Chat/programs/server/npm/node_modules/isolated-vm/out/isolated_vm.node)

System:

root@rocketchat:/tmp# ldd --version
ldd (Ubuntu GLIBC 2.27-3ubuntu1.5) 2.27
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.

root@rocketchat:/tmp# lsb_release --all
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.4 LTS
Release:        18.04
Codename:       bionic

How to solve this problem?

We were able to solve problem only by migration to Ubuntu 22.04

DerFaysal commented 3 months ago

i have the exact same problem, i was trying to update my rocketchat from 6.9.2 to 6.10.1

OS: RedHat 8.10
npm version: 6.14.18
node verision: v14.21.3

the error is:

Error: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by /opt/kvb/rocketchat-6.10.0/programs/server/npm/node_modules/isolated-vm/out/isolated_vm.node)
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:1173:18)
    at Module.load (internal/modules/cjs/loader.js:979:32)
    at Module.Mp.load (/opt/kvb/rocketchat-6.10.0/programs/server/runtime.js:37:33)
    at Function.Module._load (internal/modules/cjs/loader.js:819:12)
    at Module.require (internal/modules/cjs/loader.js:1003:19)
    at require (internal/modules/cjs/helpers.js:107:18)
    at Object.<anonymous> (/opt/kvb/rocketchat-6.10.0/programs/server/npm/node_modules/isolated-vm/isolated-vm.js:1:-44)
    at Module._compile (internal/modules/cjs/loader.js:1114:14)
    at Module.Mp._compile (/opt/kvb/rocketchat-6.10.0/programs/server/runtime.js:77:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1143:10)
    at Module.load (internal/modules/cjs/loader.js:979:32)
    at Module.Mp.load (/opt/kvb/rocketchat-6.10.0/programs/server/runtime.js:37:33)
    at Function.Module._load (internal/modules/cjs/loader.js:819:12)
    at Module.require (internal/modules/cjs/loader.js:1003:19)
    at require (internal/modules/cjs/helpers.js:107:18)
    at npmRequire (/opt/kvb/rocketchat-6.10.0/programs/server/npm-require.js:111:12)
    at Module.useNode (packages/modules-runtime.js:751:18)
    at module (/opt/kvb/rocketchat-6.10.0/programs/server/packages/modules.js:210150:8)
    at fileEvaluate (packages/modules-runtime.js:336:7)
    at Module.require (packages/modules-runtime.js:238:14)
    at Module.moduleLink [as link] (/opt/kvb/rocketchat-6.10.0/programs/server/npm/node_modules/meteor/modules/node_modules/@meteorjs/reify/lib/runtime/index.js:52:22)
    at module (app/integrations/server/lib/isolated-vm/isolated-vm.ts:2:43)
    at fileEvaluate (packages/modules-runtime.js:336:7)
    at Module.require (packages/modules-runtime.js:238:14)
    at Module.moduleLink [as link] (/opt/kvb/rocketchat-6.10.0/programs/server/npm/node_modules/meteor/modules/node_modules/@meteorjs/reify/lib/runtime/index.js:52:22)
    at module (app/integrations/server/lib/triggerHandler.js:1:1311)
    at fileEvaluate (packages/modules-runtime.js:336:7)
    at Module.require (packages/modules-runtime.js:238:14)
    at Module.moduleLink [as link] (/opt/kvb/rocketchat-6.10.0/programs/server/npm/node_modules/meteor/modules/node_modules/@meteorjs/reify/lib/runtime/index.js:52:22)
    at server/services/meteor/service.ts:1:72
    at module (server/services/meteor/service.ts:286:2)
    at fileEvaluate (packages/modules-runtime.js:336:7)
    at Module.require (packages/modules-runtime.js:238:14)
    at Module.moduleLink [as link] (/opt/kvb/rocketchat-6.10.0/programs/server/npm/node_modules/meteor/modules/node_modules/@meteorjs/reify/lib/runtime/index.js:52:22) {
  code: 'ERR_DLOPEN_FAILED'
}