-
Notifications
You must be signed in to change notification settings - Fork 11.3k
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 with Role Admin cannot login (Ubuntu snap) #31893
Comments
I'm having exactly the same problem. |
@hackbard-sealion Do you currently have an active message removal policy? |
Hi @luizjr, You mean this? https://docs.rocket.chat/use-rocket.chat/workspace-administration/settings/retention-policy I don't think so, but since i can not login as an admin, i can not verify at this point... |
Yes, that was right, I enabled it 4 days before these problems started. But there was an update too! |
Hello, friend @hackbard-sealion, I have news, I tried a lot looking for solutions. I ended up getting to one alone:
Commands here below, via the mongo shell:
And believe me, it did the trick for me. |
Wow, thank you so much. that did the trick also for me! Actually i was on a similar path some days ago where i deletes the banner messages from the profiles, but that did not help. Dropping the complete table did it. Thank you! |
We are also affected by this bug... It was making RocketChat completely unusable (literally... browser crashes / infinite loading on the app) to anyone that had the admin role. We solved it by forcing a fixed response with an empty array of banners for any request to |
Can you please describe in more detail how to do it? |
Our RocketChat instance is served from an AWS ELB, so we just included a listener rule to do that. Something like:
But you can achieve the same result by adding Apache Httpd or Nginx server in front of your chat instance with a fixed response rule for that route. You could also change the RocketChat API directly in the code, if you prefer. |
I am facing this issue too. However I cannot locate db.rocketchat_banner |
You should open up mongo shell, and then: then switch to rocketchat: then this will show you your collections: then you can check the contents of the banner collection: and then you can set all the banners to "false": You don't need to check everything on the way, just this two commands are enough: |
Oh. Thanks a lot. I can get back in my admin page. |
After update App today. seem fix my problem. |
Is there a way to disable these messages on mobile devices? |
Doesn't work. After a restart, there are new active banner messages and the banner re-appears:
|
Yes, the banner messages are added back in after a restart and once every 12 hours. There are probably many more elegant ways to do it, but I just added this to my crontab, so that every 10 minutes the banners are cleared out, in case they reappear:
|
We are experiencing the same issue. Administrators are unable to log in and are facing an infinite loading screen. The workaround described here helped us resolve it. It seems like a bug. How can we notify the Rocket.Chat team about the need for a fix? |
My RocketChat installation is deployed using Docker. The issue is relevant for us as well. |
I have a cron job for cloud workspace sync that runs every 12 hours, but the banners have been in the false state for several days now. |
For me they reappear every 12 hours, I log whenever they reappear. Only on March 28th I got just one reappearance instead of two. Banners removed on:
|
it's a bit hard to know what to say here as there seem to be multiple versions exhibiting issues so it is difficult to sort the wood from the trees. If you have an issue we need to know the version, deployment method, licence type etc so please fill in a bug template properly rather than just saying 'me too' Please make sure you test on the latest available version as well. Thanks. |
This issue has been marked as stale because there has been no further activity in the last 10 days. If the issue remains stale for the next 4 days (a total of 14 days with no activity), then it will be assumed that the question has been resolved and the issue will be automatically closed. |
Still waiting for response. |
Still waiting for your specific information as I mentioned above. There are several "metoo" comments but it needs specific info for each. Also note some work on banners - which seems to be a theme here - lands in 6.10 |
@reetp What I can say is that a notification arrives every day, but if I click close it doesn't close, I can only do it by going to mongodb and removing it by hand. |
Again, see the other bug which may well fix it. First RCs for 6.10 will be out any day - please test. |
This issue has been marked as stale because there has been no further activity in the last 10 days. If the issue remains stale for the next 4 days (a total of 14 days with no activity), then it will be assumed that the question has been resolved and the issue will be automatically closed. |
Still no solution |
Still not related to this issue regarding logins so no there won't be a solution here. See the previously mentioned bug which relates to your problem, and note that there are fixes in 6.10 Test on that, and comment on the correct issue. Thanks. |
This issue has been marked as stale because there has been no further activity in the last 10 days. If the issue remains stale for the next 4 days (a total of 14 days with no activity), then it will be assumed that the question has been resolved and the issue will be automatically closed. |
Hey @hackbard-sealion @luizjr @bakaevmm when the client is infinitely loading do you get any errors on the browser console? Thanks! |
yes, this is the behavior, no error, nothing, it just crashes for anyone who is an admin. |
I see, could you share the entries on the DB that causes issue, I think we might have some malformed data that is breaking the UI, I'll try to reproduce the issue locally with the DB entries. |
I have a similar problem, everything freezes on any clients, including iOS. Clearing banners in mongo helps, before the next update. You click on the cross - the request goes away, but nothing happens, the banner remains. I completely clean Until the next update... |
This should be fixed by #32552 are you in version 6.10?
Could you share the records that causes the issue? Thanks! |
Yes, 6.10.0 (Community), docker installation, MongoDB 6.0.13 I attached a log file, but I'm not sure if there is anything suitable there. |
"You have reached your monthly mobile push limit" |
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! |
This issue has been marked as stale because there has been no further activity in the last 10 days. If the issue remains stale for the next 4 days (a total of 14 days with no activity), then it will be assumed that the question has been resolved and the issue will be automatically closed. |
This issue was closed because it has been inactive for 14 days since being marked as stale. |
Hello Martin. Unfortunately that direct chat says that no such room. Looks like permission problem. |
Description:
User with Role Admin cannot login to self hosted rocketchat instance. The famous three dots are shown and browser goes into death loop until showing out of memory message
Steps to reproduce:
Expected behavior:
Normal Login
Actual behavior:
Server Setup Information:
Client Setup Information
Additional context
if i use
db.users.update({username: "admin_name"}, { $pull: { roles: "admin"}})
the user can immediatly access rocketchat after ctrl+r
Relevant logs:
Cannot enter Workspace, cannot provide Logs.
Thank you for helping!
The text was updated successfully, but these errors were encountered: