Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Purge Room API reports "Unknown room" for room that exists #6547

@aaronraimist

Description

@aaronraimist

I have been in some kind of half in half out state with !OGEhHVWSdvArJzumhm:matrix.org, see #6520. Today I clicked clear cache in Riot and sync was failing with the following error:
Screen Shot 2019-12-13 at 8 02 10 PM

Attempting to use the purge room API on !OGEhHVWSdvArJzumhm:matrix.org returned:

{
    "errcode": "M_NOT_FOUND",
    "error": "Unknown room !OGEhHVWSdvArJzumhm:matrix.org"
}

The only way I could figure out how to get my sync to work was to go into the Synapse manhole and run hs.get_datastore().purge_room('!OGEhHVWSdvArJzumhm:matrix.org') which let the sync complete.

Metadata

Metadata

Assignees

No one assigned

    Labels

    z-bug(Deprecated Label)z-p2(Deprecated Label)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions