RocketChat / Rocket.Chat

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

Version 6.5.0 will not start. #31145

Closed ymch closed 9 months ago

ymch commented 9 months ago

Description:

I just updated Rocket.Chat to version 6.5.0, but the Rocket.Chat process was killed by an error that 'GLIBCXX_3.4.30' was not found.

Server Setup Information:

Relevant logs:

systemd: Started The Rocket.Chat server.
rocketchat: Some indexes for collection 'rocketchat_analytics' could not be created:
rocketchat: #011An existing index has the same name as the requested index. When index names are not specified, they are auto generated and can cause conflicts. Please refer to our documentation. Requested index: { v: 2, unique: true, key: { room._id: 1, date: 1 }, name: "room._id_1_date_1", partialFilterExpression: { type: "rooms" } }, existing index: { v: 2, unique: true, key: { room._id: 1, date: 1 }, name: "room._id_1_date_1" }
rocketchat: Some indexes for collection 'rocketchat_uploads' could not be created:
rocketchat: #011An existing index has the same name as the requested index. When index names are not specified, they are auto generated and can cause conflicts. Please refer to our documentation. Requested index: { v: 2, key: { rid: 1 }, name: "rid_1", sparse: true }, existing index: { v: 2, key: { rid: 1 }, name: "rid_1" }
rocketchat: /opt/Rocket.Chat/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:218
rocketchat:      throw error;
rocketchat:      ^
rocketchat: Error: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /opt/Rocket.Chat/programs/server/npm/node_modules/isolated-vm/out/isolated_vm.node)
rocketchat:    at Object.Module._extensions..node (internal/modules/cjs/loader.js:1173:18)
rocketchat:    at Module.load (internal/modules/cjs/loader.js:979:32)
rocketchat:    at Module.Mp.load (/opt/Rocket.Chat/programs/server/runtime.js:37:33)
rocketchat:    at Function.Module._load (internal/modules/cjs/loader.js:819:12)
rocketchat:    at Module.require (internal/modules/cjs/loader.js:1003:19)
rocketchat:    at require (internal/modules/cjs/helpers.js:107:18)
rocketchat:    at Object.<anonymous> (/opt/Rocket.Chat/programs/server/npm/node_modules/isolated-vm/isolated-vm.js:1:-44)
rocketchat:    at Module._compile (internal/modules/cjs/loader.js:1114:14)
rocketchat:    at Module.Mp._compile (/opt/Rocket.Chat/programs/server/runtime.js:77:23)
rocketchat:    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1143:10)
rocketchat:    at Module.load (internal/modules/cjs/loader.js:979:32)
rocketchat:    at Module.Mp.load (/opt/Rocket.Chat/programs/server/runtime.js:37:33)
rocketchat:    at Function.Module._load (internal/modules/cjs/loader.js:819:12)
rocketchat:    at Module.require (internal/modules/cjs/loader.js:1003:19)
rocketchat:    at require (internal/modules/cjs/helpers.js:107:18)
rocketchat:    at npmRequire (/opt/Rocket.Chat/programs/server/npm-require.js:111:12)
rocketchat:    at Module.useNode (packages/modules-runtime.js:751:18)
rocketchat:    at module (/opt/Rocket.Chat/programs/server/packages/modules.js:202897:8)
rocketchat:    at fileEvaluate (packages/modules-runtime.js:336:7)
rocketchat:    at Module.require (packages/modules-runtime.js:238:14)
rocketchat:    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)
rocketchat:    at module (app/integrations/server/lib/isolated-vm/isolated-vm.ts:2:43)
rocketchat:    at fileEvaluate (packages/modules-runtime.js:336:7)
rocketchat:    at Module.require (packages/modules-runtime.js:238:14)
rocketchat:    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)
rocketchat:    at module (app/integrations/server/lib/triggerHandler.js:1:1149)
rocketchat:    at fileEvaluate (packages/modules-runtime.js:336:7)
rocketchat:    at Module.require (packages/modules-runtime.js:238:14)
rocketchat:    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)
rocketchat:    at server/services/meteor/service.ts:1:72
rocketchat:    at module (server/services/meteor/service.ts:285:2)
rocketchat:    at fileEvaluate (packages/modules-runtime.js:336:7)
rocketchat:    at Module.require (packages/modules-runtime.js:238:14)
rocketchat:    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) {
rocketchat:  code: 'ERR_DLOPEN_FAILED'
rocketchat: }
systemd: rocketchat.service: Main process exited, code=exited, status=1/FAILURE
systemd: rocketchat.service: Failed with result 'exit-code'.
systemd: rocketchat.service: Consumed 18.774s CPU time.
# dnf list installed | grep glibc
glibc.x86_64                                2.34-83.el9.7                                     @baseos
glibc-common.x86_64                         2.34-83.el9.7                                     @baseos
glibc-devel.x86_64                          2.34-83.el9.7                                     @appstream
glibc-gconv-extra.x86_64                    2.34-83.el9.7                                     @baseos
glibc-headers.x86_64                        2.34-83.el9.7                                     @appstream
glibc-langpack-en.x86_64                    2.34-83.el9.7                                     @baseos
AntoninHL commented 9 months ago

