-
Notifications
You must be signed in to change notification settings - Fork 10.9k
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
Users stuck online (green) since upgrade 0.65.1 -> 0.660, not being sent notifications #11378
Comments
Hi @geekgonecrazy ! It's set to False / 300 both in Admin's Default, and in my user's personal settings. Nobody has ever touched it. Could it be that a migration flipped it from True to False? If I change it to True in the Admin Default, will that fix it for all the users? |
I am having the exact same issue. |
Same issue here as well. Was it previously enabled by default? |
@antgel If you enable in the Admin area it will change it globally. |
Did you guys have any issues with any of the migrations while updating? @RocketChat/core anyone know why this might have happened? If a migration did fail is there a fix they could manually run to fix this? I know if you want everyone to have it you likely could just run a query to set everyones back to true. |
Not that I know of. But if I set "Always notify mobile" to true everything works again (of course this annoys the sh*t out of users). So it must be something within RC and the Online state (detection). |
removing all records from |
I stopped the rocket, did a Edit: Removed not working comment. |
Actually dropping these records solved the issue for me. Thanks! |
@antgel please let me know it that works for you as well. thx |
I think the issue is resolved for us once it was enabled in the admin area. Any specific reason why it defaulted to off? |
@707eric it was changed to disable by default as a mistake when the admin option was created. |
Seems okay for me as well, after deleting user sessions and resetting the admin setting. @sampaiodiego Maybe it's worth resetting the admin to Enable in a future migration? Surely most users prefer this to be on... |
Can you make it so updates stop changing settings that an administrator sets? This has been causing me headaches for the last 6 months where I have to go through all our settings we set for the company after an update because the update changed something from True to False or removed the text that was entered. Nothing is documented to state that the settings changed either. I have been searching for a month looking at possible reasons push notifications stopped working, only to find out something I set was changed during an upgrade. Please leave configurations the way they were before an update. |
@stickboy06 I'm sorry if something caused trouble to you. I can guarantee we do not change setting values across updates, what we do is change the default value for them, that will not change your current value if you're updating. in very few cases, we change the value of a setting if it's still with the default value, but still not that usual. |
@stickboy06 can you provide us the list of settings you think was changed and the version you was upgrading to? Then we can investigate that. |
One of the times I upgraded to version 0.63.2. This changed the Push settings for Enable Gateway from True to False and then it cleared the Gateway text box. It also changed the Accounts settings in Default User Preferences for Enable Auto Away from True to False. I took over RocketChat administration when the person who used to do it left our company. I know he told me a couple of times that settings he made had been changed on other updates as well. One of the things that he told me changed was our File Upload settings. It changed the maximum size and also the Accepted Media Types behavior changed. We ended up having to remove our list because it didn't work properly, so now we allow ALL media types. I don't know what the other settings where. |
I've seeing this same issue with Rocket Chat Version 2.2.0 and desktop Version 2.16.2 |
@jwilczek if that happens you can restart all rocket.chat processes to free those stuck online users.. in the meantime, we're investigating what might cause this |
We have a script that restarts all of our RocketChat services every night because of memory leaks and other weird things where the services break or slow down so much that the users have issues. Restarting every night has made our cluster of RC servers more stable and usable across every version we update to. |
Description:
As per my post in the support forum - please visit the link for more information.
Steps to reproduce:
Expected behavior:
Users are marked as away for a certain time.
Actual behavior:
Online users are permanently online (green), never going to away (orange).
It also appears that a few users are stuck online (green), it's reasonable to assume the issues are connected.
This is actually pretty serious, because these users don't get push / email notifications that they have new messages.
Server Setup Information:
Additional context
@geekgonecrazy answered me in the thread, but as far as I know no issue was opened, so I'm opening this.
Relevant logs:
Don't see any relevant logs,
The text was updated successfully, but these errors were encountered: