Commit Graph
100 Commits
Author SHA1 Message Date
Slavi PantaleevandGitHub c8d4a42367 Merge pull request #910 from hardye/le-timers-update
Run Let's Encrypt renewal checks daily instead of weekly.
2021-02-28 11:55:00 +02:00
Slavi Pantaleev 6baa91dd9f Do not delete matrix-ssl-lets-encrypt-certificates-renew only to recreate it later
This seems to have been added to the list of "deprecated files to
remove" by mistake.
2021-02-26 13:37:51 +02:00
Slavi Pantaleev ccf5915874 Upgrade Synapse for ARM64 (v1.26.0 -> v1.28.0) 2021-02-25 19:09:46 +02:00
Slavi Pantaleev ae091d7b2d Upgrade Synapse (v1.27.0 -> v1.28.0) 2021-02-25 13:40:35 +02:00
Slavi Pantaleev 1ef683d366 Make nginx proxy config (when disabled) obey matrix_federation_public_port
People who were disabling matrix-nginx-proxy (in favor of their own
nginx webserver) and also overriding `matrix_federation_public_port`,
found that the generated nginx configuration still hardcoded `8448`,
which forced their nginx server to use that, regardless of the fact
that `matrix_federation_public_port` was pointing elsewhere.

We now allow for the in-container federation port to be configurable,
and also automatically wire things properly.
2021-02-24 08:19:20 +02:00
Slavi Pantaleev 2ef1d9c537 Make healthchecks work for Synapse worker containers
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/456
2021-02-24 07:59:14 +02:00
Slavi Pantaleev f9a0ec6fd1 Fix some bridges failing when Synapse workers enabled
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/904
2021-02-23 13:17:52 +02:00
Slavi Pantaleev 8f7f45d6e4 Revert "trust the reverse proxy by default"
This reverts commit fd3d48bb6d.

Normally this environment variable gets referred to from `settings.json.docker`,
but we have our own full configuration, which hardcodes `"trustProxy": true`,
thus making this useless.

This has been pointed out here:
https://github.com/spantaleev/matrix-docker-ansible-deploy/commit/fd3d48bb6d7f1e1584d2e7d1ba20580be1d103f4#commitcomment-47403097
2021-02-22 13:03:09 +02:00
Slavi PantaleevandGitHub 50ec607433 Merge pull request #902 from tctovsli/patch-2
Added paragraph about updating DNS to get stats
2021-02-22 11:54:06 +02:00
Slavi PantaleevandGitHub fd18769e55 Merge pull request #901 from marcquark/backup_postgres
Recommend a better way of backing up postgres
2021-02-22 08:37:21 +02:00
Slavi PantaleevandGitHub ca22355910 Update backup docs a bit 2021-02-22 08:36:42 +02:00
Slavi PantaleevandGitHub 994afcfeb0 Merge pull request #899 from gsouquet/patch-2
Update lower power config example
2021-02-21 14:05:56 +02:00
Slavi PantaleevandGitHub 0585a3ed9f Merge pull request #896 from rakshazi/add_version_to_each_role
added "matrix_%SERVICE%_version" variable to all roles
2021-02-21 12:26:17 +02:00
Slavi PantaleevandGitHub 38044e8c93 Merge pull request #894 from gsouquet/patch-1
Update Telegram bridge setup link
2021-02-21 12:22:12 +02:00
Slavi Pantaleev 77ab0d3e98 Do not delete Prometheus/Grafana Docker images
Same reasoning as in 1cd251ed78
2021-02-21 11:14:40 +02:00
Slavi PantaleevandGitHub 9bc0eb36ab Merge pull request #892 from MarcProe/master
add support for mautrix-instagram
2021-02-19 20:49:35 +02:00
Slavi Pantaleev 108aed53be Fix invalid matrix-postgres.service when matrix_postgres_process_extra_arguments is empty
This only seems to be affecting some people badly enough to cause
matrix-postgres not to start. Certain systemd versions probably handle
it better or something.

Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/889
(hopefully)
2021-02-19 16:33:23 +02:00
Slavi Pantaleev 1dbdfeec07 Fix matrix-postgres stopping for consistency with other services
This probably got lost somehow in all the work that happened in
https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/456
2021-02-19 15:53:30 +02:00
Slavi Pantaleev 9f91eaa54b Fix incorrect service name
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/887
2021-02-19 12:12:21 +02:00
Slavi Pantaleev e56fcbbc0d Announce mx-puppet-groupme support
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/872
2021-02-19 11:54:50 +02:00
Slavi PantaleevandGitHub 91c987ca7d Merge pull request #872 from xangelix/add-mx-puppet-groupme-gh
Add mx-puppet-groupme support
2021-02-19 11:42:41 +02:00
Slavi PantaleevandGitHub d94d0e2ca5 Merge pull request #456 from eMPee584/synapse-workers
Synapse workers
2021-02-19 11:40:36 +02:00
Slavi Pantaleev b754c2778b Announce Synapse workers support 2021-02-19 11:39:58 +02:00
Slavi Pantaleev 9dc87bb948 Add Synapse worker presets for easier configuration
Adding more presets in the future would be nice.
2021-02-19 11:38:47 +02:00
Slavi Pantaleev eaea215282 Allow Synapse workers to be used with an external nginx webserver
We're talking about a webserver running on the same machine, which
imports the configuration files generated by the `matrix-nginx-proxy`
in the `/matrix/nginx-proxy/conf.d` directory.

