Skip to content
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

"The application GUI just crashed" - after dismissing banner #33263

Open
kluvi opened this issue Sep 12, 2024 · 15 comments
Open

"The application GUI just crashed" - after dismissing banner #33263

kluvi opened this issue Sep 12, 2024 · 15 comments
Labels
stat: waiting response Tasked Added to the internal issue tracking

Comments

@kluvi
Copy link

kluvi commented Sep 12, 2024

Description:

When admin dismisses banner with notification, that new version 6.12 is available, the app crashes:
image

When I remove manually in mongo the role "admin" from user, everything works. Admins, that dont dismiss this notification are not affected.

Tried to delete some items from rocketchat_banner_dismiss, but it didnt help.

Notifications are working correctly even when the app is crashed, mobile app also works (but not the admin panel in mobile app)

Server Setup Information:

  • Version of Rocket.Chat Server: 6.12.0
  • Number of Users: about 70
  • Operating System: linux
  • Deployment Method: docker
  • Number of Running Instances: 1
  • DB Replicaset Oplog: enabled
  • NodeJS Version: 14.21.3 - x64
  • MongoDB Version: 4.4.29

Additional context

Same problem described here: https://forums.rocket.chat/t/application-error-the-application-gui-just-crashed/20534

Relevant logs:

browser console:

console.js:288 Error: Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=object%20with%20keys%20%7B%7D for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
    at aX (_define_property.mjs:14:1)
@CotPilot
Copy link

CotPilot commented Sep 13, 2024

I didn't close the banner. I just restarted the client - the same issue here.
I tried to clear the data of the desktop application. I tried logging in incognito mode in my browser. None of this changes the result - Minified React error 31 and "The application GUI just crashed".

@katiestarling
Copy link

Happening with our instance as well except none of us dismissed the banner it just randomly started happening late at night while I was answering messages and we have tried everything and even any fixes that have been mentioned in the past for this issue..we are quite confused and just upset but one odd note is an admin on MacBook is having no crashes and has been able to get in their admin panel but can't on their mobile browser or any other device and they are using the same browser that most of us admins use which is Firefox... it's been frustrating with no fix found yet! Let's hope soon cause having no access to the admin panel is just so frustrating...

@CotPilot
Copy link

This morning the interface suddenly was working. I saw a banner that a new version is available, but I didn't close it just in case. So I wrote in several chats, everything was OK for a while. Then I decided to go to the Workspace, to the admin section and it fall out again! And still the same "The application GUI just crashed" error.

@waveoffire
Copy link

waveoffire commented Sep 16, 2024

i just fixed it by running command:
/usr/bin/mongosh --eval 'use rocketchat' --eval 'db.rocketchat_banner.updateMany({active: true },{ $set: { active: false }})'
which disables all banners
you can add it to crontab
*/10 * * * * /usr/bin/mongosh --eval 'use rocketchat' --eval 'db.rocketchat_banner.updateMany({active: true },{ $set: { active: false }})'
the error is most likely caused by a message limit banner, which appears every 12 hours

@CotPilot
Copy link

Aaaand... it's all back!! Wow! @waveoffire thank you very much!

@reetp
Copy link

reetp commented Sep 17, 2024

For reference also mentioned here:

https://forums.rocket.chat/t/bug-on-admin-panel/20587

@KodoGit
Copy link

KodoGit commented Sep 17, 2024

For snap users:
sudo rocketchat-server.mongo --eval 'db.rocketchat_banner.updateMany({active: true },{ $set: { active: false }})' parties

@reetp
Copy link

reetp commented Sep 17, 2024

FYI this has been referred to devs.

@reetp reetp added the Tasked Added to the internal issue tracking label Sep 17, 2024
@MartinSchoeler
Copy link
Contributor

This is related to #31893 so I'll quote my response from there

Hey, just an update, I could not reproduce the issue locally, I will probably need a sample of the database entry that is causing the issue. If anyone wants to help, I believe you can force a recheck by asking for a license sync on the subscription admin page
And if you don't want to share your db entries on a public forum, feel free to dm me at https://open.rocket.chat/direct/martin.schoeler
Many thanks!

@reetp
Copy link

reetp commented Sep 19, 2024

Thanks Martin!

If anyone has an issue contacting Martin directly drop a message in #support there and I'll sort it out.

@KodoGit
Copy link

KodoGit commented Sep 23, 2024

When this error comes I have these active banners:
closeToSeatsLimit
reachedSeatsLimit
and a dozen of "Workspace members are not receiving notifications on mobile"
snap 6.12.1 Community

I wonder why SeatsLimit banners come to Community version.

@reetp
Copy link

reetp commented Sep 23, 2024

I wonder why SeatsLimit banners come to Community version.

Because if yoi read enough you will see that CE code is not separate. It is the same code as the licenced version with some parts disabled.

There have long been plans to release a CE with this sort of stuff removed but it is highly complex with some parts deeply embedded, and it would need to be maintained somehow.

Of course Rocket is open source so you can always fork it and remove whatever you want yourself if you don't like it.

@KodoGit
Copy link

KodoGit commented Sep 24, 2024

May be RC generates too much banners?

MongoDB shell version v5.0.15
connecting to: mongodb://127.0.0.1:27017/parties?compressors=disabled&gssapiServiceName=mongodb

MongoDB server version: 5.0.15
{ "acknowledged" : true, "matchedCount" : 441, "modifiedCount" : 441 }

@abhinavk-rw
Copy link

Are we going to have a fix from the developers for :-

Application Error
The application GUI just crashed.

@reetp
Copy link

reetp commented Sep 24, 2024

Are we going to have a fix from the developers for :-

Please read what the dev said.

You can't fix what you can't repeat. It's why full debugging information is important, and you have provided nothing about your own instance.

#33263 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stat: waiting response Tasked Added to the internal issue tracking
Projects
None yet
Development

No branches or pull requests

8 participants