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 Pantaleev and GitHub
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 Pantaleev and GitHub
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 Pantaleev and GitHub
21fd44a557
Merge pull request #865 from yncyrydybyl/master
...
Fixes: a66a604e ("Selfbuild appservice-slack bridge")
2021-02-09 07:56:42 +02:00
Slavi Pantaleev and GitHub
722cfc4586
Merge pull request #864 from yncyrydybyl/master
...
fix typo from skype to slack
2021-02-08 19:44:34 +02:00
Slavi Pantaleev and GitHub
2857b22794
Merge pull request #863 from buxel/patch-1
...
Update configuring-dns.md
2021-02-08 14:56:32 +02:00
Slavi Pantaleev and GitHub
8a8f94eda1
Merge pull request #859 from pushytoxin/patch-1
...
Etherpad docs: Padname length bug
2021-02-08 10:41:56 +02:00
Slavi Pantaleev and GitHub
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 Pantaleev and GitHub
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 Pantaleev and GitHub
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 Pantaleev and GitHub
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 Pantaleev and GitHub
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 Pantaleev and GitHub
ee936b618d
Merge pull request #848 from aaronraimist/hosts
...
Clarify hosts file wording
2021-02-01 11:25:05 +02:00
Slavi Pantaleev and GitHub
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 Pantaleev and GitHub
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 Pantaleev and GitHub
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 Pantaleev and GitHub
0ac5bee57b
Merge pull request #842 from Peetz0r/bullseye
...
Fixed missing quotes
2021-01-30 20:34:36 +02:00
Slavi Pantaleev and GitHub
efbffa26bf
Fix typo
2021-01-30 11:37:08 +02:00
Slavi Pantaleev and GitHub
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 Pantaleev and GitHub
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 Pantaleev and GitHub
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
26b287bd17
Upgrade certbot (1.10.1 -> 1.11.0)
2021-01-27 21:51:46 +02:00
Slavi Pantaleev
c6feb0b99e
Upgrade Synapse (v1.25.0 -> v1.26.0)
2021-01-27 21:41:47 +02:00
Slavi Pantaleev
008049f2a9
Fix mautrix-telegram registration file mistake
...
Regression since f6097fbba1
2021-01-27 17:11:46 +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
f6097fbba1
E2BE not working for mautrix bridges
...
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/806
2021-01-27 15:43:33 +02:00
Slavi Pantaleev
07f1ea24ee
Make it possible to override the welcome.html.j2 template used for Element
2021-01-27 12:36:57 +02:00
Slavi Pantaleev
512f42aa76
Do not report docker kill/rm attempts as errors
...
These are just defensive cleanup tasks that we run.
In the good case, there's nothing to kill or remove, so they trigger an
error like this:
> Error response from daemon: Cannot kill container: something: No such container: something
and:
> Error: No such container: something
People often ask us if this is a problem, so instead of always having to
answer with "no, this is to be expected", we'd rather eliminate it now
and make logs cleaner.
In the event that:
- a container is really stuck and needs cleanup using kill/rm
- and cleanup fails, and we fail to report it because of error
suppression (`2>/dev/null`)
.. we'd still get an error when launching ("container name already in use .."),
so it shouldn't be too hard to investigate.
2021-01-27 10:22:46 +02:00
Slavi Pantaleev
869727a402
Add comment to mautrix-facebook bridge regarding alembic migrations
2021-01-27 10:17:48 +02:00
Slavi Pantaleev and GitHub
1aec5f9735
Merge pull request #831 from phirz/correct-faq-typos
...
Correct some typos in FAQ
2021-01-27 09:31:56 +02:00
Slavi Pantaleev
e443b376b9
Improve "things to do after installation" docs section
2021-01-26 17:20:34 +02:00
Slavi Pantaleev and GitHub
346f8b3475
Fix typo
2021-01-26 10:13:08 +02:00
Slavi Pantaleev
26542308b3
Use |to_json in more places in matrix-appservice-discord config
...
I don't think this was causing an issue, but it might
if the bot token has a more special value in the future.
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/828
2021-01-26 10:00:07 +02:00
Slavi Pantaleev
d9bf2f59db
Fix adminme.js usage for matrix-appservice-discord (still hacky)
...
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/795
and https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/822
A better fix will come later: https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/825
2021-01-25 15:36:08 +02:00
Slavi Pantaleev and GitHub
dd24942c03
Use |to_json for mautrix-telegram config
...
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/824
2021-01-25 15:15:27 +02:00
Slavi Pantaleev and GitHub
6fc214480c
Fix Signal role using incorrect database string variable
...
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/823
2021-01-25 10:42:23 +02:00
Slavi Pantaleev
8fa913dca7
Fix Ansible warning
2021-01-24 19:11:35 +02:00
Slavi Pantaleev and GitHub
42f60142c0
Merge pull request #819 from jolly-jump/patch-1
...
small fix to CHANGELOG.md
2021-01-24 17:24:32 +02:00
Slavi Pantaleev
9b5daf54f0
Fix wording a bit
2021-01-24 10:08:11 +02:00
Slavi Pantaleev
07c7afb861
Make README more tidy
2021-01-24 10:04:30 +02:00
Slavi Pantaleev
a56cb34850
Notify people if /matrix/postgres/data-auto-upgrade-backup exists
2021-01-23 14:14:45 +02:00
Slavi Pantaleev
a2422c458a
Notify of remaining matrix-postgres local data in a better way
2021-01-23 14:04:51 +02:00
Slavi Pantaleev
1cd251ed78
Don't delete Docker images which may have been pulled by another
...
Some people run Coturn or Jitsi, etc., by themselves and disable it
in the playbook.
Because the playbook is trying to be nice and clean up after itself,
it was deleting these Docker images.
However, people wish to pull and use them separately and would rather
they don't get deleted.
We could make this configurable for the sake of this special case, but
it's simpler to just avoid deleting these images.
It's not like this "cleaning things up" thing works anyway.
As time goes on, the playbook gets updated with newer image tags
and we leave so many images behind. If one doesn't run
`docker system prune -a` manually once in a while, they'd get swamped
with images anyway. Whether we leave a few images behind due to the lack
of this cleanup now is pretty much irrelevant.
2021-01-23 14:01:31 +02:00
Slavi Pantaleev
f085362149
Fix some Postgres CLI scripts to target the correct database
...
Fixes a regression introduced in 95346f3117 .
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/814
Using `matrix_synapse_` variables in the `matrix-postgres` role is not
ideal, but.. this script belongs neither here, nor there.
We'll have it be like that for now.
2021-01-23 11:38:34 +02:00
Slavi Pantaleev
acf7866442
Fix step number
2021-01-23 09:24:08 +02:00
Slavi Pantaleev and GitHub
ec9fda4cd7
Merge pull request #812 from prapooskur/master
...
Fixed typo
2021-01-23 08:57:43 +02:00
Slavi Pantaleev and GitHub
c2e970ee61
Merge pull request #810 from drpaneas/irc
...
Selfbuild appservice-irc bridge
2021-01-22 22:43:22 +02:00
Slavi Pantaleev and GitHub
3051655d21
Ensure matrix_appservice_irc_docker_src_files_path created when self-building
...
The git module will create it anyway, but that would likely use `root:root`.
2021-01-22 22:42:40 +02:00
Slavi Pantaleev
0f64f4dc4b
Stop using + to mean "or newer"
2021-01-22 22:05:52 +02:00
Slavi Pantaleev
f9968b6981
Fix matrix_postgres_connection_password length check
2021-01-22 21:22:58 +02:00
Slavi Pantaleev
3647b23628
Add some warning about ; in SQL statements (take 2)
2021-01-22 20:23:35 +02:00
Slavi Pantaleev
49c0e254db
Add some warning about ; in SQL statements
...
I got at least a few reports of people pasting these statements one by
one and missing the `;`.
2021-01-22 20:21:22 +02:00
Slavi Pantaleev
2997a7fc3e
Make mx-puppet-* bridges not log to files
...
We log everything in systemd/journald for every service already,
so there's no need for double-logging, bridges rotating log files
manually and other such nonsense.
2021-01-22 19:22:26 +02:00
Slavi Pantaleev
f3dd346724
Try to tighten Signal bridge security
2021-01-22 18:56:08 +02:00
Slavi Pantaleev
8ec975e3c8
Use matrix:matrix for Signal bridge (not root)
2021-01-22 18:52:20 +02:00
Slavi Pantaleev
37909aa7a9
Create signald/{avatars,attachments,data} and rename config dir
2021-01-22 18:40:51 +02:00
Slavi Pantaleev
88addd71fc
Fix Postgres imports going to the matrix DB by default
...
Well, they still do go to that DB by default,
but our docs give a better command to users, which would do the right
thing.
2021-01-22 17:39:08 +02:00
Slavi Pantaleev
bef0702fea
Wait some more when starting Postgres during setup on ARM
2021-01-22 16:21:30 +02:00
Slavi Pantaleev
3273f023dc
Fix Postgres importing guide
...
This fixes things to make them compatible
with the changes done in 95346f3117
2021-01-22 15:50:24 +02:00
Slavi Pantaleev and GitHub
9011b166eb
Merge pull request #807 from thedanbob/fix-changelog
...
Fix typos
2021-01-22 15:10:32 +02:00
Slavi Pantaleev
89db6be568
Fix typo
2021-01-22 14:33:02 +02:00
Slavi Pantaleev
1a3034b0c8
Fix typo
2021-01-22 14:13:56 +02:00
Slavi Pantaleev
d3aea8f4b8
Update Postgres backup docs for ARM32
2021-01-22 14:04:36 +02:00
Slavi Pantaleev
e88dcfa252
Mention Postgres backup
2021-01-22 13:58:55 +02:00
Slavi Pantaleev
f9c1d62435
Fix Postgres database (-alpine) failing to start on ARM32
2021-01-22 13:52:55 +02:00
Slavi Pantaleev
95346f3117
Reorganize Postgres access (breaking change)
...
In short, this makes Synapse a 2nd class citizen,
preparing for a future where it's just one-of-many homeserver software
options.
We also no longer have a default Postgres superuser password,
which improves security.
The changelog explains more as to why this was done
and how to proceed from here.
2021-01-22 13:26:12 +02:00
Slavi Pantaleev
703f1b1a04
Add some more questions/answers to the FAQ
2021-01-21 22:07:50 +02:00
Slavi Pantaleev
a47813585d
Rename file to prevent common mistake
...
Prompted by this: https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/779#issuecomment-764807507
2021-01-21 19:24:05 +02:00
Slavi Pantaleev
3b5907d83d
Update FAQ with details about /matrix/postgres/data-auto-upgrade-backup
2021-01-21 13:01:24 +02:00
Slavi Pantaleev
fb28f59f8c
Initial work on a FAQ document
2021-01-21 12:55:17 +02:00
Slavi Pantaleev and GitHub
068f9d5763
Merge pull request #803 from throwawayay/patch-1
...
Update element-web (1.7.16 -> 1.7.17)
2021-01-20 16:11:54 +02:00
Slavi Pantaleev
f6861e3c65
Improve wording a bit
2021-01-20 10:19:39 +02:00
Slavi Pantaleev
024a23ed17
Upgrade mautrix-facebook to the new Postgres-only version
...
I had intentionally held it back in 39ea3496a4
until:
- it received more testing (there were a few bugs during the
migration, but now it seems OK)
- this migration guide was written
2021-01-20 10:12:51 +02:00
Slavi Pantaleev and GitHub
9be9f43be7
Merge pull request #801 from pushytoxin/patch-1
...
When validating LE certs, do not wait for a random time
2021-01-19 19:54:12 +02:00
Slavi Pantaleev
39ea3496a4
Downgrade/lock mautrix-facebook to pre-mobile times
...
The `mobile` branch got merged to `master`, which ends up becoming
`:latest`. It's a "rewrite" of the bridge's backend and only
supports a Postgres database.
We'd like to go back (well, forward) to `:latest`, but that will take
a little longer, because:
- we need to handle and document things for people still on SQLite
(especially those with external Postgres, who are likely on SQLite for
bridges)
- I'd rather test the new builds (and migration) a bit before
releasing it to others and possibly breaking their bridge
Brave ones who are already using the bridge with Postgres
can jump on `:latest` and report their experience.
2021-01-19 18:44:15 +02:00
Slavi Pantaleev
c9d96d8135
Fix mautrix-telegram paths creation bug
2021-01-19 09:15:34 +02:00
Slavi Pantaleev
56c54d5cc7
Upgrade matrix-corporal (2.0.1 -> 2.1.0)
2021-01-18 18:23:17 +02:00
Slavi Pantaleev
c1008fde44
Upgrade matrix-coturn (4.5.1.3 -> 4.5.2)
2021-01-18 00:41:47 +02:00
Slavi Pantaleev
cf06f84608
Upgrade matrix-corporal (2.0.0 -> 2.0.1)
2021-01-17 22:05:26 +02:00