Open zetoadmin opened 9 months 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
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: