meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
digital:server:matrixsynapse [2019/06/30 18:31]
natrius Switched Step 9 and 10
digital:server:matrixsynapse [2020/06/17 18:32]
natrius [Step 2 - Install Synapse]
Line 79: Line 79:
 Where ''/'' is the root of your webserver. So if you navigate to ''https://example.com/.well-known/matrix.server'' it may try to download the ''server'' file or show it directly. Where ''/'' is the root of your webserver. So if you navigate to ''https://example.com/.well-known/matrix.server'' it may try to download the ''server'' file or show it directly.
  
-#### Set up SRV+#### Set up SRV (**DON'T DO IT IF YOU HAVE SET UP WELL.KNOWN ALREADY!)
  
 By setting an SRV record in your DNS provider, it is possible to tell other matrix servers where to connect to the server, pointing them to the correct hostname and port, in this example the default port (8448) is still used: By setting an SRV record in your DNS provider, it is possible to tell other matrix servers where to connect to the server, pointing them to the correct hostname and port, in this example the default port (8448) is still used:
Line 301: Line 301:
  
   * ''user'' is in this case ''synapse_user''   * ''user'' is in this case ''synapse_user''
-  * ''Database'' should be the above created db, example ''"databse: synpase"''+  * ''Database'' should be the above created db, example ''synapse''
   * ''Host'' is the postgre hostname, usally ''/var/run/postgresql/'' or ''127.0.0.1''   * ''Host'' is the postgre hostname, usally ''/var/run/postgresql/'' or ''127.0.0.1''
  
Line 312: Line 312:
 ### Migrating from SQlite to PostgreSQL ### Migrating from SQlite to PostgreSQL
  
-There is no need for this if you have nothing done yet with synapse, otherwise, please refer to https://github.com/matrix-org/synapse/blob/master/docs/postgres.rst+Assuming you already followed step 6, there is no need for a migration. If you already used your Synapse and want to migrate, please refer to https://github.com/matrix-org/synapse/blob/master/docs/postgres.md
  
 ### Step 7 - Setup UFW Firewall ### Step 7 - Setup UFW Firewall
Line 344: Line 344:
 If you need two instances of riot instead, you can start it with argument, refer to [[digital:software:riotim|Riot.im]]. If you need two instances of riot instead, you can start it with argument, refer to [[digital:software:riotim|Riot.im]].
  
-For another way to test it, go to ''https://example.com/_matrix/client/versions'' and the output should look like the following:+For another way to test it, go to ''https://example.com/_matrix/static/'' and you will be presented with a ''**It works! Synapse is running**'' screen or go to ''https://example.com/_matrix/client/versions'' and the output should look like the following:
  
 <code xml> <code xml>