If the node only held test data, delete the stack, redeploy it with the new installer, and keep the resulting token for internal testing only.
Make these minimum changes:
enable_registration: true
enable_registration_without_verification: false
registration_requires_token: true
- Update
homeserver.yaml with the values above.
- Expose
/_synapse/admin in your reverse proxy alongside /_matrix and /_synapse/client.
- Restart Synapse.
- Log in with the admin account and create a registration token through the Synapse admin API.
- Disable any remaining public-open registration behaviour.
curl https://matrix.meshly.chat/_matrix/client/versions
curl https://matrix.meshly.chat:8448/_matrix/federation/v1/version
curl https://matrix.meshly.chat/_synapse/admin/v1/server_version
- Use the generated token only for internal testing.
- Do not present
matrix.meshly.chat as the default homeserver in the app.
- Rotate the token immediately if it leaks.