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.
User Directory not regenerating #5036
Closed
Description
Originally, our homeserver was federated and able to connect to the matrix network. I decided to remove federation per another Github issue by just whitelisting the local HS for federation. Following this, the search_all_users
was set to true
and I performed the psql command UPDATE user_directory_stream_pos SET stream_id = NULL;
to regenerate the user directory as I wanted the HS to only search local users and forget about all other users it had encountered during federation. However, after a restart of Synapse the user directory still contains entries for users outside of the local installation. How do I clear these entries and force a regeneration of the user directory?