-
Notifications
You must be signed in to change notification settings - Fork 10.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v4.7.0 not starting #25396
Comments
Me too.
|
Yes, same here, the service failed to start.
Ali
…On 5/4/22 21:24, ymch wrote:
Me too.
After updating from version 4.6.3 to 4.7.0, the process did not start.
The OS is CentOS Linux 7.9.2009.
`# systemctl start rocketchat
systemctl status rocketchat -l
* rocketchat.service - The Rocket.Chat server
Loaded: loaded (/usr/lib/systemd/system/rocketchat.service;
enabled; vendor preset: disabled)
Active: active (running) since Thu 2022-05-05 02:43:30 JST; 8s ago
Main PID: 12715 (node)
CGroup: /system.slice/rocketchat.service
`-12715 /usr/local/bin/node /opt/Rocket.Chat/main.js
rocketchat[12715]: at Socket.emit (events.js:400:28)
rocketchat[12715]: at Socket.emit (domain.js:475:12)
rocketchat[12715]: at addChunk (internal/streams/readable.js:293:12)
rocketchat[12715]: at readableAddChunk
(internal/streams/readable.js:267:9)
rocketchat[12715]: at Socket.Readable.push
(internal/streams/readable.js:206:10)
rocketchat[12715]: at TCP.onStreamRead
(internal/stream_base_commons.js:188:23)
rocketchat[12715]: at TCP.callbackTrampoline
(internal/async_hooks.js:130:17)
rocketchat[12715]: (Use |node --trace-warnings ...| to show where the
warning was created)
rocketchat[12715]: (node:12715) UnhandledPromiseRejectionWarning:
Unhandled promise rejection. This error originated either by throwing
inside of an async function without a catch block, or by rejecting a
promise which was not handled with .catch(). To terminate the node
process on unhandled promise rejection, use the CLI flag
|--unhandled-rejections=strict| (see
https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode).
(rejection id: 1)
rocketchat[12715]: (node:12715) [DEP0018] DeprecationWarning:
Unhandled promise rejections are deprecated. In the future, promise
rejections that are not handled will terminate the Node.js process
with a non-zero exit code.
`
—
Reply to this email directly, view it on GitHub
<#25396 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AR6ACJ7S2XVZKMAY3AAESPLVIK6EJANCNFSM5VCW4VRQ>.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I can confirm this with the docker version (ubuntu 20.04, docker version 20.10.14, mongodb version 5.0.8). Additional to the comments above I get the following error message on startup: |
same issue May 04 16:29:07 s162525.wholesaleinternet.net rocketchat-general[20160]: /opt/Rocket.Chat-4.7.0/programs/server/node_modules/fibers/future.js:280 Also mobile iphone on ios (NOT APP) is effectively broken. Uploads don't work, side menu is unusable, chat relaods entire pages when changing channels, etc. I Really wish we would have a version dedicated to bug fixes instead of adding new features. The upload has been broken for over 6 months now. |
Here:
|
At least the |
The log I posted was only partially copied.
Perhaps this is the reason why Rocket.Chat proccess does not start.
Maybe the version of glibc is different between the built environment and CentOS7. On CentOS7...
See, I knew it...
I guess 2.17 is the latest on the CentOS7 repository. Incidentally, index.linux-x64-gnu.node, which requires GLIBC_2.25, is a binary file. |
@ymch we are running 18.04 LTS, with the same issue... |
May 05 12:09:11 mersaal rocketchat[13821]: at Module.load (internal/modules/cjs/loader.js:950:32) |
Hi! Thank you for pointing this out and for the debug info! Our team is looking into this. Also, if interested, join our Beta Testers Channel and help us catch this errors at release candidate stage. Thanks! |
Any that have this can you list your OS and output of — then Finally then run yarn. It will recompile the module using your version of glibc. You will likely need rust installed from: https://www.rust-lang.org/tools/install I usually use their one line: you’ll probably need build-essential or the centos equivalent installed as well. if it throws a cmake error you might need newer version of cmake. We will try and get this fixed asap |
Thank you @geekgonecrazy |
yarn install v1.22.18 /bin/sh: 1: rustup: not found
error Command failed with exit code 1. |
echo $PATH |
Guess some issues ( |
The same problem. May 6 14:12:55 devel rocketchat: Error: /lib64/libc.so.6: version `GLIBC_2.25' not found (required by /opt/Rocket.Chat/programs/server/npm/node_modules/@rocket.chat/forked-matrix-sdk-crypto-nodejs/lib/index.linux-x64-gnu.node) |
Any idea on fixing the problem? |
Same Problem as above ldd (Ubuntu GLIBC 2.27-3ubuntu1) 2.27 |
Hi @galaxycube did you try the work around suggested by @geekgonecrazy ? |
@geekgonecrazy your comment:
Can you tell us, not so tech-savvy, guys what exactly we need to run here, please? I am stuck here as I am not so sure. |
I reverted back to 4.6.3 to get the system running again, however, upgrading to 4.7.x gives this error:
Anyone that can help me with this, please? EDIT: @dudanogueira do your team maybe have something for us? |
Before updating to new version, I usually rename the old one to .old
folder, and if the update fails, I just delete the new version folder
and rename the .old folder to only the name. I do not reinstall the old
version.
Ali
…On 5/16/22 11:57, Granwille wrote:
I tried reverting back to 4.6.3 but I am still getting this error:
|May 16 10:52:38 core.namhost.com rocketchat[87485]: at
Object.Module._extensions..js (internal/modules/cjs/loader.js:1205:10)
May 16 10:52:38 core.namhost.com rocketchat[87485]: at Module.load
(internal/modules/cjs/loader.js:1034:32) May 16 10:52:38
core.namhost.com rocketchat[87485]: at Module.Mp.load
(/opt/Rocket.Chat/programs/server/runtime.js:46:33) May 16 10:52:38
core.namhost.com rocketchat[87485]: at Function.Module._load
(internal/modules/cjs/loader.js:923:14) May 16 10:52:38
core.namhost.com rocketchat[87485]: at Module.require
(internal/modules/cjs/loader.js:1074:19) May 16 10:52:38
core.namhost.com rocketchat[87485]: at require
(internal/modules/cjs/helpers.js:72:18) May 16 10:52:38
core.namhost.com rocketchat[87485]: at Object.<anonymous>
***@***.***/forked-matrix-sdk-crypto-nodejs/lib/napi.js:24:11)
May 16 10:52:38 core.namhost.com systemd[1]: rocketchat.service: main
process exited, code=exited, status=1/FAILURE May 16 10:52:38
core.namhost.com systemd[1]: Unit rocketchat.service entered failed
state. May 16 10:52:38 core.namhost.com systemd[1]: rocketchat.service
failed. |
Anyone that can help me with this, please?
—
Reply to this email directly, view it on GitHub
<#25396 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AR6ACJ7EEQLB7LV2LHQ3TULVKIEXLANCNFSM5VCW4VRQ>.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
@whitetiger264 I am not that techi, but did you check your cert ? |
I will definitely keep this in mind next time. In the meantime, downgrading to 4.6.3 (https://releases.rocket.chat/4.6.3/download) got production back up and running again. |
Hello @geekgonecrazy , here is the output:
However for the stacktrace I pasted, I do not have glibc errors. Usually they comes up when something is compiled with a newer version than the local one. |
got same problems on ubuntu 18 - ldd (Ubuntu GLIBC 2.27-3ubuntu1.4) 2.27 |
Linked a fix to this that will at least prevent from starting. Discussing with team to see if we can release a patch. 🙏 and working on long term fix with the package maintainers. |
Fix mentioned by @geekgonecrazy was on rocket.chat patch release 4.7.2 |
Works 100% from 4.7.2, thank you! |
Works fine. |
@simonflutilliant For what it's worth, Debian Stretch is on life support, you have six more days before LTS finishes. https://wiki.debian.org/LTS |
Tried to compile on Windows 10, failed with the same error. Ran npm run ldd --version, got: 6.14.18. Just downloaded env and sources. |
Is there any specific instruction of upgrade from v4.6.3 to 4.7.0 ?
I have been using the following scrip to update:
sudo systemctl stop rocketchat
sudo rm -r /opt/Rocket.Chat.old
sudo mv /opt/Rocket.Chat /opt/Rocket.Chat.old
sudo n install 14.18.3
curl -L https://releases.rocket.chat/latest/download -o /tmp/rocket.chat.tgz
tar -xzf /tmp/rocket.chat.tgz -C /tmp
cd /tmp/bundle/programs/server
sudo npm install
sudo mv /tmp/bundle /opt/Rocket.Chat
sudo chown -R rocketchat:rocketchat /opt/Rocket.Chat
sudo systemctl start rocketchat
The text was updated successfully, but these errors were encountered: