Slavi Pantaleev
8db2c0498a
Upgrade Synapse (v1.77.0 -> v1.78.0)
3 лет назад
Slavi Pantaleev
643acfcb5b
Make synapse-s3-storage-provider periodic migration schedule customizable
Larger deployments may wish to run migration more often.
3 лет назад
Slavi Pantaleev
5df89a44b3
Add support for customizing Synapse templates
3 лет назад
Slavi Pantaleev
9775218850
Add matrix_synapse_email_app_name variable
3 лет назад
Slavi Pantaleev
632026513e
Add matrix_synapse_uid, matrix_synapse_gid and matrix_synapse_username
3 лет назад
Slavi Pantaleev
519b32543c
Add matrix_synapse_container_network and matrix_synapse_container_additional_networks
3 лет назад
Aine
3570808633
Update synapse 1.76.0 -> 1.77.0
3 лет назад
Slavi Pantaleev
2d7d5d4bab
Use new security-opt syntax (: -> =)
Related to https://docs.docker.com/engine/deprecated/#separator--of---security-opt-flag-on-docker-run
3 лет назад
Aine
c11f772e78
Fix python packages path in synapse container
3 лет назад
Aine
0f208ed053
Update synapse 1.75.0 -> 1.76.0; default room version 9 -> 10
3 лет назад
Slavi Pantaleev
424f79df3a
Replace synapse.app.pusher and synapse.app.federation_sender with synapse.app.generic_worker
Related to https://github.com/matrix-org/synapse/commit/3479599387164aca2613e88d169719
3 лет назад
Slavi Pantaleev
34745b5206
Upgrade Synapse (v1.74.0 -> v1.75.0)
3 лет назад
Aine
d1b4a6ebe1
unify docker images urls
3 лет назад
Slavi Pantaleev
f0d1e23c9d
Move around whitelines
3 лет назад
Cody Wyatt Neiman
fc9eaa6ec5
Remove git version for s3 storage provider
3 лет назад
Aine
6bd909bbb7
add mode var for synapse ext ldap auth
3 лет назад
Slavi Pantaleev
1d1fd7053c
ewoutp/goofys:latest -> docker.io/ewoutp/goofys:latest
3 лет назад
Cody Wyatt Neiman
7e5e1712f5
Encode s3 sse-c key for utf-8
3 лет назад
Cody Wyatt Neiman
f5390562ed
Fix synapse s3 storage provider container indentation
3 лет назад
Cody Wyatt Neiman
6d96bcee1d
Allow 'git' as a version for s3 storage provider
3 лет назад
Cody Wyatt Neiman
4d44f7b49e
Use base64 encoded string for sse-c key
3 лет назад
Slavi Pantaleev
40aa42e982
Add reference to push.enabled to homeserver.yaml
Related to:
- https://github.com/matrix-org/synapse/pull/14551/files
- https://github.com/matrix-org/synapse/pull/14619/files
3 лет назад
Joe Kappus
deabd79452
Upgrade Synapse (1.73.0 -> 1.74.0)
Signed-off-by: Joe Kappus <joe@wt.gd>
3 лет назад
Luke Moch
dd51ad2ba2
fail if matrix_synapse_ext_synapse_s3_storage_provider_config_endpoint_url 'not' startswith('http')
3 лет назад
Slavi Pantaleev
d81e7d6328
Make matrix_synapse_ext_synapse_s3_storage_provider_config_endpoint_url required
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2330
3 лет назад
Slavi Pantaleev
3824139908
Rename inject_into_nginx_proxy.yml to init.yml when it does more than injection
3 лет назад
Slavi Pantaleev
f186d6236d
Add some missing tags to Synapse role
Without these:
- `--tags=install-synapse` and `--tags=install-all` would be incomplete
and will not contain Synapse worker configuration
- `--tags=install-synapse-reverse-proxy-companion` and
`--tags=setup-synapse-reverse-proxy-companion` would not contain
Synapse worker configuration
3 лет назад
Slavi Pantaleev
9edc7da67d
Do not specify now-unnecessary worker_main_http_uri Synapse worker setting
Related to
- c15e9a0edb
- 01a0527892
3 лет назад
Slavi Pantaleev
13e7399104
Handle /timestamp_to_event via Synapse workers
Related to 8f10c8b054
3 лет назад
Slavi Pantaleev
663fe29ddb
Do not specify start_pushers in Synapse config
It's unnecessary when `pusher_instances` is populated.
Source: 6acb6d772a
3 лет назад
Slavi Pantaleev
135bb5af3e
Do not specify send_federation in Synapse config
It's unnecessary when `federation_sender_instances` is populated.
Source: 6acb6d772a
3 лет назад
Slavi Pantaleev
84d529b542
Upgrade Synapse (v1.72.0 -> v1.73.0)
Synapse Worker configuration updates are coming later.
3 лет назад
Slavi Pantaleev
7464604ddd
Make use of matrix_synapse_ext_s3_storage_provider_data_path in a few more places
3 лет назад
Quentin Young
b31731ebf8
fix s3 storage provider not ensuring data dir
This path is accessed by the s3 storage provider stuff and needs to be
ensured.
Broken by 7c5c3aedc
3 лет назад
Slavi Pantaleev
910cd9adf0
Replace import_role calls with include_role calls
3 лет назад
Slavi Pantaleev
2688e8bfc3
Optimize initial installation by not reloading systemd after each .service install
We expect `--tags=start` to handle systemd reloading, so we don't need
to do it manually each time we install/uninstall a .service file.
3 лет назад
Slavi Pantaleev
c928148261
Make uninstall tasks for Synapse delete bin/
3 лет назад
Slavi Pantaleev
7c5c3aedc4
Put s3-storage-provider scripts under /matrix/synapse/ext/s3-storage-provider/bin, not /usr/local/bin
3 лет назад
Slavi Pantaleev
735e7355a5
Rename variable (matrix_synapse_ext_s3_storage_provider_path -> matrix_synapse_ext_s3_storage_provider_base_path)
3 лет назад
Slavi Pantaleev
72744f9db9
/usr/local/bin/matrix-synapse-register-user -> /matrix/synapse/bin/register-user
3 лет назад
Slavi Pantaleev
3d5d843418
Replace some devture_postgres_identifier instances with devture_postgres_connection_hostname
3 лет назад
Slavi Pantaleev
04b9483f0d
Switch from matrix-postgres to com.devture.ansible.role.postgres
3 лет назад
Slavi Pantaleev
dd9ae0d25c
Fix accidentally swapped tags (rust-synapse-compress-state and update-user-password)
3 лет назад
Slavi Pantaleev
a04f6f4e3d
Optimize uninstall tasks a bit
- forego removing Docker images - it's not effective anyway, because it
only removes the last version.. which is a drop in the bucket, usually
- do not reload systemd - it's none of our business. `--tags=start`,
etc., handle this
- combine all uninstall tasks under a single block, which only runs if
we detect traces (a leftover systemd .service file) of the component.
If no such .service is detected, we skip them all. This may lead to
incorect cleanup in rare cases, but is good enough for the most part.
3 лет назад
Slavi Pantaleev
61f67d8f0a
Add install-* tags for quicker runs
3 лет назад
Slavi Pantaleev
663a17ea10
Fix ansible-lint-reported errors
3 лет назад
Slavi Pantaleev
c37cf42427
Do not delete and re-create Synapse worker configs needlessly
We had checks to avoid stopping/deleting systemd services for workers
that used to exist and will continue to exist, but we were deleting
config files for workers each time.. Only to recreate them again later.
This lead to:
- too many misleading "changed" tasks
- too much unnecessary work
- potential failures during playbook execution possibly leaving the
system in a bad state (no worker config files)
3 лет назад
Slavi Pantaleev
2e7b5c7b02
Untangle the setup import/include mess in matrix-synapse
3 лет назад
Slavi Pantaleev
d29b0aeddb
Replace even more import_tasks calls with include_tasks
3 лет назад
Slavi Pantaleev
7c2a7a8eb6
Replace most import_tasks calls with include_tasks for improved performance
3 лет назад