From a1ef0914622f10c9c86ee10e12aee2c7cf3c81c4 Mon Sep 17 00:00:00 2001 From: zacharytyhacz Date: Sun, 17 Jul 2022 16:30:04 -0400 Subject: Fixed paths for matrix element logo --- content/matrix.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'content/matrix.md') diff --git a/content/matrix.md b/content/matrix.md index 4442cc3..39a4127 100644 --- a/content/matrix.md +++ b/content/matrix.md @@ -114,12 +114,12 @@ an admin. register_new_matrix_user -c homeserver.yaml http://localhost:8008 ``` -## Using Matrix with ![Element Matrix logo](pix/element.svg)Element +## Using Matrix with ![Element Matrix logo](/pix/element.svg)Element There are many different [clients](https://matrix.org/clients/) that can be used on desktops or phones to chat on your Matrix server, but the most popular and most widely vetted is ![Element -logo](pix/element.svg)Element. +logo](/pix/element.svg)Element. Get Element to access your Matrix server: -- cgit v1.2.3 From 2df3bc4297ce1696ccc5e2ccbd6adc22b067b646 Mon Sep 17 00:00:00 2001 From: zacharytyhacz Date: Sun, 17 Jul 2022 16:37:00 -0400 Subject: Matrix - added note about macaroon_secret_key and registration_shared_secret keys --- content/matrix.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'content/matrix.md') 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 Matrix logo](/pix/element.svg)Element There are many different [clients](https://matrix.org/clients/) that can -- cgit v1.2.3