From d64a9de7e63f54039ecda3576a954ec7d9134971 Mon Sep 17 00:00:00 2001 From: Aaron Raimist Date: Tue, 19 Nov 2019 11:42:45 -0600 Subject: [PATCH 1/3] Fix link to user_dir_populate.sql in the user directory docs Signed-off-by: Aaron Raimist --- docs/user_directory.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/user_directory.md b/docs/user_directory.md index e64aa453cc0b..02eec3c1ed91 100644 --- a/docs/user_directory.md +++ b/docs/user_directory.md @@ -8,6 +8,6 @@ who are present in a publicly viewable room present on the server. The directory info is stored in various tables, which can (typically after DB corruption) get stale or out of sync. If this happens, for now the solution to fix it is to execute the SQL here -https://github.com/matrix-org/synapse/blob/master/synapse/storage/schema/delta/53/user_dir_populate.sql +https://github.com/matrix-org/synapse/blob/master/synapse/storage/data_stores/main/schema/delta/53/user_dir_populate.sql and then restart synapse. This should then start a background task to flush the current tables and regenerate the directory. From 3dbdd66f60dc98f5c8c0e5605faab130f841dd5c Mon Sep 17 00:00:00 2001 From: Aaron Raimist Date: Tue, 19 Nov 2019 11:45:49 -0600 Subject: [PATCH 2/3] Add changelog Signed-off-by: Aaron Raimist --- changelog.d/6388.doc | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/6388.doc diff --git a/changelog.d/6388.doc b/changelog.d/6388.doc new file mode 100644 index 000000000000..c777cb6b8f12 --- /dev/null +++ b/changelog.d/6388.doc @@ -0,0 +1 @@ +Fix link in the user directory documentation. From 439d0537925d9f489eea6c1fd9721f4b106ead8c Mon Sep 17 00:00:00 2001 From: Aaron Raimist Date: Wed, 20 Nov 2019 14:35:59 -0600 Subject: [PATCH 3/3] Change to a dynamic link Signed-off-by: Aaron Raimist --- docs/user_directory.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/user_directory.md b/docs/user_directory.md index 02eec3c1ed91..37dc71e751cf 100644 --- a/docs/user_directory.md +++ b/docs/user_directory.md @@ -7,7 +7,6 @@ who are present in a publicly viewable room present on the server. The directory info is stored in various tables, which can (typically after DB corruption) get stale or out of sync. If this happens, for now the -solution to fix it is to execute the SQL here -https://github.com/matrix-org/synapse/blob/master/synapse/storage/data_stores/main/schema/delta/53/user_dir_populate.sql +solution to fix it is to execute the SQL [here](../synapse/storage/data_stores/main/schema/delta/53/user_dir_populate.sql) and then restart synapse. This should then start a background task to flush the current tables and regenerate the directory.