From d0f8fbdc27300a101b8d614763ff046b79f4b07e Mon Sep 17 00:00:00 2001
From: erikjohnston user@example.com
rather than
for most users.
There is an official synapse image available at
-https://hub.docker.com/r/vectorim/synapse or at ghcr.io/element-hq/synapse
+https://hub.docker.com/r/matrixdotorg/synapse or at ghcr.io/element-hq/synapse
which can be used with the docker-compose file available at
contrib/docker.
Further information on this including configuration options is available in the README
@@ -820,7 +820,7 @@ simply run:
synapse_port_db --sqlite-database homeserver.db.snapshot \
--postgres-config homeserver-postgres.yaml
-The flag --curses
displays a coloured curses progress UI.
The flag --curses
displays a coloured curses progress UI. (NOTE: if your terminal is too small the script will error out)
If the script took a long time to complete, or time has otherwise passed since the original snapshot was taken, repeat the previous steps with a newer snapshot.
@@ -1819,11 +1819,11 @@ dpkg -i matrix-synapse-py3_1.3.0+stretch1_amd64.deb -Generally Synapse database schemas are compatible across multiple versions, once -a version of Synapse is deployed you may not be able to rollback automatically. +
Generally Synapse database schemas are compatible across multiple versions, but once +a version of Synapse is deployed you may not be able to roll back automatically. The following table gives the version ranges and the earliest version they can be rolled back to. E.g. Synapse versions v1.58.0 through v1.61.1 can be rolled -back safely to v1.57.0, but starting with v1.62.0 it is only safe to rollback to +back safely to v1.57.0, but starting with v1.62.0 it is only safe to roll back to v1.61.0.
Versions | Compatible version |
---|---|
v1.0.0 – v1.2.1 | v1.0.0 |
v1.83.0 – v1.84.1 | v1.77.0 |
v1.85.0 – v1.91.2 | v1.83.0 |
v1.92.0 – v1.97.0 | v1.90.0 |
v1.98.0 – v1.103.0 | v1.96.0 |
v1.98.0 – v1.104.0 | v1.96.0 |
You need to read all of the upgrade notes for each version between your current
@@ -6596,6 +6596,10 @@ not included in scopes
. Set to userinfo_endpoint
to al
userinfo endpoint.
additional_authorization_parameters
: String to string dictionary that will be passed as
+additional parameters to the authorization grant URL.
allow_existing_users
: set to true to allow a user logging in via OIDC to
match a pre-existing account instead of failing. This could be used if
switching from password logins to OIDC. Defaults to false.
A custom mapping provider must specify the following methods:
def __init__(self, parsed_config)
+def __init__(self, parsed_config, module_api)
parsed_config
- A configuration object that is the return value of the
parse_config
method. You should set any configuration options needed by
the module here.module_api
- a synapse.module_api.ModuleApi
object which provides the
+stable API available for extension modules.Forces the resync of a remote user's device list - if you have somehow cached a bad state, and the remote server is +will not send out a device list update.
+INSERT INTO device_lists_remote_resync
+VALUES ('USER_ID', (EXTRACT(epoch FROM NOW()) * 1000)::BIGINT);
+
This blog post by Jackson Chen (Dec 2022) explains how to use many of the tools listed on this page. There is also an earlier blog by Victor Berger (June 2020), though this may be outdated in places.
poetry
.
Of their installation methods, we recommend
installing poetry
using pipx
,
pip install --user pipx
-pipx install poetry==1.5.1 # Problems with Poetry 1.6, see https://github.com/matrix-org/synapse/issues/16147
+pipx install poetry
but see poetry's installation instructions for other installation methods.
-- cgit 1.4.1