Users who run an nginx webserver on some other machine will need to do
something different.
2021-02-19 11:36:48 +02:00
Slavi Pantaleev 2f732e4234 Update Synapse worker endpoints 2021-02-19 11:36:14 +02:00
Slavi PantaleevandGitHub 1c4d914073 Merge pull request #885 from MarcProe/fix-webhook-docs
fix wrong json parameter in webhook documentation
2021-02-19 10:52:18 +02:00
Slavi Pantaleev 217b4a8808 Release Synapse v1.27.0 to ARM32 via self-building
Related to: https://matrix.org/blog/2021/02/18/synapse-1-27-0-released#dropping-armv7-docker-images
2021-02-19 09:10:16 +02:00
Slavi PantaleevandGitHub bbaaf02f8f Merge pull request #888 from pionaiki/patch-1
Add Netlify instructions
2021-02-19 08:57:45 +02:00
Slavi PantaleevandGitHub 41fd52f327 Merge pull request #883 from pushytoxin/etherpad-no-sqlite
Remove 'sqlite3' from the Etherpad role
2021-02-18 19:16:42 +02:00
Slavi Pantaleev 1789620901 Merge branch 'master' into synapse-workers 2021-02-18 18:24:43 +02:00
Slavi Pantaleev d6c4d41c2b Define instanceId property on workers
This give us the possibility to run multiple instances of
workers that that don't expose a port.

