-
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
"Oops! Something went wrong" while opening some channels via web/desktop since 5.0.0 #26365
Comments
I can confirm this in 5.0.0-rc12 with manual implementation... In our case no channel was imported, it happens with all rooms created in the service |
Confirm that |
duplicate of #26352 |
I already saw the #26352 but I thought it is different bug, since my related to room/chat, not user profile. |
I still think that this is a different problem than in #26352 We noticed that the error pops up at the moment when messages imported from Slack appear. Error:
|
Same here. We have this error in all channels when scrolling up to old messages imported from Slack. |
Same here. |
Seems I've found a root cause. But in threads imported from slack there is not Some routine to fix this threads maybe needed. |
Just tried this hack, and it works decent. On all this threads displayed only one participants, but at least all works now and channels/threads can be opened. |
Didn't fix error for me. Got |
Try to do |
I thought i've selected db before query. modifiedCount: 2703 |
Im having this issue with one channel. How do I implement this DB hack? Im new to Rocket.chat . |
@dotty37 if your rocketchat ran from docker-compose then you can run |
Hi
I deployed using the AWS AMI, 4.0.7, imported the Slack ZIP file and then
upgraded to 5.0.3.
I didn't import on 5.0.3 directly because there is an issue with that
already reported on Github.
If you provide me with some insight on how to run this, then I will give it
a try.
Thanks !
…On Thu, Aug 18, 2022 at 2:01 PM Aleksey Zagorodnikov < ***@***.***> wrote:
@dotty37 <https://github.com/dotty37> if your rocketchat ran from
docker-compose then you can run docker-compose exec mongo mongo rocketchat
and apply command into opened console.
—
Reply to this email directly, view it on GitHub
<#26365 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALLNAUEKBKJ5QGEZR3AD7OTVZZ3AXANCNFSM54WHPD4A>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Unfortunately, I'm not familiar with AWS at all. You should find a way to go to mongo console and run queries. |
This hack worked for me and I couldn't find any rooms that are still not working |
same error from ver 5.0.2
@iglooom Thanks for your great tips!
|
Is there a plan to fix this bug properly? Or at least compute a better manual query fix? |
I've fixed it "more properly" by computing the replies properly. I did it via python... so install pip, And then in python
Note that I do NOT think this fixes all the missing things.
Without these, will future versions of RocketChat crash? |
I finally had the chance to work on it today. I just had to do mongo --port 27017 and bang, inside the db. Typed the query hack and everything works now. Tested across reboots too. :-) |
@pierre-lehnen-rc You've fixed a handful of other slack import issues and this one looks like there's a fair bit of user research here to point the fix in the right direction. Any chance this one might fit into the team's workload? |
Fixed by #26652 |
Thanks, you rock. |
Description:
Since 5.0.0 we can't open some chats. Got "Oops! Something went wrong." on web/desktop only.
Android works fine.
No errors in logs, even in debug mode.
In browser console: "TypeError: j.replies is undefined"
All this channels was imported from slack earlier and worked just fine. But since 5.0.0 if chat has a thread from slack - this chat can't be opened.
When viewing from android app I've noticed that old threads from slack displayed as e.g. "Messages: 24, Users: 0". After I deleted all this threads - errors gone.
Steps to reproduce:
Server Setup Information:
If it needs some diagnostics, I can perform queries in mongo.
The text was updated successfully, but these errors were encountered: