Open zetoadmin opened 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?
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
#
only guessing on my side: does user rocket
have a different npm / node version? which user runs rocketchat in the end?
[rocket@chat ~]$ node -v
v14.21.3
[rocket@chat ~]$ npm -v
6.13.4
[rocket@chat ~]$
:|
Does it make a difference?
? ;]
? ;]
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?
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).
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)
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
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'
}
Hi. After upgrade rocket chat 6.3.8 to any 6.4 release (also latest), it fail while starting with error:
My node version: v14.21.3
I also try to do:
And: