parisni
90bcb1f4ee
feat: prune empty dir when migrate to s3 storage
OTW many empty dirs are kept
3 dagar sedan
parisni
0620d6a822
fix: make matrix_synapse_ext_synapse_s3_storage_provider_config_prefix be used
3 dagar sedan
Slavi Pantaleev
a949605518
Remove duplicate "Project source code URL" from `roles/custom/matrix-synapse/defaults/main.yml`
This was causing issues when it's parsed out by certain tools.
Regression since 28afbde971
6 dagar sedan
Slavi Pantaleev
28afbde971
Merge Synapse reverse-proxy companion role into matrix-synapse
The companion role was tightly coupled to Synapse through shared tags, worker routing, and lifecycle ordering. Keeping them separate added coordination overhead without practical benefits, especially for parallelized execution.
This merges the role into matrix-synapse while keeping companion logic organized under dedicated reverse_proxy_companion task/template subdirectories.
Compatibility is preserved:
- matrix_synapse_reverse_proxy_companion_* variable names remain unchanged
- install/setup companion-specific tags remain available
Cross-role/global wiring is now in group_vars (matrix-synapse section), while role defaults provide sensible standalone defaults and self-wiring for Synapse-owned values.
6 dagar sedan
renovate[bot]
8c6c544c90
chore(deps): update matrixdotorg/mjolnir docker tag to v1.12.0
1 vecka sedan
renovate[bot]
ee243a8aab
chore(deps): update ghcr.io/element-hq/synapse docker tag to v1.148.0
1 vecka sedan
Slavi Pantaleev
2c29027868
Add configurable Synapse room complexity limit variables
1 vecka sedan
Slavi Pantaleev
a1dc468004
Have the Synapse healthcheck be more patient to accommodate slow servers
1 vecka sedan
Slavi Pantaleev
ff2a0be559
Rename matrix_s3_goofys _docker_image vars to _container_image
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2 veckor sedan
Slavi Pantaleev
ca2b6b0a27
Rename _docker_ vars to _container_ for kakaotalk, telegram, synapse
These three roles have multiple variable prefixes each:
- kakaotalk: matrix_appservice_kakaotalk + matrix_appservice_kakaotalk_node
- telegram: matrix_mautrix_telegram + matrix_mautrix_telegram_lottieconverter
- synapse: matrix_synapse + matrix_synapse_customized + matrix_synapse_rust_synapse_compress_state
For each: renamed _docker_image* to _container_image* (and _docker_src*,
_docker_repo* where applicable), added deprecation entries in
validate_config.yml, updated group_vars references, and moved
deprecation tasks to the front of validate_config.yml.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2 veckor sedan
Suguru Hirahara
e5b48f22db
Remove synapse-auto-invite-accept ( #4943 )
* Remove `matrix_synapse_ext_synapse_auto_accept_invite_worker_to_run_on`
Signed-off-by: Suguru Hirahara <did🔑 z6MkvVZk1A3KBApWJXv2Ju4H14ErDfRGxh8zxdXSZ4vACDg5>
* Remove `matrix_synapse_ext_synapse_auto_accept_invite_accept_invites_only_direct_messages`
Signed-off-by: Suguru Hirahara <did🔑 z6MkvVZk1A3KBApWJXv2Ju4H14ErDfRGxh8zxdXSZ4vACDg5>
* Remove `matrix_synapse_ext_synapse_auto_accept_invite_enabled`
Signed-off-by: Suguru Hirahara <did🔑 z6MkvVZk1A3KBApWJXv2Ju4H14ErDfRGxh8zxdXSZ4vACDg5>
* Remove `matrix_synapse_container_image_customizations_auto_accept_invite_installation_enabled`
Signed-off-by: Suguru Hirahara <did🔑 z6MkvVZk1A3KBApWJXv2Ju4H14ErDfRGxh8zxdXSZ4vACDg5>
* Remove `matrix_synapse_ext_synapse_auto_accept_invite_version`
Signed-off-by: Suguru Hirahara <did🔑 z6MkvVZk1A3KBApWJXv2Ju4H14ErDfRGxh8zxdXSZ4vACDg5>
* Remove `matrix_synapse_ext_synapse_auto_accept_invite_accept_invites_only_from_local_users`
Signed-off-by: Suguru Hirahara <did🔑 z6MkvVZk1A3KBApWJXv2Ju4H14ErDfRGxh8zxdXSZ4vACDg5>
* Remove roles/custom/matrix-synapse/tasks/ext/synapse-auto-accept-invite
Signed-off-by: Suguru Hirahara <did🔑 z6MkvVZk1A3KBApWJXv2Ju4H14ErDfRGxh8zxdXSZ4vACDg5>
* Update README.md
Signed-off-by: Suguru Hirahara <did🔑 z6MkvVZk1A3KBApWJXv2Ju4H14ErDfRGxh8zxdXSZ4vACDg5>
* Update container-images.md
Signed-off-by: Suguru Hirahara <did🔑 z6MkvVZk1A3KBApWJXv2Ju4H14ErDfRGxh8zxdXSZ4vACDg5>
* Update configuring-playbook.md
Signed-off-by: Suguru Hirahara <did🔑 z6MkvVZk1A3KBApWJXv2Ju4H14ErDfRGxh8zxdXSZ4vACDg5>
* Update configuring-playbook-synapse-auto-accept-invite.md
Reuse bf744319e0/docs/configuring-playbook-sliding-sync-proxy.md
Signed-off-by: Suguru Hirahara <did🔑 z6MkvVZk1A3KBApWJXv2Ju4H14ErDfRGxh8zxdXSZ4vACDg5>
* Update validate_config.yml
Signed-off-by: Suguru Hirahara <did🔑 z6MkvVZk1A3KBApWJXv2Ju4H14ErDfRGxh8zxdXSZ4vACDg5>
* Update CHANGELOG.md
Signed-off-by: Suguru Hirahara <did🔑 z6MkvVZk1A3KBApWJXv2Ju4H14ErDfRGxh8zxdXSZ4vACDg5>
---------
Signed-off-by: Suguru Hirahara <did🔑 z6MkvVZk1A3KBApWJXv2Ju4H14ErDfRGxh8zxdXSZ4vACDg5>
Co-authored-by: Suguru Hirahara <did🔑 z6MkvVZk1A3KBApWJXv2Ju4H14ErDfRGxh8zxdXSZ4vACDg5>
2 veckor sedan
QEDeD
f0f496b6ba
Quote YAML mode values to satisfy octal lint rules
2 veckor sedan
renovate[bot]
409c7393a0
chore(deps): update ghcr.io/element-hq/synapse docker tag to v1.147.1
2 veckor sedan
Suguru Hirahara
a4c40979d2
Remove Dimension ( #4916 )
* Remove roles/custom/matrix-dimension
Signed-off-by: Suguru Hirahara <did🔑 z6MkvVZk1A3KBApWJXv2Ju4H14ErDfRGxh8zxdXSZ4vACDg5>
* Remove mentions to Dimension
Signed-off-by: Suguru Hirahara <did🔑 z6MkvVZk1A3KBApWJXv2Ju4H14ErDfRGxh8zxdXSZ4vACDg5>
* Update configuring-playbook-dimension.md
Reuse 0f5015a33c/docs/configuring-playbook-bridge-mx-puppet-twitter.md
Signed-off-by: Suguru Hirahara <did🔑 z6MkvVZk1A3KBApWJXv2Ju4H14ErDfRGxh8zxdXSZ4vACDg5>
* Update validate_config.yml
Signed-off-by: Suguru Hirahara <did🔑 z6MkvVZk1A3KBApWJXv2Ju4H14ErDfRGxh8zxdXSZ4vACDg5>
* Update CHANGELOG.md
Signed-off-by: Suguru Hirahara <did🔑 z6MkvVZk1A3KBApWJXv2Ju4H14ErDfRGxh8zxdXSZ4vACDg5>
---------
Signed-off-by: Suguru Hirahara <did🔑 z6MkvVZk1A3KBApWJXv2Ju4H14ErDfRGxh8zxdXSZ4vACDg5>
Co-authored-by: Suguru Hirahara <did🔑 z6MkvVZk1A3KBApWJXv2Ju4H14ErDfRGxh8zxdXSZ4vACDg5>
2 veckor sedan
Amélie-Laura Lilith Krejčí
81b90a7089
Fix regression introduced in a77a875
matrix_synapse_systemd_service_post_start_delay_seconds is assigned a string value, and setup fails while creating the service file. It is impossible to compare str and int.
2 veckor sedan
Slavi Pantaleev
a77a8753d9
Derive Synapse post-start delay from Traefik's providersThrottleDuration
After Synapse's systemd health check passes, Traefik still needs
providers.providersThrottleDuration to register routes. Derive the
post-start delay from this setting (+1s for healthcheck polling gap)
instead of using a hardcoded value. Defaults to 0 when no Traefik
reverse proxy is used.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2 veckor sedan
Slavi Pantaleev
9d9e9e9177
Use docker inspect for Synapse systemd health check and lower health interval
Switch the systemd ExecStartPost health check from docker exec + curl
to polling docker inspect for container health status. This piggybacks
on the container image's built-in HEALTHCHECK instead of duplicating it.
Also add a configurable container health interval (5s for Traefik setups,
15s otherwise) to speed up startup readiness detection without affecting
non-Traefik deployments.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2 veckor sedan
Slavi Pantaleev
59e70b8ca9
Add systemd-healthcheck to Synapse systemd service in an effort to increase reliability (of Synapse-dependant services)
Previously, we had a 10-second magical delay.
Now we first do a healthcheck to figure out when it really is up.
Then, we do the same 10-second magical delay to account for the time it
may take for a reverse-proxy (like Traefik) to pick up Synapse's routes.
2 veckor sedan
Slavi Pantaleev
dd26f8a12a
Add systemd dependencies to s3-storage-provider-migrate service
The migrate service now declares Requires/After on matrix-synapse.service,
ensuring Synapse (and its transitive dependencies like Postgres and Docker)
are running before the migration triggers.
2 veckor sedan
renovate[bot]
482ef0fdf5
chore(deps): update ghcr.io/element-hq/synapse docker tag to v1.147.0
3 veckor sedan
Suguru Hirahara
4310fb83c1
Remove ma1sd ( #4898 )
* Remove ma1sd
Reuse 6d1ec58a82/docs/configuring-playbook-bridge-mautrix-instagram.md
Signed-off-by: Suguru Hirahara <did🔑 z6MkvVZk1A3KBApWJXv2Ju4H14ErDfRGxh8zxdXSZ4vACDg5>
* Update configuring-playbook-ma1sd.pot
Signed-off-by: Suguru Hirahara <did🔑 z6MkvVZk1A3KBApWJXv2Ju4H14ErDfRGxh8zxdXSZ4vACDg5>
* Update changelog entry date for ma1sd removal
---------
Signed-off-by: Suguru Hirahara <did🔑 z6MkvVZk1A3KBApWJXv2Ju4H14ErDfRGxh8zxdXSZ4vACDg5>
Co-authored-by: Suguru Hirahara <did🔑 z6MkvVZk1A3KBApWJXv2Ju4H14ErDfRGxh8zxdXSZ4vACDg5>
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
3 veckor sedan
Aine
adf521f8cb
add matrix_synapse_email_enable_notifs and matrix_synapse_email_notif_for_new_users
3 veckor sedan
Slavi Pantaleev
76e13f8200
Add native Sliding Sync (MSC3575) endpoint to worker routing
The /_matrix/client/unstable/org.matrix.simplified_msc3575/sync endpoint
can be handled by generic workers, but Synapse's workers.md documentation
doesn't mention it. The code confirms it's worker-compatible:
- SlidingSyncRestServlet is registered via sync.register_servlets:
https://github.com/element-hq/synapse/blob/0dfcffab0f/synapse/rest/client/sync.py#L1128-L1131
- sync.register_servlets is NOT in the worker exclusion list:
https://github.com/element-hq/synapse/blob/0dfcffab0f/synapse/rest/__init__.py#L180-L194
- GenericWorkerStore includes SlidingSyncStore:
https://github.com/element-hq/synapse/blob/0dfcffab0f/synapse/app/generic_worker.py#L168
This adds the endpoint to both:
- matrix_synapse_workers_sync_worker_client_server_endpoints (for specialized sync workers with sticky routing)
- matrix_synapse_workers_generic_worker_endpoints (documenting generic worker capability)
4 veckor sedan
Slavi Pantaleev
460d46999f
Make Synapse's `enable_local_media_storage` configurable
Ref:
- https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/4882
- https://github.com/element-hq/synapse/pull/19204
- https://element-hq.github.io/synapse/latest/usage/configuration/config_documentation.html#enable_local_media_storage
We default it to `true`, keeping up with upstream and the old behavior.
s3-storage-provider users may set `matrix_synapse_enable_local_media_storage` to `false`
to disable local file caching.
This likely comes at the expense of some performance.
For matrix-media-repo users, it likely doesn't matter what this is set to,
as for a matrix-media-repo setup, all media-related API endpoints are
captured and forwarded to matrix-media-repo (before reaching Synapse).
1 månad sedan
renovate[bot]
93d110e61e
chore(deps): update ghcr.io/element-hq/synapse docker tag to v1.146.0
1 månad sedan
Slavi Pantaleev
ac5dc5d44f
Pull in some additional Synapse workers routing configuration
Provoked by https://github.com/element-hq/synapse/pull/19281
which landed in Synapse v1.145.0, but we pull in a few other routes
that I noticed to be missing.
1 månad sedan
renovate[bot]
a050107e0f
chore(deps): update ghcr.io/element-hq/synapse docker tag to v1.145.0
1 månad sedan
Aine
484e94d493
add matrix_synapse_ext_s3_storage_provider_container_arguments var
2 månader sedan
renovate[bot]
aec4185135
chore(deps): update ghcr.io/element-hq/synapse docker tag to v1.144.0
2 månader sedan
Slavi Pantaleev
325b22a302
Stop using deprecated `vars` variable in all other custom roles
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/4776
Supersedes https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/4777
3 månader sedan
Slavi Pantaleev
ddf0fe7167
Fix Ansible `inject_facts_as_vars` deprecation warning
3 månader sedan
Slavi Pantaleev
430f350733
Stop using deprecated `vars` variable
3 månader sedan
renovate[bot]
1f2f7e468e
chore(deps): update ghcr.io/element-hq/synapse docker tag to v1.143.0
3 månader sedan
Richard Meyer
0ab40bbd9c
Update synapse to v1.142.1
3 månader sedan
Slavi Pantaleev
56629103c6
Revert "chore(deps): update ghcr.io/element-hq/synapse docker tag to v1.142.0"
This reverts commit c8c6a83ecc .
Synapse v1.142.0 is broken for Matrix Authentication Service deployments
that use a path-prefix (e.g. `/auth`) such as ours.
For such deployments, Synapse fails to contact MAS at the correct
introspection endpoint (it keeps hitting `/oauth2/introspect`, instead of `/auth/oauth2/introspect`)
and is not usable.
Related to 3595ff921f
3 månader sedan
renovate[bot]
c8c6a83ecc
chore(deps): update ghcr.io/element-hq/synapse docker tag to v1.142.0
3 månader sedan
Slavi Pantaleev
1235ea886d
Update `matrix_synapse_in_container_python_packages_path` for Synapse v1.141.0 (Python 3.12 -> 3.13)
Ref:
- https://github.com/element-hq/synapse/releases/tag/v1.141.0
- https://github.com/element-hq/synapse/pull/19064
> The Docker images are now based on Debian trixie and use Python 3.13.
4 månader sedan
Slavi Pantaleev
afbf4df32d
Add deprecation warnings for `matrix_synapse_experimental_features_msc3202_device_masquerading_enabled` and `matrix_synapse_experimental_features_msc4133_enabled`
Follow-up to e0e4032002
4 månader sedan
Benjamin Blacher
c1bc2be7ec
Bump synapse, remove some recently stabilized features
4 månader sedan
Slavi Pantaleev
8fd2b75756
Remove `matrix_synapse_container_image_customizations_s3_storage_provider_installation_old_boto_workaround_enabled`
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/4637
We no longer need to boto workaround since s3-storage-provider got
upgraded to v1.6.0 in https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/4635
4 månader sedan
renovate[bot]
9fb28c9fd7
chore(deps): update dependency matrix-org/synapse-s3-storage-provider to v1.6.0
4 månader sedan
renovate[bot]
ec5efe8c4e
chore(deps): update ghcr.io/element-hq/synapse docker tag to v1.140.0
4 månader sedan
Aleksandrs Jansons
8511d4dfc4
Add matrix_synapse_url_preview_url_blacklist var ( #4641 )
* synapse - introduce matrix_synapse_url_preview_url_blacklist var
* Preserve original comments around `url_preview_url_blacklist`
---------
Co-authored-by: Aleksandrs Jansons <alex@peledu.casa>
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
4 månader sedan
Slavi Pantaleev
f048a0f9a5
Revert s3-storage-provider (1.6.0 -> 1.5.0)
Ref: https://github.com/matrix-org/synapse-s3-storage-provider/pull/134#issuecomment-3396609289
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/4635
4 månader sedan
Slavi Pantaleev
b54eadb9e0
Revert "Remove `matrix_synapse_container_image_customizations_s3_storage_provider_installation_old_boto_workaround_enabled`"
This reverts commit 2b0ea94a72 .
We're going back to s3-storage-provider=v1.5.0
Ref: https://github.com/matrix-org/synapse-s3-storage-provider/pull/134#issuecomment-3396609289
4 månader sedan
Slavi Pantaleev
2b0ea94a72
Remove `matrix_synapse_container_image_customizations_s3_storage_provider_installation_old_boto_workaround_enabled`
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/4637
We no longer need to boto workaround since s3-storage-provider got
upgraded to v1.6.0 in https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/4635
4 månader sedan
Slavi Pantaleev
ed9bb75a52
`packageName` -> `depName` for Renovate line for `matrix-org/synapse-s3-storage-provider`
`depName` is a required attribute as per our custom regex.
Ref:
- https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/4635
- 2d05db52c7/.github/renovate.json (L16)
4 månader sedan
Benjamin Blacher
2d05db52c7
Update s3 storage provider version to 1.6.0, add renovate
4 månader sedan
renovate[bot]
feb7953132
chore(deps): update ghcr.io/element-hq/synapse docker tag to v1.139.2
4 månader sedan
Aine
b7f03aa4b2
Synapse v1.139.1 - security fix
4 månader sedan