Hello... On my side, I have exactly the same problem.

Description:

I just updated Rocket.Chat to version 6.5.0, but the Rocket.Chat process was killed by an error.

Server Setup Information:

Relevant logs:

rocketchat[1114]: Some indexes for collection 'rocketchat_uploads' could not be created:
rocketchat[1114]: #011An existing index has the same name as the requested index. When index names are not specified, they are auto generated and can cause conflicts. Please refer to our documentation. Requested index: { v: 2, key: { rid: 1 }, name: "rid_1", sparse: true }, existing index: { v: 2, key: { rid: 1 }, name: "rid_1" }
rocketchat[1114]: Some indexes for collection 'rocketchat_analytics' could not be created:
rocketchat[1114]: #011An existing index has the same name as the requested index. When index names are not specified, they are auto generated and can cause conflicts. Please refer to our documentation. Requested index: { v: 2, unique: true, key: { room._id: 1, date: 1 }, name: "room._id_1_date_1", partialFilterExpression: { type: "rooms" } }, existing index: { v: 2, unique: true, key: { room._id: 1, date: 1 }, name: "room._id_1_date_1" }
rocketchat[1114]: /opt/rocket/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:218
rocketchat[1114]:       throw error;
rocketchat[1114]:       ^
rocketchat[1114]: Error: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /opt/rocket/programs/server/npm/node_modules/isolated-vm/out/isolated_vm.node)
rocketchat[1114]:     at Object.Module._extensions..node (internal/modules/cjs/loader.js:1173:18)
rocketchat[1114]:     at Module.load (internal/modules/cjs/loader.js:979:32)
rocketchat[1114]:     at Module.Mp.load (/opt/rocket/programs/server/runtime.js:37:33)
rocketchat[1114]:     at Function.Module._load (internal/modules/cjs/loader.js:819:12)
rocketchat[1114]:     at Module.require (internal/modules/cjs/loader.js:1003:19)
rocketchat[1114]:     at require (internal/modules/cjs/helpers.js:107:18)
rocketchat[1114]:     at Object.<anonymous> (/opt/rocket/programs/server/npm/node_modules/isolated-vm/isolated-vm.js:1:-44)
rocketchat[1114]:     at Module._compile (internal/modules/cjs/loader.js:1114:14)
rocketchat[1114]:     at Module.Mp._compile (/opt/rocket/programs/server/runtime.js:77:23)
rocketchat[1114]:     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1143:10)
rocketchat[1114]:     at Module.load (internal/modules/cjs/loader.js:979:32)
rocketchat[1114]:     at Module.Mp.load (/opt/rocket/programs/server/runtime.js:37:33)
rocketchat[1114]:     at Function.Module._load (internal/modules/cjs/loader.js:819:12)
rocketchat[1114]:     at Module.require (internal/modules/cjs/loader.js:1003:19)
rocketchat[1114]:     at require (internal/modules/cjs/helpers.js:107:18)
rocketchat[1114]:     at npmRequire (/opt/rocket/programs/server/npm-require.js:111:12)
rocketchat[1114]:     at Module.useNode (packages/modules-runtime.js:751:18)
rocketchat[1114]:     at module (/opt/rocket/programs/server/packages/modules.js:202897:8)
rocketchat[1114]:     at fileEvaluate (packages/modules-runtime.js:336:7)
rocketchat[1114]:     at Module.require (packages/modules-runtime.js:238:14)
rocketchat[1114]:     at Module.moduleLink [as link] (/opt/rocket/programs/server/npm/node_modules/meteor/modules/node_modules/@meteorjs/reify/lib/runtime/index.js:52:22)
rocketchat[1114]:     at module (app/integrations/server/lib/isolated-vm/isolated-vm.ts:2:43)
rocketchat[1114]:     at fileEvaluate (packages/modules-runtime.js:336:7)
rocketchat[1114]:     at Module.require (packages/modules-runtime.js:238:14)
rocketchat[1114]:     at Module.moduleLink [as link] (/opt/rocket/programs/server/npm/node_modules/meteor/modules/node_modules/@meteorjs/reify/lib/runtime/index.js:52:22)
rocketchat[1114]:     at module (app/integrations/server/lib/triggerHandler.js:1:1149)
rocketchat[1114]:     at fileEvaluate (packages/modules-runtime.js:336:7)
rocketchat[1114]:     at Module.require (packages/modules-runtime.js:238:14)
rocketchat[1114]:     at Module.moduleLink [as link] (/opt/rocket/programs/server/npm/node_modules/meteor/modules/node_modules/@meteorjs/reify/lib/runtime/index.js:52:22)
rocketchat[1114]:     at server/services/meteor/service.ts:1:72
rocketchat[1114]:     at module (server/services/meteor/service.ts:285:2)
rocketchat[1114]:     at fileEvaluate (packages/modules-runtime.js:336:7)
rocketchat[1114]:     at Module.require (packages/modules-runtime.js:238:14)
rocketchat[1114]:     at Module.moduleLink [as link] (/opt/rocket/programs/server/npm/node_modules/meteor/modules/node_modules/@meteorjs/reify/lib/runtime/index.js:52:22) {
rocketchat[1114]:   code: 'ERR_DLOPEN_FAILED'
rocketchat[1114]: }
systemd[1]: rocketchat.service: Main process exited, code=exited, status=1/FAILURE
systemd[1]: rocketchat.service: Failed with result 'exit-code'.
Gavilaan commented 9 months ago

