Skip to content

Instantly share code, notes, and snippets.

@Justinzobel
Created June 3, 2022 01:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Justinzobel/b45e2e489e9115111a60da4038f33466 to your computer and use it in GitHub Desktop.
Save Justinzobel/b45e2e489e9115111a60da4038f33466 to your computer and use it in GitHub Desktop.

Matrix Synapse server error: Found users in database not native to my.domain!

  1. Backup instance/database
  2. Connect to your PostgreSQL database and remove users in the user_directory table that don't match your domain e.g: delete FROM user_directory WHERE user_id NOT LIKE '%chat.my.domain%';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment