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
2 years ago
Slavi Pantaleev
5d5642abc5
Upgrade Synapse (v1.67.0 -> v1.68.0)
2 years ago
Slavi Pantaleev
1ea1597020
Fix some ansible-lint-reported warnings
...
This mostly fixes `key-order` warnings around
`block` statements.
2 years ago
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
2 years ago
mjarr
dd8106790e
synapse: match upstream rate limit defaults
2 years ago
Slavi Pantaleev
89648cf58e
Fix some ansible-lint-reported warnings
2 years ago
borisrunakov
49c64a8d65
change stream writer worker metrics range start
2 years ago
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
2 years ago
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
2 years ago
Slavi Pantaleev
109e1addb8
Improve reliability when using more than 1 media_repository worker
2 years ago
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.
2 years ago
Slavi Pantaleev
a1fb082618
Add support for running background tasks on a worker
2 years ago
Slavi Pantaleev
5f3f460cda
Restore support for appservice and user_dir workers
2 years ago
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.
2 years ago
Slavi Pantaleev
b842447047
Add support for multiple pusher workers
2 years ago
Slavi Pantaleev
22cf259155
Put common worker configuration options at the top
2 years ago
Slavi Pantaleev
ec654ca91e
Add support for multiple federation sender workers
2 years ago
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.
2 years ago
Slavi Pantaleev
ef523d68a4
Suppress errors in docker kill/rm calls for Synapse workers
...
We do the same everywhere else. This is an omission.
2 years ago
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
2 years ago
Slavi Pantaleev
664406af57
Upgrade Synapse (v1.65.0 -> v1.66.0)
2 years ago
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
2 years ago
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
2 years ago
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>
2 years ago
Benjamin Castellan
22db7914e5
added rc_invites configuration for synapse
2 years ago
Slavi Pantaleev
a9bef3337d
Upgrade Synapse (v1.64.0 -> v1.65.0)
2 years ago
Aine
01dfbee51e
Update Synapse 1.63.1 -> 1.64.0
2 years ago
Slavi Pantaleev
89bd25995a
Upgrade Synapse (v1.63.0 -> v1.63.1)
2 years ago
Slavi Pantaleev
2a131fd507
Merge pull request #1954 from aaronraimist/stats
...
Update telemetry documentation to more closely match upstream
2 years ago
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
2 years ago
Aine
24a027c6b9
Update Synapse 1.62.0 -> 1.63.0
2 years ago
Slavi Pantaleev
c1849ae888
Fix the remaining var-spacing ansible-lint errors
...
Reference: https://ansible-lint.readthedocs.io/en/latest/default_rules/#var-spacing
2 years ago
Slavi Pantaleev
cac9bf2637
Fix syntax error regression
2 years ago
Slavi Pantaleev
d073c7ecb3
More ansible-lint fixes
2 years ago
Slavi Pantaleev
983bf819ef
Explictly set Synapse's worker configuration's owner/permissions
2 years ago
Slavi Pantaleev
ddf18eadc7
More ansible-lint fixes
2 years ago
Slavi Pantaleev
34cdaade08
Use fully-qualified module names for builtin Ansible modules
...
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1939
2 years ago
Aine
e149f33140
add/unify 'Project source code URL' link across all roles
2 years ago
Aine
fe347c85d9
Update Synapse 1.61.1 -> 1.62.0
2 years ago
Slavi Pantaleev
bff35926dc
Upgrade Synapse (v1.61.0 -> v1.61.1)
2 years ago
Slavi Pantaleev
ba51997f7b
(BC Break) Redo how metrics are exposed to external Prometheus servers
2 years ago
David Mehren
f6a73231ab
Synapse workers should respect X-Forwarded headers
...
Currently, Synapse workers ignore the X-Forwarded headers, which leads to internal Docker IP addresses randomly appearing in the users' device list.
This adds the `x_forwarded: true` option to the worker config, fixing the issue.
2 years ago
Slavi Pantaleev
38027e72f6
Fix "object of type 'NoneType' has no len()" error
...
Fixup for 5eff67371d
- https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1884
2 years ago
Slavi Pantaleev
7440dd34fb
Merge pull request #1884 from etkecc/master
...
add synapse media_retention
2 years ago
Slavi Pantaleev
5987589436
Use |to_json
2 years ago
Slavi Pantaleev
323f5aa60d
Synchronize homeserver.yaml config with the one from Synapse 1.61.0
2 years ago
Aine
5eff67371d
add synapse media_retention
2 years ago
Slavi Pantaleev
6a573399ae
Upgrade Synapse (v1.60.0 -> v1.61.0)
2 years ago
Slavi Pantaleev
2c1da0ac2a
Switch matrix_encryption_disabler back to upstream repository
...
Now that https://github.com/digitalentity/matrix_encryption_disabler/pull/9
has been merged, we can get the module from there.
Continuation of 246c43be1e
3 years ago
Slavi Pantaleev
246c43be1e
Upgrade Synapse (v1.59.1 -> v1.60.0)
3 years ago