Same for me. Maybe you are as me on a Debian system. libstdc only ships with up to 3.4.28. I use the older version until this is solved.

to check:

strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX

AntoninHL commented 9 months ago

Solved for me... just upgraded some packages...

dpkg -l | grep libstdc
ii  libstdc++-11-dev:amd64   11.4.0-1ubuntu1~22.04    amd64   GNU Standard C++ Library v3
ii  libstdc++6:amd64     12.3.0-1ubuntu1~22.04      amd64        GNU Standard C++ Library v3

But big issue now... Limitations are introduced... No more than 25 users is possible!!! If you want more, you have to pay! All my company is blocked.

image

Rhywden commented 9 months ago

Since my org is paying for support, I just created a ticket directly.

debdutdeb commented 9 months ago

Use a non root account when running npm install or use npm install --unsafe-perm, and you will be good.

No need for building libc or upgrading host.

AInteriorB commented 9 months ago

New user limit without any announcements :-(

bastien-effetb commented 9 months ago

I had to rollback to 6.4.x with this 25 users limitation, not any information in the changelog, not any annoucement...

dantematik commented 9 months ago

New user limit without any announcements :-(

the news are on the this : https://de.rocket.chat/blog/new-starter-pro-plans

etaormm commented 9 months ago

@bastien-effetb @AntoninHL you can just cancel the subscription and get Community features (that includes more than 25 users). image

rodrigok commented 9 months ago

@AntoninHL @ymch we suggest installing Rocket.Chat via a docker image preventing any system dependency issue as you are having. Most of our other installation methods are supported by the community only.

Regarding the Free Plan limit of 25 users, you can go back to community by canceling the free subscription at the end of the Subscription page as mentioned by @etaormm and @dantematik

AntoninHL commented 9 months ago

@rodrigok @ymch

sorry, I can't cancel my subscription.... There is no "cancel" button at the bottom of the page...

image

ymch commented 9 months ago

Use a non root account when running npm install or use npm install --unsafe-perm, and you will be good. No need for building libc or upgrading host.

Thank you so much. It worked fine with npm install --unsafe-perm. The installation took about twice as long as usual.

@AntoninHL @ymch we suggest installing Rocket.Chat via a docker image preventing any system dependency issue as you are having. Most of our other installation methods are supported by the community only.

Currently, I have a tar.gz extracted and placed under /opt. As for Docker, we do not currently plan to install or configure it, but will consider it.

Regarding the Free Plan limit of 25 users, you can go back to community by canceling the free subscription at the end of the Subscription page as mentioned by @etaormm and @dantematik

We do not need full feature and have cancelled Starter subscription. I was able to cancel my subscription without any problem in my environment.

There still seems to be an issue with not being able to cancel the Starter subscription, do you mind if I close this issue thread? I think that issues that cannot be cancelled should be a new issue.

rodrigok commented 9 months ago

@AntoninHL can you repost at https://github.com/RocketChat/Rocket.Chat/issues/31149 so we concentrate the issue of canceling there? Please add info of your devtools so we can check any errors.

@ymch since your issue was solve, yes, feel free to close it.