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
Slavi Pantaleev
ef64c88dc7
Announce matrix-corporal v2
2021-01-17 18:48:21 +02:00
Slavi Pantaleev
d95cbe38d7
Rename configuration setting
2021-01-17 18:29:26 +02:00
Slavi Pantaleev
28d86e3aaa
Initial work on support for matrix-corporal v2
2021-01-16 23:47:14 +02:00
Slavi Pantaleev
6f51c1ed96
Fix Docker image link for matrix-registration
...
Related to 69f71f48
2021-01-16 00:26:19 +02:00
Slavi Pantaleev
8549926395
Attempt to fix mautrix-whatsapp DB migration user table conflict
...
Discussed in https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/791
2021-01-15 17:13:47 +02:00
Slavi Pantaleev
1692a28fe4
Work around annoying Docker warning about undefined $HOME
...
> WARNING: Error loading config file: .dockercfg: $HOME is not defined
.. which appeared in Docker 20.10.
2021-01-15 00:23:01 +02:00
Slavi Pantaleev
26f0bbfdef
Fix self-building for matrix-ma1sd on non-version tag/branch
...
Building `master` or something like this was failing.
2021-01-14 23:57:38 +02:00
Slavi Pantaleev
9e936e45ad
Use BuildKit for ma1sd Docker building
...
Newer versions (`master`) use things like `--platform=...`,
which are not supported unless we enable the new BuildKit building
backend.
2021-01-14 23:48:30 +02:00
Slavi Pantaleev
e1690722f7
Replace cronjobs with systemd timers
...
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/756
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/737
I feel like timers are somewhat more complicated and dirty (compared to
cronjobs), but they come with these benefits:
- log output goes to journald
- on newer systemd distros, you can see when the timer fired, when it
will fire, etc.
- we don't need to rely on cron (reducing our dependencies to just
systemd + Docker)
Cronjobs work well, but it's one more dependency that needs to be
installed. We were even asking people to install it manually
(in `docs/prerequisites.md`), which could have gone unnoticed.
Once in a while someone says "my SSL certificates didn't renew"
and it's likely because they forgot to install a cron daemon.
Switching to systemd timers means that installation is simpler
and more unified.
2021-01-14 23:35:50 +02:00
Slavi Pantaleev
05ca9357a8
Add .service suffix to systemd units list
...
We'll be adding `.timer` units later on, so it's good to be
more explicit.
2021-01-14 23:02:10 +02:00
Slavi Pantaleev
653d1d7924
Revert "Don't self-build ma1sd every time unless git sources changed"
...
This reverts commit 2a25b63bb6 .
Looking at other roles, we trigger building regardless of this.
It's better to always trigger it, because it's less fragile.
If the build fails and we only trigger it on "git changes"
then we won't trigger it for a while. That's not good.
Triggering it each and every time may seem like a waste,
but it supposedly runs quickly due to Docker caching.
2021-01-14 22:20:51 +02:00
Slavi Pantaleev
6f5aaad48d
Split install/uninstall tasks in matrix-coturn
2021-01-14 22:11:38 +02:00
Slavi Pantaleev
57ea43d8b0
Remove unused variable
...
This variable has been useless since 2019-01-08.
We probably don't need to check for its usage anymore,
given how much time has passed since then, but ..
2021-01-14 17:47:13 +02:00
Slavi Pantaleev
7a90eb6d4f
Relocate some validation tasks
2021-01-14 17:00:46 +02:00
Slavi Pantaleev and GitHub
67dc5237c5
Merge pull request #794 from drpaneas/appservice_slack_rebuild
...
Selfbuild appservice-slack bridge
2021-01-14 10:47:31 +02:00
Slavi Pantaleev and GitHub
862a6276a0
Do not pull appservice-slack when self-building
2021-01-14 10:47:23 +02:00
Slavi Pantaleev
b15da29ebb
Bump Synapse to v1.25.0 for ARM
2021-01-14 10:41:47 +02:00
Slavi Pantaleev
48b6487d41
Use ready-made image for mautrix-telegram on arm64
...
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/793
2021-01-13 22:40:47 +02:00
Slavi Pantaleev
2a25b63bb6
Don't self-build ma1sd every time unless git sources changed
2021-01-13 20:14:47 +02:00
Slavi Pantaleev
88acc98c23
Mention LXC
2021-01-13 19:39:08 +02:00
Slavi Pantaleev
789f9b4606
Mention matrix-bridge-mautrix-telegram in self-building docs
...
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/786
2021-01-13 18:01:55 +02:00
Slavi Pantaleev and GitHub
a5a44a9d3f
Merge pull request #786 from drpaneas/rebuild_telegram
...
Local rebuild for Telegram
2021-01-13 18:01:15 +02:00
Slavi Pantaleev and GitHub
52fa7e576b
Fix path typo
2021-01-13 18:00:32 +02:00
Slavi Pantaleev and GitHub
5fa30cdfcb
Ensure matrix_mautrix_facebook_docker_src_files_path created
...
Before we potentially clone to that path, we'd better make sure it exists.
We also simplify `when` statements a bit.
Given that we're in `setup_install.yml`, we know that the bridge is enabled,
so there's no need to check for that.
2021-01-13 17:59:46 +02:00
Slavi Pantaleev and GitHub
105354a052
Remove useless comment
2021-01-13 17:56:10 +02:00
Slavi Pantaleev
568cb3d86f
Upgrade matrix-mailer (4.93-r0 -> 4.93-r1)
...
This is a bit misleading, because the old Docker image
was tagged as `4.93.1`. There hasn't been a `4.93.1` version yet though.
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/792
2021-01-13 17:37:31 +02:00
Slavi Pantaleev
24100342e1
Tell people that federation_ip_range_blacklist is gone
...
Related to d5945c6e78
2021-01-13 13:47:51 +02:00
Slavi Pantaleev
d5945c6e78
Upgrade Synapse (v1.24.0 -> v1.25.0) for amd64
2021-01-13 13:02:49 +02:00
Slavi Pantaleev
21d3802ed7
Fix one more URL typo
2021-01-12 22:44:55 +02:00
Slavi Pantaleev
018f213c60
Fix URL typo
2021-01-12 22:43:28 +02:00
Slavi Pantaleev
0b260a133f
Add matrix-aux role to help with managing auxiliary files/directories
2021-01-11 22:32:52 +02:00
Slavi Pantaleev
0f9be8321c
Document --tags=list-matrix-registration-tokens
...
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/778
2021-01-10 10:33:36 +02:00
Slavi Pantaleev and GitHub
c6382f3c46
Merge pull request #778 from june07/master
...
Call API list tokens enpoint
2021-01-10 10:33:07 +02:00
Slavi Pantaleev
3943a747b8
Merge branch 'py-crash-master'
...
Closes https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/755
2021-01-08 21:31:14 +02:00
Slavi Pantaleev
95ebff1ef1
Announce nginx SSL configuration presets
2021-01-08 21:30:13 +02:00
Slavi Pantaleev
f7ae050eaf
Remove useless quotes around ssl_ciphers value
...
Not sure if it breaks with them or not, but no other directive
uses quotes and the nginx docs show examples without quotes,
so we're being consistent with all of that.
2021-01-08 21:22:44 +02:00
Slavi Pantaleev
5822ba0c01
Use a more natural if statement
2021-01-08 21:21:33 +02:00
Slavi Pantaleev and GitHub
de6ecd8818
Update inaccurate comments
2021-01-08 21:15:14 +02:00
Slavi Pantaleev and GitHub
4bc8193f69
Fix typos and improve wording
2021-01-08 21:13:01 +02:00
Slavi Pantaleev
d7dba0a2ff
Update some Docker image references
2021-01-08 16:37:39 +02:00
Slavi Pantaleev and GitHub
1dec01095a
Merge pull request #774 from teutat3s/fix-appservice-slack-default-db-nedb
...
Fix appservice-slack default db: nedb
2021-01-06 23:35:28 +02:00
Slavi Pantaleev
0a977ce113
Fix incorrect path in docs
2021-01-05 22:59:35 +02:00
Slavi Pantaleev and GitHub
24d73a554d
Fix incorrect federation port in Traefik example
2021-01-04 23:46:34 +02:00
Slavi Pantaleev
6b1e25d843
Do not create matrix_bridge_sms Postgres database
...
That bridge only supports its own file-based database,
so preparing a Postgres database for it is pointless.
2021-01-03 10:21:59 +02:00
Slavi Pantaleev
bcb408497d
Fix broken links (mautrix bridges are not on Docker Hub)
2021-01-03 10:18:53 +02:00
Slavi Pantaleev
23f246b0ad
Mention mautrix-signal migration steps to early adopters
2021-01-03 09:19:06 +02:00
Slavi Pantaleev
6cce5383bc
Fix Ansible 2.9.6 check
...
Fixup for https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/769
2021-01-03 08:55:30 +02:00
Slavi Pantaleev
2c09111a3a
Actually enforce that we run on Ansible >= 2.7.1
...
Related to 6e652e10ad
2021-01-03 08:54:17 +02:00
Slavi Pantaleev and GitHub
8710883064
Merge pull request #743 from pushytoxin/docker_network
...
Drop the old workaround for an Ansible bug that has been fixed three years ago
2021-01-03 08:49:09 +02:00
Slavi Pantaleev
6e652e10ad
Bump minimium Ansible version to 2.7.1
...
Provoked by https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/743
2021-01-03 08:48:29 +02:00
Slavi Pantaleev and GitHub
cd2d2f594a
Merge pull request #686 from laszabine/signal
...
Added a role for the bridge mautrix-signal
2021-01-03 08:25:01 +02:00
Slavi Pantaleev
3b524ee815
Make mautrix-signal bridge not log to files
...
We try to only use console logging (going to journald) for everything,
instead of logging things twice (or more).
2021-01-03 08:20:43 +02:00
Slavi Pantaleev
274f23f668
Make matrix-mautrix-signal-daemon.service depend on docker.service
2021-01-03 08:16:49 +02:00
Slavi Pantaleev
da2a6682b3
Get rid of matrix_mautrix_signal_configuration_permissions
...
While it's kind of nice having it, it's also somewhat raw
and unnecessary.
Having a good default and not even mentioning it seems better
for most users.
People who need a more exposed bridge (rare) can use
override the default configuration using
`matrix_mautrix_signal_configuration_extension_yaml`.
2021-01-03 08:06:32 +02:00