From 7c5dd6ffb85f208632f7a2018a922b5ef2083c18 Mon Sep 17 00:00:00 2001 From: anoadragon453 Date: Tue, 22 Mar 2022 16:30:53 +0000 Subject: deploy: 6b26536a52f77aa5573b4d2afedae448fac31b7c --- latest/postgres.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'latest/postgres.html') diff --git a/latest/postgres.html b/latest/postgres.html index e1b4ed6cd7..c108a49f04 100644 --- a/latest/postgres.html +++ b/latest/postgres.html @@ -99,7 +99,7 @@ @@ -309,9 +309,9 @@ space on disk after porting to Postgres.

Firstly, shut down the currently running synapse server and copy its database file (typically homeserver.db) to another location. Once the copy is complete, restart synapse. For instance:

-
./synctl stop
+
synctl stop
 cp homeserver.db homeserver.db.snapshot
-./synctl start
+synctl start
 

Copy the old config file into a new config file:

cp homeserver.yaml homeserver-postgres.yaml
@@ -334,10 +334,10 @@ run:

Once that has completed, change the synapse config to point at the PostgreSQL database configuration file homeserver-postgres.yaml:

-
./synctl stop
+
synctl stop
 mv homeserver.yaml homeserver-old-sqlite.yaml
 mv homeserver-postgres.yaml homeserver.yaml
-./synctl start
+synctl start
 

Synapse should now be running against PostgreSQL.

Troubleshooting

-- cgit 1.5.1