Slavi Pantaleev
7586cecedf
Upgrade Synapse (v1.92.2 -> v1.92.3)
2 лет назад
Slavi Pantaleev
e033520ce2
Make Synapse worker systemd service files depend on matrix-synapse.service
Many of these do depend on the Synapse master process (`matrix-synapse.service`),
so it makes sense to do it.
Furthermore, we're doing it so that one can stop the `matrix-synapse.service`
service and have systemd cascade this into stopping all the workers as well.
This is useful for easily stopping all of Synapse, so that Postgres
upgrades (`--tags=upgrade-postgres`) can happen cleanly.
Postgres upgrades currently stop `devture_postgres_systemd_services_to_stop_for_maintenance_list` which
includes Synapse, but stopping just the master process and leaving workers running is not safe enough and sometimes leads to errors like:
> ERROR: insert or update on table "event_forward_extremities" violates foreign key constraint "event_forward_extremities_event_id"
With this dependency in place, stopping `matrix-synapse.service` will stop all Synapse processes.
2 лет назад
Aine
f0e2e97aa4
Update synapse 1.92.1 -> 1.92.2 (security fix)
2 лет назад
Slavi Pantaleev
ef90142720
Handle /notifications endpoint via workers
Related to https://github.com/matrix-org/synapse/pull/16265
2 лет назад
Slavi Pantaleev
963e97214b
Upgrade Synapse (v1.91.2 -> v1.92.1)
2 лет назад
Aine
6f9dee867c
Update synapse 1.91.1 -> 1.91.2
2 лет назад
saces
2000e61d31
force pull booth on :stable and :latest
2 лет назад
saces
2c25648051
change image tag to version
Signed-off-by: saces <saces@c-base.org>
2 лет назад
saces
c260309625
update defaults for new tools container
Signed-off-by: saces <saces@c-base.org>
2 лет назад
Aine
ea7a55b7dd
Update synapse 1.91.0 -> 1.91.1
2 лет назад
Aine
12f316405b
make synapse even more quiet
2 лет назад
slikie
4acaeac7aa
Update synapse 1.90.0 -> 1.91.0
2 лет назад
Slavi Pantaleev
b0fb3814a5
Make Synapse quieter by default
Hopefully fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2849
Related to:
- https://github.com/matrix-org/synapse/issues/16101
- https://github.com/matrix-org/synapse/issues/16208
2 лет назад
Slavi Pantaleev
abdb4375db
Add matrix_synapse_additional_loggers_auto and matrix_synapse_additional_loggers_custom
2 лет назад
Slavi Pantaleev
cc7244c14d
Fix Synapse sub-component (worker, S3, ..) uninstallation
matrix-synapse/tasks/setup_uninstall.yml would previously not run unless
Synapse was completely disabled.
2 лет назад
Slavi Pantaleev
d207edb304
Deprecate matrix_synapse_spam_checker in favor of matrix_synapse_modules
2 лет назад
Slavi Pantaleev
e03ec11fcf
Switch mjolnir-antispam from using spam_checker to modules
`spam_checker` has been deprecated for quite a while.
While it still probably works and while newer versions of
mjolnir-antispam still use it, we should switch to the new API.
2 лет назад
Slavi Pantaleev
4e08ad98b6
Upgrade mjolnir-antispam (1.4.0 -> v1.6.4)
2 лет назад
slikie
68562173e7
bump synapse to v1.90.0
2 лет назад
adam-kress
df406dbfd8
Update synapse 1.88.0 -> 1.89.0
2 лет назад
Slavi Pantaleev
92ea048080
Add some missing install-all/install-synapse tags to Synapse role
2 лет назад
Alexis Yushin
ba1d665bd9
make smtp tls configurable / optional
2 лет назад
Slavi Pantaleev
64396419ba
Upgrade synapse-s3-storage-provider (1.2.0 -> 1.2.1)
2 лет назад
Slavi Pantaleev
2fad66a371
Upgrade Synapse (v1.87.0 -> v1.88.0)
2 лет назад
Michael Hollister
facaeb5abe
Document purpose of media_repo variable
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
2 лет назад
Michael Hollister
78bd1dbd1b
Added matrix-media-repo role
2 лет назад
Slavi Pantaleev
c09c1265e8
Stop using deprecated worker settings (worker_replication_host, worker_replication_http_port)
Related to:
- e4f545c452
- 2481b7dfa4
We've prepared for this by adding the `main` process to the `instance_map` a long time ago,
in 49cb8b7b11 .
2 лет назад
Slavi Pantaleev
d02f6b8b93
Force-build customized container image for Synapse when its Dockerfile changes
2 лет назад
Slavi Pantaleev
8668b0d772
Do not handle ^/_matrix/client/unstable/org.matrix.msc2716/rooms/.*/batch_send$ from workers anymore
Related to 0f02f0b4da
2 лет назад
Slavi Pantaleev
13fb286dbe
Upgrade Synapse (v1.86.0 -> v1.87.0)
2 лет назад
Aine
2da4d81ff6
Update synapse 1.85.2 -> 1.86.0
2 лет назад
Zac
f026c7cee1
Apply suggestions from code review
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
2 лет назад
cbackas
f6d260dc00
this is better
2 лет назад
cbackas
0e701bbece
add var to make the creds optional
2 лет назад
Zac
ceda4c41cc
remove the offending lines
2 лет назад
Aine
55fcbca681
Update synapse 1.85.1 -> 1.85.2
2 лет назад
Slavi Pantaleev
ba868ba6c6
Upgrade Synapse (v1.85.0 -> v1.85.1)
2 лет назад
Slavi Pantaleev
672b45648f
Upgrade matrix-synapse-shared-secret-auth (2.0.2 -> 2.0.3)
2 лет назад
Slavi Pantaleev
f320110e90
Enable com.devture.shared_secret_auth login type for matrix-synapse-shared-secret-auth by default
Now that Element v1.11.32 is out and https://github.com/vector-im/element-web/issues/19605 is fixed
(by https://github.com/matrix-org/matrix-react-sdk/pull/10975 ), we don't
need to force-disable this login type.
2 лет назад
Slavi Pantaleev
69cece9fa3
Upgrade Synapse (v1.84.1 -> v1.85.0)
2 лет назад
Luke D Iremadze
5c0279f0c9
Update roles/custom/matrix-synapse/templates/synapse/homeserver.yaml.j2
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
2 лет назад
Luke D Iremadze
2f4428bf5b
Update roles/custom/matrix-synapse/templates/synapse/homeserver.yaml.j2
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
2 лет назад
Luke D Iremadze
130c278a3c
Update roles/custom/matrix-synapse/defaults/main.yml
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
2 лет назад
Luke D Iremadze
1f0da9f744
Create hooks for user search ability
2 лет назад
Aine
c36fd8cfc2
Update synapse 1.84.0 -> 1.84.1
2 лет назад
Slavi Pantaleev
c55371e305
Add changelog entry for the forget_rooms_on_leave default change for Synapse
Related to:
- https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2698
- https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2700
2 лет назад
Aine
9350eeb9fb
update synapse 1.83.0 -> 1.84.0; set forget_rooms_on_leave = true
2 лет назад
Slavi Pantaleev
b71375fac7
Disable healthcheck for Synapse workers which serve no web traffic
This was mostly affecting the stream writer (events) worker, which was
being reported as unhealthy. It wasn't causing any issues, but it just
looked odd and was confusing people.
As an alternative to hitting the regular `/health` healthcheck route (on
the "client" API which this stream writer does not expose),
we may have went for hitting some "replication" API endpoint instead.
This is more complicated and likely unnecessary.
2 лет назад
Slavi Pantaleev
8fbe99ac2a
Do not add main/master Synapse process to instance_map if workers are not in use
This is meant to keep the configuration tidy for non-worker setups.
Related to 49cb8b7b11
2 лет назад
Slavi Pantaleev
49cb8b7b11
Add Synapse main/master process to instance map
Related to https://github.com/matrix-org/synapse/pull/15491
This doesn't hurt to be done early on, while still on Synapse v1.83.0.
We'll be able to remove the `worker_replication_*` settings later,
when Synapse v1.84.0 gets released and starts making use of the new
`main` instance in the instance map instead of looking at the
`worker_replication_*` settings.
2 лет назад