Rocket.chat: Notifications doesn't work after server update to 0.74.0

Created on 29 Jan 2019  路  24Comments  路  Source: RocketChat/Rocket.Chat

My Setup

Operating System: Windows 10 Professional 64bit build: 1803 and 1809
App Version: 2.14.7(current version on Rocket.chat install menu)
Installation type: exe
Server: 0.74.0

Description

I am using Rocket.Chat 2.14.7 on Windows 10. After update server from 0.72.0 to 0.74.0 notifications doesn't work anywhere eg. from web browser (Google Chrome) or from Windows Client 2.14.7 even "Test notification button" in user settings doesn't work.

Before update server to 0.74.0 notifications work well.

notification uux bug support

All 24 comments

+1 馃憤

just now test on tar 074. push to mobile with apw and notification on desktop just arrived and work well. test notification button was not working.

Same problem but solved.
I was still using mongodb version 3.0 , and with 0.74.0 notifications stopped working.
Upgraded mongo to version 3.4 and now everything works fine.

hm...MongoDB shell version v3.6.8 is my installation..

Anybody experiencing a similar issue with Mongo 3.2? Which Mongo version are you running @SupportAdar ?

@SupportAdar can you please fill the setup details?

- Version of Rocket.Chat Server: 
- Operating System: 
- Deployment Method: <!-- snap/docker/tar/etc -->
- Number of Running Instances: 
- DB Replicaset Oplog: 
- NodeJS Version: 
- MongoDB Version: 

Okay, I check everything and I have MongoDB 3.0.8 so I'll let You know when I upgrade it to 3.6.9. Thx for help ;)

hope that help)

Any advice before I'll start DB upgrade? I use this tutorial.

stop rocket stop mongo, yum/apt install, start mongo start rocket. this is was my steps then i am update. before procced ofcouse make snapshot vm/instance or something

Same issue here - downgrading to 0.73.2 seems to have brought the notifications back. I'm using the snap packaged version which I believe is running mongodb 3.2.x

"Test notification button" is broken (thanks @oguhpereira) and I'm investigating why.

It is actual notifications broken for us with 0.74.0 - I didn't try the test notification button; there were just client side javascript errors instead of notifications. So perhaps there are issues with both?

The reports above of fixing the issue by upgrading mongodb are interesting, does that mean that I need to wait for the rocketchat snap to also update mongodb past 3.2.x before upgrading again? Did some feature sneak in that needs minimum 3.4.x? Or is there documentation about how we are meant to deal with this case?

@tzar desktop notifications should not be broken, even on mongo 3.0 (which is not recommended anymore).

we'll need more details to address this issue.. can you please describe step by step when you expect to receive a notification and not receiving?

@tzar desktop notifications should not be broken, even on mongo 3.0 (which is not recommended anymore).

we'll need more details to address this issue.. can you please describe step by step when you expect to receive a notification and not receiving?

3.0 not recommend... hm... and 3.6.8 is ok? notification works, but test notifications in 0741 do not owrks on 3.6.8 mongo in my deployment

@Shaverdoff yes, 3.6.8 is ok! Test Notification button is broken on 0.74.2. The fix will be released on 0.74.3.

袗men! :) will wait new release. 07.4.1&3.6.8 button not work too))

@sampaiodiego will notifications work with mongo 3.2?

@sampaiodiego

  • I am using the packaged snap version of rocketchat server which seems to be bundled with mongo 3.2
  • My users complained that they were not receiving any notifications when being mentioned or direct messaged and I verified that this was the case
  • Downgrading rocketchat server to 0.73.2 caused the notifications to start working again
  • There was a javascript error (minified so not much help - Uncaught (in promise) TypeError: g is not a function) instead of a notification
  • One of our developers tried debugging it a bit and said they suspected it was connected to a failure to fetch avatars to show the notification

@TomaszDom yes, they will.

thanks for the infos @tzar .. I tried using the snap version as well, but notifications worked fine, as you can see in the video below:

out-2

was your test scenario like mine? what browsers (and versions) did you try?

@sampaiodiego hmm I only tested with chrome (71.0.3578.98) and rocketchat server is running on ubuntu LTS 16.04

The only real difference I can see is that you don't have any custom avatars set (we store ours on s3); if the issue is due to avatar loading this might mask it? If no luck I will have to find some downtime to re-upgrade it and see if I can find something more helpful.

@tzar It was the error I saw with "Test Desktop Notifications" button, fixed now by #13457. If the same error is throwed on browser's console when a notification is should be triggered then it is just a client side issue: no problem on Mongo layer at all.

guys the version 0.74.3 was just released including the mentioned fix. can you guys test it?

I don't think it has been packaged as a snap yet but will let you know how it goes once it is. Thanks!

Was this page helpful?
0 / 5 - 0 ratings