diff options
| author | zacharytyhacz <zactyh@gmail.com> | 2022-07-17 16:37:00 -0400 |
|---|---|---|
| committer | zacharytyhacz <zactyh@gmail.com> | 2022-07-17 16:37:00 -0400 |
| commit | 2df3bc4297ce1696ccc5e2ccbd6adc22b067b646 (patch) | |
| tree | 21701adb518ca10c747021e1c79448885b8d85ca | |
| parent | a1ef0914622f10c9c86ee10e12aee2c7cf3c81c4 (diff) | |
Matrix - added note about macaroon_secret_key and registration_shared_secret keys
| -rw-r--r-- | content/matrix.md | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/content/matrix.md b/content/matrix.md index 39a4127..893d58a 100644 --- a/content/matrix.md +++ b/content/matrix.md @@ -91,6 +91,7 @@ certbot --nginx -d matrix.example.org ## Configuration + ### Read the config file The configuration file for Matrix is in @@ -111,9 +112,25 @@ choices for creating a user, among which will be the ability to make it an admin. ```sh +cd /etc/matrix-synapse + register_new_matrix_user -c homeserver.yaml http://localhost:8008 ``` +### Error Shared secret registration is not enabled + +Sometimes the default configuration is not fully setup, so you need +to add the following the keys to your `homeserver.yaml`: + +- `macaroon_secret_key` +- `registration_shared_secret` + +Make sure to restart Matrix Synapse + +```sh +systemctl restart matrix-synapse +``` + ## Using Matrix with Element There are many different [clients](https://matrix.org/clients/) that can |
