Slavi Pantaleev
cb2fecbea9
Fix some ansible-lint-reported warnings
hace 3 años
Aine
c781bdea99
Update Synapse 1.68.0 -> 1.69.0
hace 3 años
Slavi Pantaleev
30745db6d5
Add storage-class support to the s3_media_upload command and mention matrix-synapse-s3-storage-provider-migrate script
hace 3 años
Slavi Pantaleev
de8fd519c5
Document matrix-synapse-s3-storage-provider-migrate.{service,timer}
hace 3 años
Slavi Pantaleev
2e0fc5c11c
Fix some ansible-lint-reported warnings
hace 3 años
Slavi Pantaleev
fe96475595
Remove some useless PG_ variables fron the s3-storage-provider env-file
These Postgres configuration variables are part of the `database.yaml` file
and don't need to be here.
hace 3 años
Slavi Pantaleev
a3759b0466
Announce Synapse customization and synapse-s3-storage-provider support
hace 3 años
Slavi Pantaleev
ac7cb3619d
Add support for synapse-s3-storage-provider
hace 3 años
Slavi Pantaleev
881fdd28f0
Add support for Synapse container image customization
This allows people to augment the Synapse image with custom tools and
addons without having to rebuild it from scratch.
If customizations are enabled, the playbook will build a new
`localhost/matrixdotorg/synapse:VERSION-customized` image
on top of the default one (`FROM matrixdotorg/synapse:VERSION`)
and with custom Dockerfile build steps.
For servers that self-build the Synapse image, the Synapse image will be
built first, before proceding to extend it the same way.
In the future, we'll also have easy to enable Dockerfile build steps
for modules that the playbook supports.
hace 3 años
Slavi Pantaleev
0da068c7e6
Add support for configuring Synapse's media_storage_providers
In the future, we'll also inject media storage providers that we support
into the `matrix_synapse_media_storage_providers_auto` list.
hace 3 años
Slavi Pantaleev
a12cbeac3b
Fix async commands
Fixes a regression introduced in d1b5681ba0 .
Looks like `.finished` is a property on the main object, not on some
`.async_result` object.
hace 3 años
Slavi Pantaleev
d1b5681ba0
Report async task failures better
We were previously trying to reach into `.rc`,
but there's no such thing if `async_result.finished == 0`.
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2153
hace 3 años
Slavi Pantaleev
5d5642abc5
Upgrade Synapse (v1.67.0 -> v1.68.0)
hace 3 años
Slavi Pantaleev
1ea1597020
Fix some ansible-lint-reported warnings
This mostly fixes `key-order` warnings around
`block` statements.
hace 3 años
Slavi Pantaleev
f623cf3550
Only download Grafana dashboard URLs for enabled services
If someone is using Dendrite and enabling Grafana, we'll no longer
download Synapse dashboards.
If someone is not using node-exporter, we'll no longer download node
exporter dashboards.
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2133
hace 3 años
mjarr
dd8106790e
synapse: match upstream rate limit defaults
hace 3 años
Slavi Pantaleev
89648cf58e
Fix some ansible-lint-reported warnings
hace 3 años
borisrunakov
49c64a8d65
change stream writer worker metrics range start
hace 3 años
Slavi Pantaleev
b07fd76830
Fix prometheus.yml.j2 indentation and worker ids for stream writers
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2105
hace 3 años
Slavi Pantaleev
800267b182
Fix incorrect if checks breaking start_pushers/send_federaiton/enable_media_repo
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2103
hace 3 años
Slavi Pantaleev
109e1addb8
Improve reliability when using more than 1 media_repository worker
hace 3 años
Slavi Pantaleev
8887aed500
Do not add federation_sender_instances/pusher_instances configuration if not necessary
This keeps the configuration cleaner and hopefully prevents odd issues
if Synapse (by any chance) happens to interpret `pusher_instances: []`
as "no pushers", instead of as "push from the master process".
I haven't confirmed what an empty pushers/federation-senders list means,
so it's safer to just avoid it.
hace 3 años
Slavi Pantaleev
a1fb082618
Add support for running background tasks on a worker
hace 3 años
Slavi Pantaleev
5f3f460cda
Restore support for appservice and user_dir workers
hace 3 años
Slavi Pantaleev
8cd7c1ec2f
Relocate enable_media_repo and make it configurable via matrix_synapse_enable_media_repo
.. although.. manual configuration is discouraged in most cases.
hace 3 años
Slavi Pantaleev
b842447047
Add support for multiple pusher workers
hace 3 años
Slavi Pantaleev
22cf259155
Put common worker configuration options at the top
hace 3 años
Slavi Pantaleev
ec654ca91e
Add support for multiple federation sender workers
hace 3 años
Slavi Pantaleev
226c550ffa
Add support for stream writer Synapse workers
As stream writer workers are also powered by the `generic_worker`
Synapse app, this necessitated that we provide means for distinguishing
between them and regular `generic_workers`.
I've also taken the time to optimize nginx configuration generation
(more Jinja2 macro usage, less duplication).
Worker names have also changed.
Workers are now named sequentially like this:
- `matrix-synapse-worker-0-generic`
- `matrix-synapse-worker-1-stream-writer-typing`
- `matrix-synapse-worker-2-pusher`
instead of `matrix-synapse-worker_generic_worker-18111` (indexed with a
port number).
People who modify `matrix_synapse_workers_enabled_list` directly will
need to adjust their configuration.
hace 3 años
Slavi Pantaleev
ef523d68a4
Suppress errors in docker kill/rm calls for Synapse workers
We do the same everywhere else. This is an omission.
hace 3 años
Slavi Pantaleev
f12206676f
Upgrade Synapse (v1.66.0 -> 1.67.0) and remove `frontend_proxy` workers
`frontend_proxy` workers have been superseded by `generic_worker` workers.
Related to https://github.com/matrix-org/synapse/pull/13645
hace 3 años
Slavi Pantaleev
664406af57
Upgrade Synapse (v1.65.0 -> v1.66.0)
hace 3 años
Slavi Pantaleev
8e0e9fa878
Deprecate matrix_synapse_account_threepid_delegates_email before Synapse v1.66.0
This is done in anticipation of this option's removal in the
upcoming Synapse v1.66.0 release (likely tomorrow).
See: https://matrix-org.github.io/synapse/v1.66/upgrade.html#delegation-of-email-validation-no-longer-supported
hace 3 años
Slavi Pantaleev
b196e15796
Fix incorrectly named module arguments (ansible.builtin.group -> group)
Regression since the mass-replace in 34cdaade0 .
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2054
hace 3 años
Shaleen Jain
f674afe5e8
appservice: add and use homeserver_container_* vars ( #2045 )
* appservice: add and use matrix_homeserver_* vars
* appservice: use the new vars
* Apply suggestions from code review
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
hace 3 años
Benjamin Castellan
22db7914e5
added rc_invites configuration for synapse
hace 3 años
Slavi Pantaleev
a9bef3337d
Upgrade Synapse (v1.64.0 -> v1.65.0)
hace 3 años
Aine
01dfbee51e
Update Synapse 1.63.1 -> 1.64.0
hace 3 años
Slavi Pantaleev
89bd25995a
Upgrade Synapse (v1.63.0 -> v1.63.1)
hace 3 años
Aaron Raimist
817830bb3d
Update telemetry documentation to more closely match upstream
Synapse no longer describes the stats as anonymized since the `server_name` is included.
https://github.com/matrix-org/synapse/pull/13321
hace 3 años
Aine
24a027c6b9
Update Synapse 1.62.0 -> 1.63.0
hace 3 años
Slavi Pantaleev
c1849ae888
Fix the remaining var-spacing ansible-lint errors
Reference: https://ansible-lint.readthedocs.io/en/latest/default_rules/#var-spacing
hace 3 años
Slavi Pantaleev
cac9bf2637
Fix syntax error regression
hace 3 años
Slavi Pantaleev
d073c7ecb3
More ansible-lint fixes
hace 3 años
Slavi Pantaleev
983bf819ef
Explictly set Synapse's worker configuration's owner/permissions
hace 3 años
Slavi Pantaleev
ddf18eadc7
More ansible-lint fixes
hace 3 años
Slavi Pantaleev
34cdaade08
Use fully-qualified module names for builtin Ansible modules
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1939
hace 3 años
Aine
e149f33140
add/unify 'Project source code URL' link across all roles
hace 3 años
Aine
fe347c85d9
Update Synapse 1.61.1 -> 1.62.0
hace 3 años
Slavi Pantaleev
bff35926dc
Upgrade Synapse (v1.61.0 -> v1.61.1)
hace 3 años