-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Failed to get state for roomid after too early kick #15067
Comments
Can you see any other log lines for that room ID I would guess that this has hit #14859 |
At least not with the current loglevel WARNING... 🤔 (other than some clientside disconnects) |
Can you find the logs corresponding to the original purge? (Try grepping for |
Sadly i can only find a syntax error from right before the first purge (where i had an error in the pruge:true json syntax) |
#15068 should hopefully make the purge work. I don't yet understand what happened before the purge. Perhaps we can find something to improve there... will have to think some more on this. |
@verymilan If it's possible to wait for #15068 to land in a release, I'd recommend upgrading to it and trying to purge the room again. If that's not practical and you want to purge this room more urgently, I can provide instructions to manually do database surgery; but I'd prefer to avoid that if possible. |
Thanks a ton, great how quick that was! We will wait for the release including it :) |
If you're not unhappy with running release candidates, the fix is in v1.78.0rc1 which has gone out today. |
Great, thanks for the info :) |
@verymilan were you able to purge this room when running the 1.78 release? |
Description
A remote user was invited to a portal room created by the mautrix telegram bridge, causing the bridge kicking them out as soon as they tried to join. They now are in a room with unread messages that they can't configure, leave or purge. Not even
force_purge
helps. It purges forever until the server is restarted.When a purge is invoked, an error is thrown in the serverlog:
sync_partial_state_room-0 - Failed to get state for roomid at <FrozenEventV3 event_id
...We can't get valid state history., giving up!
Receiving room state via the api returns nothing and runs forever as well.
Steps to reproduce
This chat does not have a bot relaying messages for unauthenticated users
Homeserver
pragma-messenger.ch
Synapse Version
1.76.0
Installation Method
pip (from PyPI)
Database
PostgreSQL
Workers
Multiple workers
Platform
Debian 11, no containers or vms.
Configuration
Presence and Message retention are turned on. The Mjolnir module is installed.
Relevant log output
Anything else that would be useful to know?
The room was already purged on tchncs.de in an attempt to help the remote server – but with no luck (it's gone on tchncs.de tho). The affected room has room version 6.
The text was updated successfully, but these errors were encountered: