matrix-docker-ansible-deploy/roles
Slavi Pantaleev dd797ba6a7 Fix Postgres database importing/upgrading conflicts
We were running into conflicts, because having initialized
the roles (users) and databases, trying to import leads to
errors (role XXX already exists, etc.).

We were previously ignoring the Synapse database (`homeserver`)
when upgrading/importing, because that one gets created by default
whenever the container starts.

For our additional databases, it's a similar situation now.
It's not created by default as soon as Postgres starts with an empty
database, but rather we create it as part of running the playbook.

So we either need to skip those role/database creation statements
while upgrading/importing, or to avoid creating the additional database
and rely on the import for that. I've gone for the former, because
it's already similar to what we were doing and it's simpler
(it lets `setup_postgres.yml` be the same in all scenarios).
2020-12-14 22:28:20 +02:00
..
matrix-base Remove synapse-janitor support 2020-12-11 23:24:42 +02:00
matrix-bot-matrix-reminder-bot Enable automatic (SQLite -> Postgres) migration for matrix-reminder-bot 2020-12-14 16:03:40 +02:00
matrix-bridge-appservice-discord Enable automatic (SQLite -> Postgres) migration for matrix-appservice-discord 2020-12-14 16:25:22 +02:00
matrix-bridge-appservice-irc hint supported automatic migration nedb->postgres 2020-12-14 16:33:40 +01:00
matrix-bridge-appservice-slack add postgres support mx-appservice-[slack|irc] with fallback to nedb in role and migration notice 2020-12-14 14:08:35 +01:00
matrix-bridge-appservice-webhooks Fix systemd services autostart problem with Docker 20.10 2020-12-10 11:43:20 +02:00
matrix-bridge-mautrix-facebook Enable automatic (SQLite -> Postgres) migration for matrix-mautrix-facebook 2020-12-14 16:14:23 +02:00
matrix-bridge-mautrix-hangouts Enable automatic (SQLite -> Postgres) migration for matrix-mautrix-hangouts 2020-12-14 16:18:38 +02:00
matrix-bridge-mautrix-telegram Enable automatic (SQLite -> Postgres) migration for matrix-mautrix-telegram 2020-12-14 16:19:54 +02:00
matrix-bridge-mautrix-whatsapp Enable automatic (SQLite -> Postgres) migration for matrix-mautrix-whatsapp 2020-12-14 16:21:01 +02:00
matrix-bridge-mx-puppet-discord add postgres support for mx-puppet-* with fallback to sqlite in role and migration notice 2020-12-14 13:22:58 +01:00
matrix-bridge-mx-puppet-instagram Fix indentation causing YAML syntax error 2020-12-14 14:53:35 +02:00
matrix-bridge-mx-puppet-skype add postgres support for mx-puppet-* with fallback to sqlite in role and migration notice 2020-12-14 13:22:58 +01:00
matrix-bridge-mx-puppet-slack add postgres support for mx-puppet-* with fallback to sqlite in role and migration notice 2020-12-14 13:22:58 +01:00
matrix-bridge-mx-puppet-steam add postgres support for mx-puppet-* with fallback to sqlite in role and migration notice 2020-12-14 13:22:58 +01:00
matrix-bridge-mx-puppet-twitter add postgres support for mx-puppet-* with fallback to sqlite in role and migration notice 2020-12-14 13:22:58 +01:00
matrix-bridge-sms Fix systemd services autostart problem with Docker 20.10 2020-12-10 11:43:20 +02:00
matrix-client-element Fix systemd services autostart problem with Docker 20.10 2020-12-10 11:43:20 +02:00
matrix-common-after/tasks Add matrix_services_autostart_enabled variable for preventing services autostart 2020-11-30 20:58:21 +02:00
matrix-corporal Fix systemd services autostart problem with Docker 20.10 2020-12-10 11:43:20 +02:00
matrix-coturn Fix systemd services autostart problem with Docker 20.10 2020-12-10 11:43:20 +02:00
matrix-dimension Add (SQLite + Postgres) support and automatic migration to matrix-dimension 2020-12-14 21:01:47 +02:00
matrix-dynamic-dns Fix systemd services autostart problem with Docker 20.10 2020-12-10 11:43:20 +02:00
matrix-email2matrix Fix systemd services autostart problem with Docker 20.10 2020-12-10 11:43:20 +02:00
matrix-jitsi Fix systemd services autostart problem with Docker 20.10 2020-12-10 11:43:20 +02:00
matrix-ma1sd Add (SQLite + Postgres) support and automatic migration to matrix-ma1sd 2020-12-14 17:16:25 +02:00
matrix-mailer Make matrix-mailer not occupy matrix_server_fqn_matrix 2020-12-10 23:51:11 +02:00
matrix-nginx-proxy Fix systemd services autostart problem with Docker 20.10 2020-12-10 11:43:20 +02:00
matrix-postgres Fix Postgres database importing/upgrading conflicts 2020-12-14 22:28:20 +02:00
matrix-registration Prepare matrix-registation for (SQLite + Postgres) support 2020-12-14 18:58:37 +02:00
matrix-synapse Rename some doc files and commands related to importing 2020-12-14 01:51:00 +02:00
matrix-synapse-admin Upgrade synapse-admin (v0.5.0 -> 0.6.1) 2020-12-10 16:28:48 -06:00