From 6f014d1580e117b8281b3565ad4bc3a0aeecced7 Mon Sep 17 00:00:00 2001 From: rosa Date: Wed, 18 Feb 2026 14:56:40 +0100 Subject: [PATCH] docs(dendrite): delete the alias of an empty room --- compose/dendrite/README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 compose/dendrite/README.md diff --git a/compose/dendrite/README.md b/compose/dendrite/README.md new file mode 100644 index 0000000..e35660e --- /dev/null +++ b/compose/dendrite/README.md @@ -0,0 +1,13 @@ +# Dendrite Matrix Server + +## Notes + +### Delete the alias of an empty room +- Open an SQL shell in the postgres container: `sudo docker exec -it psql -U dendrite dendrite` +- List the tables: `\dt` +- Take note of the aliases table name (it should be `roomserver_room_aliases`) +- Verify the alias exists: `SELECT * FROM roomserver_room_aliases WHERE alias = '#:';` + - This should return a row, if it doesn't check for any spelling mistakes +- Delete the entry from the table: `DELETE FROM roomserver_room_aliases WHERE alias = '#:';` + - This should return `DELETE 1` +- Exit the shell: `\q` \ No newline at end of file