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
1aec5f9735
Merge pull request #831 from phirz/correct-faq-typos
...
Correct some typos in FAQ
2021-01-27 09:31:56 +02:00
phirz
deff7421fb
Correct some typos in FAQ
2021-01-27 00:13:22 +01:00
Slavi Pantaleev
e443b376b9
Improve "things to do after installation" docs section
2021-01-26 17:20:34 +02:00
Slavi Pantaleev
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
Béla Becker
42f338016b
Etherpad matrix-nginx-proxy configuration
2021-01-26 05:04:47 +01:00
Béla Becker
7bc9be95cb
Add map directive to the base of nginx.conf
...
This needs to be added for WebSocket upgrades to work properly (see doc:
http://nginx.org/en/docs/http/websocket.html )
2021-01-26 05:04:47 +01:00
Béla Becker
38bf1eda70
Etherpad Jitsi integration
2021-01-26 05:04:47 +01:00
Béla Becker
4b451ff782
Etherpad role
2021-01-26 05:04:47 +01:00
Béla Becker
8355348aae
Etherpad documentation
2021-01-26 05:04:47 +01: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
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
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
42f60142c0
Merge pull request #819 from jolly-jump/patch-1
...
small fix to CHANGELOG.md
2021-01-24 17:24:32 +02:00
T. Küchel
67fab21d7e
Update CHANGELOG.md
...
propose explicit showing single quotes around the password, since I forgot to put them there.
2021-01-24 12:31:07 +00: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
ec9fda4cd7
Merge pull request #812 from prapooskur/master
...
Fixed typo
2021-01-23 08:57:43 +02:00
Prasiddh Pooskur
b61c8a7e72
fixed typo
2021-01-22 16:38:27 -08:00
Slavi Pantaleev
c2e970ee61
Merge pull request #810 from drpaneas/irc
...
Selfbuild appservice-irc bridge
2021-01-22 22:43:22 +02:00
Slavi Pantaleev
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
Panagiotis Georgiadis
f10e3fef0d
Merge branch 'master' into irc
2021-01-22 20:30:24 +00:00
Panagiotis Georgiadis
e502ee33da
Selfbuild appservice-irc bridge
2021-01-22 21:28:53 +01: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
9011b166eb
Merge pull request #807 from thedanbob/fix-changelog
...
Fix typos
2021-01-22 15:10:32 +02:00
Dan Arnfield
d95f160705
Fix typos
2021-01-22 06:48:25 -06: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