Slavi Pantaleev
80c72615c7
Fixup all Dimension boolean fields after pgloader import
This is 8b6174786b done right. There were many more fields
that we had to account for.
5 лет назад
Slavi Pantaleev
21662af3be
Archive database only after additional_psql_statements_list had executed
5 лет назад
Slavi Pantaleev
a284b6f452
Merge pull request #765 from Cadair/fix-db
Use role relative paths for references to matrix-postgres role
5 лет назад
Stuart Mumford
019a4d7dcd
Use role relative paths for things
5 лет назад
Slavi Pantaleev
be0c599565
Feed more slashes to mautrix bridges when using SQLite
This makes the `sqlite://` URI match what we were using before
and what the config expects.
5 лет назад
Slavi Pantaleev
ea804f2f9f
Do not use underscore in salts passed to sha512
Some Ansible installations choke on it, it seems.
Similar to 9f00970c90
5 лет назад
Slavi Pantaleev
8b6174786b
Fixup Dimension database schema a bit after pgloader import
5 лет назад
Slavi Pantaleev
f3fc832e85
Merge pull request #764 from KloolK/patch-1
Update updating-users-passwords.md
5 лет назад
Slavi Pantaleev
9f00970c90
Do not use salts longer than 16 characters
We've hit this problem before as well. Certain Ansible installations
choke on it.
5 лет назад
Jan
4675c8a715
Update updating-users-passwords.md
Fixed markdown error
5 лет назад
Slavi Pantaleev
c5f8b1f61b
Fix mautrix-whatsapp Postgres connection string to not use SSL by default
5 лет назад
Slavi Pantaleev
4fe1248d95
Update changelog entry to be more informative
5 лет назад
Slavi Pantaleev
3475b98b76
Announce the big move to all-on-Postgres
Related to
- https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/740
- https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/686
5 лет назад
Slavi Pantaleev
f19b29846d
Merge pull request #740 from jdreichmann/postgres-per-default
postgres: create databases for all services
5 лет назад
Slavi Pantaleev
ad1425eee4
Add pgloader self-building support (for ARM)
5 лет назад
Slavi Pantaleev
8675dedbdb
Add support for automatic (nedb -> Postgres) migration to matrix-appservice-slack
5 лет назад
Slavi Pantaleev
9b95e1937c
Auto-restart matrix-appservice-irc after (nedb -> Postgres) migration
5 лет назад
Slavi Pantaleev
715bdf2c64
Add support for automatic (nedb -> Postgres) migration to mx-appservice-irc
5 лет назад
Slavi Pantaleev
815a80c290
Fix alignment issues
5 лет назад
Slavi Pantaleev
15f4cc924d
Rename variables (_database_db_name -> _database_name)
5 лет назад
Slavi Pantaleev
ab6563ce4e
Add support for automatic (Postgres -> SQLite) migration to mx-puppet-twitter
5 лет назад
Slavi Pantaleev
69cc2145d2
Add support for automatic (Postgres -> SQLite) migration to mx-puppet-steam
5 лет назад
Slavi Pantaleev
262a25f997
Add support for automatic (Postgres -> SQLite) migration to mx-puppet-slack
5 лет назад
Slavi Pantaleev
a80b5b2ca5
Merge pull request #761 from thedanbob/element-1.7.16
Update element-web (1.7.15 -> 1.7.16)
5 лет назад
Slavi Pantaleev
e49eb078a2
Add support for automatic (Postgres -> SQLite) migration to mx-puppet-skype
5 лет назад
Dan Arnfield
c3b63c6c97
Update element-web (1.7.15 -> 1.7.16)
5 лет назад
Slavi Pantaleev
c180fa4e83
Merge pull request #760 from thedanbob/nginx-1.19.6
Update nginx (1.19.5 -> 1.19.6)
5 лет назад
Dan Arnfield
10e0fa17ad
Update nginx (1.19.5 -> 1.19.6)
5 лет назад
Slavi Pantaleev
d135cd9cd3
Ensure mx-puppet-discord directories are created before attempting migration
Our old (base-path -> data-path) SQLite migration can't work otherwise.
It's probably not necessary to keep it anymore, but since we still do,
at least we should take care to ensure it works.
5 лет назад
Slavi Pantaleev
44c9f4daca
Add support for automatic (Postgres -> SQLite) migration to mx-puppet-instagram
5 лет назад
Slavi Pantaleev
e64758c119
Add missing restart task
Should have been part of 149872e00c
5 лет назад
Slavi Pantaleev
149872e00c
Add support for automatic (Postgres -> SQLite) migration to mx-puppet-discord
5 лет назад
Slavi Pantaleev
9b4bf73587
Fix undefined variable reference
5 лет назад
Slavi Pantaleev
6488e11d69
Relocate some tasks
5 лет назад
Slavi Pantaleev
ca066217d1
Merge pull request #757 from 0x46616c6b/disable-nginx-logging-option
add option to disable nginx access log
5 лет назад
louis
dcd4716636
add option to disable nginx access log
5 лет назад
Slavi Pantaleev
d0ee86e0a5
Fix matrix_corporal_docker_image_name_prefix referencing matrix_synapse_ stuff
5 лет назад
Slavi Pantaleev
8748f3d443
Move python{,3}-docker installation to another task
This also adds support for installing python3-docker (not python-docker)
in systems that run Python 3.
5 лет назад
Slavi Pantaleev
349fbb6434
Do not hardcode armhf for Raspbian
Raspbian doesn't seem to support arm64, so this is somewhat pointless
right now.
However, they might in the future. Doing this should also unify us
some more with `setup_debian.yml` with the ultimate goal of
eliminating `setup_raspbian.yml`.
5 лет назад
Slavi Pantaleev
a09ed58892
Ensure gnupg installed on Raspbian
It's likely installed by default, but it doesn't hurt to specify it.
It also makes us more the same with `setup_debian.yml`.
5 лет назад
Slavi Pantaleev
f545de53f7
Do not hardcode "ubuntu" for the Docker APT key URL
Well, `ubuntu` or `debian`, the same key is served right now,
so it doesn't really matter.
This seems cleaner and less prone to breakage though.
5 лет назад
Slavi Pantaleev
55f252a6ed
Do not hardcode amd64 in setup_debian.yml
Until now, we've only supported non-amd64 on Raspbian.
Seems like there are now people running Debian/Ubuntu on ARM,
so we were forcing them into amd64 Docker packages.
I've gotten a report that this change fixes support
for Ubuntu Server 20.04 on RPi 4B.
5 лет назад
Slavi Pantaleev
ed159cc742
Move matrix_architecture to matrix-base
We were only defining this in `group_vars/matrix_servers`, which is
inconsistent with how we normally do things.
5 лет назад
Slavi Pantaleev
e2e6cfaa8b
Document Ansible's Python interpreter discovery some more
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/570
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/641
5 лет назад
Slavi Pantaleev
db69a51653
Do not recommend usePrivilegedIntents for appservice-discord
We're getting reports of it being broken and I can confirm that the
bridge works well without it, so I don't see why we'd be asking
people to enable it.
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/751
5 лет назад
Slavi Pantaleev
0f4649a45c
Merge branch 'master' into postgres-per-default
5 лет назад
Slavi Pantaleev
a4b8baee49
Fix inability to send (Matrix -> Discord) messages via appservice-discord
Revert "Correct inabillity for appservice-discord to connect"
This reverts commit 673e19f830 .
While certain things do work even with such a local URL, sending
messages leads to an error like this:
> [DiscordBot] verbose: DiscordAPIError: Invalid Form Body
> avatar_url: Not a well formed URL.
Fixes https://github.com/Half-Shot/matrix-appservice-discord/issues/649
The sample configuration file for appservice-discord
c29cfc72f5/config/config.sample.yaml (L8)
explicitly says that we need a public URL.
5 лет назад
Slavi Pantaleev
a197968b7f
Make matrix-registration use Postgres by default
Now that 0.7.2 is out, the Docker image supports Postgres
and we can do the (SQLite -> Postgres) migration.
I've also found out that we needed to fix up the `tokens.ex_date` column
data type a bit to prevent matrix-registration from raising exceptions
when comparing `datetime.now()` with `ex_date` coming from the database.
Example:
> File "/usr/local/lib/python3.8/site-packages/matrix_registration/tokens.py", line 58, in valid
> expired = self.ex_date < datetime.now()
> TypeError: can't compare offset-naive and offset-aware datetimes
5 лет назад
Slavi Pantaleev
1bd5c240e5
Add support for executing additional DB migration statements
In cases where pgloader is not enough and we need to do some additional
migration work after it, we can now use
`additional_psql_statements_list` and
`additional_psql_statements_db_name`.
This is to be used when migrating `matrix-registration`'s data at the
very least.
5 лет назад
Slavi Pantaleev
3289298ac7
Merge branch 'master' into postgres-per-default
5 лет назад