Edit ‘infrastructure_and_operations/inventory/matrix’ by forest

Edit ‘infrastructure_and_operations/inventory/matrix’ (by forest at 14 Jan 26 17:04 UTC)

Hyphae affected: infrastructure_and_operations/inventory/matrix

diff --git a/infrastructure_and_operations/inventory/matrix.myco b/infrastructure_and_operations/inventory/matrix.myco
index f7b20c9..dbad885 100644
--- a/infrastructure_and_operations/inventory/matrix.myco
+++ b/infrastructure_and_operations/inventory/matrix.myco
@@ -213,3 +213,23 @@ This is helpful because it tells us where the matrix-synapse code is located (`/

-TODO
+*Matrix Synapse*
+
+```
+root@matrix:/opt# apt list -a matrix-synapse-py3
+Listing... Done
+matrix-synapse-py3/unknown,now 1.141.0+bullseye1 amd64 [installed]
+matrix-synapse-py3/unknown 1.71.0+bullseye1 amd64
+
+systemctl stop matrix-synapse
+apt install matrix-synapse-py3=1.141.0+bullseye1
+systemctl start matrix-synapse
+```
+
+Then check the grafana dashboard https://grafana.cyberia.club/d/000000012/cyberia-synapse?orgId=1&from=now-15m&to=now
+
+It might need to be restarted a couple more times if it gets stuck and starts timing out doing a bunch of syncing or federation.
+
+Upgrading element-web:
+
+`cd /opt`
+and then look at the `./upgrade` script, its pretty self explanatory.