mirror of
https://git.freebsd.org/ports.git
synced 2025-06-21 20:50:31 -04:00
48 lines
1.4 KiB
Text
48 lines
1.4 KiB
Text
[
|
|
{ type: install
|
|
message: <<EOM
|
|
Configuring Synapse:
|
|
|
|
The following command can be used to generate a sample configuration of synapse:
|
|
|
|
%%PYTHON_CMD%% -B -m synapse.app.homeserver -c %%ETCDIR%%/homeserver.yaml --generate-config -H <SERVER_NAME> --report-stats no
|
|
|
|
Please note that you will still need to manually configure paths to log
|
|
directory, database, and media storage with this method.
|
|
EOM
|
|
}
|
|
{ type: upgrade
|
|
message: <<EOM
|
|
If you're upgrading from a previous release of synapse, please read the upgrade
|
|
instructions at %%DOCSDIR%%/UPGRADE.rst
|
|
EOM
|
|
}
|
|
{ type: upgrade
|
|
maximum_version: 1.51.0
|
|
message: <<EOM
|
|
Synapse 1.51.0 deprecates webclient listeners and non-HTTP(S)
|
|
web_client_location settings. Please update your homeserver configurations
|
|
accordingly.
|
|
|
|
Additionally, if you run your own turn server for WebRTC and
|
|
use Let's Encrypt certificates, be advised that some Android and iOS clients
|
|
may be unable to connect. Please see upstream's turn-howto[0] for additional
|
|
details on this issue.
|
|
|
|
[0] https://matrix-org.github.io/synapse/latest/turn-howto.html
|
|
|
|
EOM
|
|
}
|
|
{
|
|
message: <<EOM
|
|
Running synapse with the sqlite backend is only recommended for testing purposes.
|
|
Future versions of synapse will disable federation by default if sqlite is used.
|
|
EOM
|
|
}
|
|
{ type: upgrade
|
|
message: <<EOM
|
|
If you're currently using synapse with sqlite and would like to switch to postgres,
|
|
please read the instructions at %%DOCSDIR%%/postgres.md
|
|
EOM
|
|
}
|
|
]
|