Right now, we don't support that, but in the future we could
run multiple `federation_sender` or `pusher` workers, without
them fighting over naming (previously, they'd all be named
something like `matrix-synapse-worker-pusher-0`, because
they'd all define `port` as `0`).
2021-02-18 18:19:51 +02:00
Slavi PantaleevandGitHub ef45b60e32 Merge pull request #882 from pushytoxin/patch-1
Use the yaml callback plugin when running ansible-playbook
2021-02-18 17:37:25 +02:00
Slavi PantaleevandGitHub 9e1d108ff1 Merge pull request #881 from rakshazi/patch-1
Update synapse-admin (0.6.1 -> 0.7.0)
2021-02-18 14:14:17 +02:00
Slavi PantaleevandGitHub 66064f0890 Merge pull request #879 from Jaykul/patch-1
Change the new app link to use classsic apps
2021-02-17 08:45:23 +02:00
Slavi Pantaleev d33483b8ce Document that Synapse pusher worker instances are shardable
Related to:
- https://github.com/matrix-org/synapse/pull/9407
- https://github.com/matrix-org/synapse/pull/7855
2021-02-16 17:45:41 +02:00
Slavi Pantaleev daae74b074 Merge branch 'master' into synapse-workers 2021-02-16 17:31:40 +02:00
Slavi Pantaleev 521160c12f Upgrade Synapse (v1.26.0 -> v1.27.0) 2021-02-16 17:30:48 +02:00
Slavi PantaleevandGitHub 865d71e35a Upgrade Element (1.7.20 -> 1.7.21) 2021-02-16 13:44:28 +02:00
Slavi PantaleevandGitHub ba7148e52e Update configuring-playbook-matrix-corporal.md 2021-02-16 10:44:35 +02:00
Slavi PantaleevandGitHub eff2b30c96 Merge pull request #876 from marcquark/fix_etherpad_binding
Fix etherpad binding
2021-02-15 12:05:57 +02:00
Slavi Pantaleev 61e427d690 Do not let people enable more than 1 federation_sender worker 2021-02-15 11:37:03 +02:00
Slavi Pantaleev 85a05f38e8 Allow Synapse worker list to be generated dynamically
This leads to much easier management and potential safety
features (validation). In the future, we could try to avoid port
conflicts as well, but it didn't seem worth the effort to do it now.
Our port ranges seem large enough.

This can also pave the way for a "presets" feature
(similar to `matrix_nginx_proxy_ssl_presets`) which makes it even easier
for people to configure worker counts.
2021-02-15 11:25:35 +02:00
Slavi Pantaleev 43059bb040 Fix metrics listeners for Synapse workers
`::` leads to errors like:

> socket.gaierror: [Errno -9] Address family for hostname not supported
2021-02-15 11:19:07 +02:00
Slavi Pantaleev 453a4ec2d8 Relocate tasks related to Synapse workers 2021-02-15 11:18:47 +02:00
Slavi Pantaleev 5cfeae806b Merge branch 'master' into synapse-workers 2021-02-14 13:00:57 +02:00
Slavi PantaleevandGitHub 894679750e Merge pull request #862 from s-thom/nginx-additional
Add additional domains for Let's Encrypt certificates to be obtained
2021-02-14 11:05:25 +02:00
Slavi Pantaleev a8e9f35708 Touch up documentation a bit 2021-02-14 11:05:05 +02:00
Slavi Pantaleev 7d39e5153a Upgrade Postgres minor versions 2021-02-14 09:12:29 +02:00
Slavi Pantaleev 70a9a28ca3 Mention Prometheus/Grafana on the README 2021-02-12 16:32:49 +02:00
Slavi Pantaleev 8434af10de Do not fail on unrelated validation tasks when Grafana not enabled 2021-02-12 15:45:19 +02:00
Slavi Pantaleev 66d5b0e5b9 Do not fail on unrelated validation tasks when Prometheus not enabled
These validation tasks should only run when Prometheus is enabled.
2021-02-12 15:41:15 +02:00
Slavi Pantaleev 87ce12c3eb Add note about potential breaking change 2021-02-12 14:07:26 +02:00
Slavi PantaleevandGitHub 2ac2b02cb4 Merge pull request #838 from Peetz0r/stats
Prometheus and Grafana on stats.<domain>
2021-02-12 14:03:17 +02:00
Slavi Pantaleev 890e4ad1af Announce Prometheus/Grafana 2021-02-12 14:02:53 +02:00
Slavi Pantaleev 2b47258c6c Do not auto-expose metrics on matrix.DOMAIN/_synapse/metrics
.. and other documentation improvements.
2021-02-12 13:47:53 +02:00
Slavi Pantaleev eb9aac0ac9 Minor docs updates 2021-02-12 11:59:24 +02:00
Slavi Pantaleev c8ab200cb1 Break dependency between matrix-prometheus and (matrix-prometheus-node-exporter, matrix-synapse) 2021-02-12 11:59:24 +02:00
Slavi Pantaleev 6842102e00 Split install/uninstall tasks in matrix-prometheus 2021-02-12 11:59:24 +02:00
Slavi Pantaleev 18e31526a8 Rename some variables 2021-02-12 11:59:24 +02:00
Slavi Pantaleev 85a260daaf Make --tags=setup-prometheus not break, relying on matrix-base facts 2021-02-12 11:59:24 +02:00
Slavi Pantaleev df3dd1c824 Use --read-only FS for metrics-related containers
It seems like it doesn't cause any issues for any of these services.
2021-02-12 11:59:24 +02:00
Slavi Pantaleev 1d7d99c5cd Improve metrics docs page a bit
We mainly switch the anonymous metrics viewing variable
to false, along with other wording changes.
2021-02-12 11:59:24 +02:00
Slavi Pantaleev 3ce9712388 Fix Grafana dashboard/datasource label 2021-02-12 11:59:24 +02:00
Slavi Pantaleev f0cd294628 Fix matrix-prometheus-node-exporter failure to start
The quotes around "host" for both `--pid` and `--net` were
causing trouble for me:

> docker: --pid: invalid PID mode.

and:

> docker: Error response from daemon: network "host" not found.

I've also changed the `-v` call to `--mount` for consistency with the
rest of the playbook.
2021-02-12 11:59:24 +02:00
Slavi PantaleevandGitHub 11b310d259 Merge pull request #870 from efraimbart/patch-1
Fix wrong docker image being pulled
2021-02-12 10:27:02 +02:00
Slavi Pantaleev 96e6111aa6 Improve S3 docs around data migration 2021-02-09 22:09:08 +02:00
Slavi Pantaleev 7e8e95a09a Make S3-mounting path configurable
This will make data migration easier.
2021-02-09 22:05:07 +02:00
Slavi PantaleevandGitHub 21fd44a557 Merge pull request #865 from yncyrydybyl/master
Fixes: a66a604e ("Selfbuild appservice-slack bridge")
2021-02-09 07:56:42 +02:00
Slavi PantaleevandGitHub 722cfc4586 Merge pull request #864 from yncyrydybyl/master
fix typo from skype to slack
2021-02-08 19:44:34 +02:00
Slavi PantaleevandGitHub 2857b22794 Merge pull request #863 from buxel/patch-1
Update configuring-dns.md
2021-02-08 14:56:32 +02:00
Slavi PantaleevandGitHub 8a8f94eda1 Merge pull request #859 from pushytoxin/patch-1
Etherpad docs: Padname length bug
2021-02-08 10:41:56 +02:00
Slavi PantaleevandGitHub 62f79af0a8 Merge pull request #857 from ptman/patch-1
Upgrade Element (1.7.19 -> 1.7.20)
2021-02-04 16:53:36 +02:00
Slavi PantaleevandGitHub 1523d092f7 Merge pull request #854 from aaronraimist/element-1.7.19
Upgrade Element (1.7.18 -> 1.7.19)
2021-02-03 18:34:32 +02:00
Slavi PantaleevandGitHub 47f82f275d Merge pull request #853 from aaronraimist/tls1.3-fed-tester
Remove note about federation tester not working with TLS 1.3
2021-02-03 17:58:16 +02:00
Slavi PantaleevandGitHub 2467ed4ace Merge pull request #852 from julianfoad/fix-docs-mautrix-signal-links-1
Fix wrong links in mautrix-signal docs
2021-02-03 17:39:24 +02:00
Slavi PantaleevandGitHub 33e2887876 Merge pull request #851 from julianfoad/postgres-cli-allow-psql-args
Allow psql args to be given to matrix-postgres-cli
2021-02-03 15:09:41 +02:00
Slavi Pantaleev c4a05b760a Make mautrix bridges not overwrite their config
If they do, our next playbook runs would simply revert it
and report "changed" for that task.

There's no benefit to letting the bridge spew a new config file.

This does not apply to the mautrix whatsapp bridge, because that one
is written in Go (not Python) and takes different flags. There's no
equivalent flag there.
2021-02-03 13:23:18 +02:00
Slavi PantaleevandGitHub ee936b618d Merge pull request #848 from aaronraimist/hosts
Clarify hosts file wording
2021-02-01 11:25:05 +02:00
Slavi PantaleevandGitHub 889b299bc2 Merge pull request #804 from pushytoxin/matrix-etherpad
Self-hosted Etherpad
2021-01-31 09:55:46 +02:00
Slavi Pantaleev 5df2f6cdd1 Update docs and changelog 2021-01-31 09:54:12 +02:00
Slavi Pantaleev 7804060eee Use Etherpad 1.8.7, not :latest 2021-01-31 09:47:47 +02:00
Slavi PantaleevandGitHub 98f9619279 Merge pull request #843 from thomwiggers/update-irc
Update IRC bridge to 0.23.0
2021-01-31 09:26:56 +02:00
Slavi PantaleevandGitHub c97dd5dc2d Merge pull request #845 from o8F0LY/improve-matrix-postgres-init-additional-db-user-and-role
Add double quotes 'matrix-postgres-init-additional-db-user-and-role.sql.j2' template
2021-01-31 09:11:00 +02:00
Slavi PantaleevandGitHub 0ac5bee57b Merge pull request #842 from Peetz0r/bullseye
Fixed missing quotes
2021-01-30 20:34:36 +02:00
Slavi PantaleevandGitHub efbffa26bf Fix typo 2021-01-30 11:37:08 +02:00
Slavi PantaleevandGitHub 63586acfff Merge pull request #841 from Peetz0r/bullseye
Use Debian Buster Docker repo on Debian Bullseye
2021-01-30 10:18:02 +02:00
Slavi PantaleevandGitHub 29e3ab6967 Merge pull request #840 from aaronraimist/readme-puppet
Add mx-puppet-skype and mx-puppet-slack to README
2021-01-30 09:29:18 +02:00
Slavi Pantaleev 1a0f64f23b Mention specs on the Prerequisites page
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/682
2021-01-28 19:21:33 +02:00
Slavi PantaleevandGitHub 78b059d9f2 Merge pull request #834 from pushytoxin/rust_compress_database_name
Name the Synapse database on state compression import
2021-01-28 19:13:15 +02:00
Slavi Pantaleev 3ea90ca436 Upgrade Element (1.7.17 -> 1.7.18) 2021-01-28 09:23:23 +02:00
Slavi Pantaleev e7f3f7c431 Enable /devices endpoint for generic workers 2021-01-27 22:18:47 +02:00
Slavi Pantaleev 26b287bd17 Upgrade certbot (1.10.1 -> 1.11.0) 2021-01-27 21:51:46 +02:00
Slavi Pantaleev 1cd2a218de Merge branch 'master' into synapse-workers 2021-01-27 21:41:54 +02:00
Slavi Pantaleev c6feb0b99e Upgrade Synapse (v1.25.0 -> v1.26.0) 2021-01-27 21:41:47 +02:00
Slavi Pantaleev 39c2d72d17 Merge branch 'master' into synapse-workers 2021-01-27 17:12:16 +02:00
Slavi Pantaleev 008049f2a9 Fix mautrix-telegram registration file mistake
Regression since f6097fbba1
2021-01-27 17:11:46 +02:00
Slavi Pantaleev a49dab76f8 Merge branch 'master' into synapse-workers 2021-01-27 15:49:16 +02:00
Slavi Pantaleev e3290d8bcb Remove |to_json causing trouble
Fixes a regression introduced in f6097fbba1, which was cauing Synapse
to die with this error message:

> ValueError: sender_localpart needs characters which are not URL encoded.
2021-01-27 15:48:35 +02:00
Slavi Pantaleev a31c9603fa Merge branch 'master' into synapse-workers 2021-01-27 15:43:56 +02:00