matrix-docker-ansible-deploy/roles/matrix-postgres/tasks
Slavi Pantaleev 86da489b9b Never fail when stopping systemd service during (SQLite -> Postgres) migration
We need to suppress systemd service-stopping requests in certain rare
cases like https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/771

That issue seems to describe a case, where a migration from mxisd to
ma1sd was happening (DB files had just been moved), and then we were
attemping to stop `matrix-ma1sd.service` so we could import that database into
Postgres. However, there's neither `matrix-mxisd.service`, nor
`matrix-ma1sd.service` after `migrate_mxisd.yml` had just run, so
stopping `matrix-ma1sd.service` was failing.
2020-12-29 10:31:20 +02:00
..
util Never fail when stopping systemd service during (SQLite -> Postgres) migration 2020-12-29 10:31:20 +02:00
import_generic_sqlite_db.yml Make --tags=import-generic-sqlite-db commands not pass a sensitive connection string around 2020-12-14 11:47:00 +02:00
import_postgres.yml Fix Postgres database importing/upgrading conflicts 2020-12-14 22:28:20 +02:00
import_synapse_sqlite_db.yml
init.yml
main.yml Add support for automatic (nedb -> Postgres) migration to matrix-appservice-slack 2020-12-22 19:56:52 +02:00
migrate_postgres_data_directory.yml
run_vacuum.yml
setup_postgres.yml
upgrade_postgres.yml Fix Postgres database importing/upgrading conflicts 2020-12-14 22:28:20 +02:00
validate_config.yml