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

Status is not correctly updated after update to 6.6.0 #31705

Closed
jfrede opened this issue Feb 9, 2024 · 20 comments · Fixed by #31723
Closed

Status is not correctly updated after update to 6.6.0 #31705

jfrede opened this issue Feb 9, 2024 · 20 comments · Fixed by #31723

Comments

@jfrede
Copy link

jfrede commented Feb 9, 2024

Description:

After updating to version 6.6.0 the status of a person is only updated when the page is reloaded.
In version 5.5.x this worked fine.

Steps to reproduce:

  1. update to Version 6.6.0
  2. update your status
  3. watch status on another user

Expected behavior:

Status update when somebody changes status

Actual behavior:

Status will not be updated, only when i reload the page.

Server Setup Information:

  • Version of Rocket.Chat Server: 6.6.0
  • Operating System: debian 12
  • Deployment Method: docker
  • Number of Running Instances: 1
  • DB Replicaset Oplog: 128
  • NodeJS Version: from docker 6.6.0 Container
  • MongoDB Version: 5.0 (docker)

Client Setup Information

  • Desktop App or Browser Version: Google Chrome Version 121.0.6167.139 (Offizieller Build) (64-Bit)
  • Operating System: Linux (OpenSUSE Leap 15.5 and Debian12)

Additional context

Relevant logs:

@lovekyleman
Copy link

Users always online here

@Gummikavalier
Copy link

I confirm this issue too in RC 6.6.0. Reload makes it change, but otherwise remains stuck to current state.

@k3tiv
Copy link

k3tiv commented Feb 9, 2024

Same problem here
server: 6.6.0
desktop app: 3.9.12

image

@PranitPatil03
Copy link

Hello @jfrede

I have tested this in my own environment and noticed that the User status updates in real-time. I also have a video demonstrating the entire process.

Rocket.Chat.Issue.2.mp4

@JoeLynnTurner1
Copy link

JoeLynnTurner1 commented Feb 10, 2024

I have the same problem after upgrading from version 6.4.4 to 6.6.0. Status are not updated, only need reload the page.
Snap installation.

@jfrede
Copy link
Author

jfrede commented Feb 10, 2024

Hello @PranitPatil03

I've also done a Video with the Server log open.

vokoscreenNG-2024-02-10_17-29-41.mp4

@chotaire
Copy link

chotaire commented Feb 10, 2024

We're suffering the same problem, upgraded to 6.6.0 via docker-compose. However, a reload of the page still shows everyone as online in the list of direct messages on the left and within the memberlist of a channel. No reload (no matter if deleting cache or not) will fix this. Restarting the docker stack finally sets people offline who're actually offline. We're using an apache reverse proxy. @sampaiodiego maybe take a look into this when you're back from the weekend.

@xcpdq
Copy link

xcpdq commented Feb 10, 2024

Having the same issue too. After upgrading to 6.0.0 (Enterprise license) via docker-compose almost all of our team members are showing as online. Tested Reload and Reload ignoring cache, same issue. Also, notifications don't work well anymore too. DM's no longer have the sound.

@ugzv
Copy link

ugzv commented Feb 11, 2024

Having the same issue too. After upgrading to 6.0.0 (Enterprise license) via docker-compose almost all of our team members are showing as online. Tested Reload and Reload ignoring cache, same issue. Also, notifications don't work well anymore too. DM's no longer have the sound.

Same here. I hope this will be resolved soon.

@mvvvmd
Copy link

mvvvmd commented Feb 14, 2024

Same issue with community server v6.6.0, snap on Ubuntu 20.04, with the latest clients & in the browser. We tested the client snap, flatpak & .deb, multiple users affected. We also reset user status because this resolved status issues before.

sudo rocketchat-server.mongo

use parties

db.usersSessions.deleteMany({})
db.users.updateMany({status:"online"},{$set:{status:"offline"}})
exit

@sampaiodiego
Copy link
Member

thx guys for letting me know about this.. I noticed this as well last week and asked some colleagues to take a look, they came up with the following PR the same day this issue was opened 😬 #31723

we'll probably have a patch release soon

@Gummikavalier
Copy link

Gummikavalier commented Feb 20, 2024

Tested and working in RC 6.6.1.

Shift-reload was required for the web client. Maybe plain F5 would have been enough too.

@lovekyleman
Copy link

Tested and working in RC 6.6.1.

Shift-reload was required for the web client. Maybe plain F5 would have been enough too.

6.6.1. On rocketchat iOS app I see all users online. Users status bug isn't fixed

@sampaiodiego
Copy link
Member

@jfrede thanks for detailed report and video.. I'd appreciate if you can test out 6.6.1, the issue you showed was fixed on that version.

everyone else still having issues pls add more details on issue #31768

@jfrede
Copy link
Author

jfrede commented Feb 21, 2024

Sry i can't test this on my environment because the docker containers are only build for releases not for release candidates and i don't want to build the container by my own.

@sampaiodiego
Copy link
Member

@jfrede 6.6.1 is not actually a release candidate.. 6.6.1 final is already available as Docker containers

@jfrede
Copy link
Author

jfrede commented Feb 22, 2024

Yes installed it today and works fine tnx for your work.

@pythys
Copy link

pythys commented Feb 26, 2024

The problem is not resolved in 6.6.1

@chotaire
Copy link

chotaire commented Feb 27, 2024

Yeah, it has returned to us too, using 6.6.1 (docker). People always showing as online and active, if they were ever online once (likely using the web browser) after the stack has restarted. Even in the middle of the night everyone is online green. This issue needs to be revisited.

@sampaiodiego
Copy link
Member

thx for the reports everyone, this is the fix for this new buggy behavior #31833

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.