Slavi Pantaleev
30745db6d5
Add storage-class support to the s3_media_upload command and mention matrix-synapse-s3-storage-provider-migrate script
2 years ago
Slavi Pantaleev
de8fd519c5
Document matrix-synapse-s3-storage-provider-migrate.{service,timer}
2 years ago
Slavi Pantaleev
2e0fc5c11c
Fix some ansible-lint-reported warnings
2 years ago
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.
2 years ago
Slavi Pantaleev
a3759b0466
Announce Synapse customization and synapse-s3-storage-provider support
2 years ago
Slavi Pantaleev
ac7cb3619d
Add support for synapse-s3-storage-provider
2 years ago
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.
2 years ago
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.
2 years ago
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.
2 years ago
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