82 Commits (e834a69e60cfa383d26426ec0631a201a3c64656)

Author SHA1 Message Date
Slavi Pantaleev c4d2c8394c Abort if on an unsupported Postgres version (v9.6)
3 years ago
Slavi Pantaleev 735c966ab6 Disable systemd services when stopping to uninstall them
3 years ago
Slavi Pantaleev 096c960b84 Add support for Postgres v14
3 years ago
pushytoxin bee14550ab Fix local/bin scripts autocompletion by adding rx perms to everyone
4 years ago
Slavi Pantaleev 1ab507349c Fix self-building for various components on Ansible < 2.8
4 years ago
Slavi Pantaleev a56cb34850 Notify people if /matrix/postgres/data-auto-upgrade-backup exists
4 years ago
Slavi Pantaleev a2422c458a Notify of remaining matrix-postgres local data in a better way
4 years ago
Slavi Pantaleev f9968b6981 Fix matrix_postgres_connection_password length check
4 years ago
Slavi Pantaleev 88addd71fc Fix Postgres imports going to the matrix DB by default
4 years ago
Slavi Pantaleev 95346f3117 Reorganize Postgres access (breaking change)
4 years ago
Slavi Pantaleev 05ca9357a8 Add .service suffix to systemd units list
4 years ago
Slavi Pantaleev fb83eccf99 Relocate SQL template file
4 years ago
Slavi Pantaleev 86da489b9b Never fail when stopping systemd service during (SQLite -> Postgres) migration
4 years ago
Slavi Pantaleev 21662af3be Archive database only after additional_psql_statements_list had executed
4 years ago
Stuart Mumford 019a4d7dcd Use role relative paths for things
4 years ago
Slavi Pantaleev ad1425eee4 Add pgloader self-building support (for ARM)
4 years ago
Slavi Pantaleev 8675dedbdb Add support for automatic (nedb -> Postgres) migration to matrix-appservice-slack
4 years ago
Slavi Pantaleev 715bdf2c64 Add support for automatic (nedb -> Postgres) migration to mx-appservice-irc
4 years ago
Slavi Pantaleev 1bd5c240e5 Add support for executing additional DB migration statements
4 years ago
Slavi Pantaleev dd797ba6a7 Fix Postgres database importing/upgrading conflicts
4 years ago
transcaffeine 13d8a9b39c
hint supported automatic migration nedb->postgres
4 years ago
Slavi Pantaleev af3ea67bba Add (SQLite + Postgres) support and automatic migration to matrix-ma1sd
4 years ago
Slavi Pantaleev c1431b28f0 Make use of matrix_postgres_db_migration_request.caller
4 years ago
Slavi Pantaleev dc7850e83c Fix wording and variable names a bit
4 years ago
Slavi Pantaleev bc376c2fb2 Add database migration utility to matrix-postgres role
4 years ago
Slavi Pantaleev 5dba0c038b Make --tags=import-generic-sqlite-db commands not pass a sensitive connection string around
4 years ago
Slavi Pantaleev cb969c6ca2 Add --tags=import-generic-sqlite-db (pgloader import)
4 years ago
Slavi Pantaleev c66c084027 Merge branch 'master' into postgres-per-default
4 years ago
Slavi Pantaleev 6e1dfb62f0 Rename some doc files and commands related to importing
4 years ago
Slavi Pantaleev 183d2a10db Ensure matrix-postgres.service is started before creating additional users/databases
4 years ago
Slavi Pantaleev 46a4034d3e Use "password" for additional Postgres databases, not "pass"
4 years ago
Slavi Pantaleev 3a037a5993 Ensure additional databases contain all the keys that we expect
4 years ago
Slavi Pantaleev da4cb2f639 Do not use the postgresql_user/postgresql_db modules
4 years ago
Slavi Pantaleev bbc09d013b Do not execute additional databases creation code if not necessary
4 years ago
Slavi Pantaleev c765ceb270 Prevent weird loop error
4 years ago
Slavi Pantaleev e2952f16f7 Determine matrix-postgres IP address without relying on jq
4 years ago
Slavi Pantaleev f47e8a97e6 Make use of matrix_host_command_docker instead of hardcoding
4 years ago
Slavi Pantaleev 0641106370 Allow username of additional Postgres databases to be different
4 years ago
Slavi Pantaleev 527d5f57d5 Relocate Postgres additional database creation logic
4 years ago
Slavi Pantaleev 77a5c7cf3c Merge branch 'master' into postgres-per-default
4 years ago
Slavi Pantaleev 47613e5a27 Remove synapse-janitor support
4 years ago
transcaffeine d9f4914e0d
WIP: postgres: create databases for all services
4 years ago
Slavi Pantaleev 796c752b60 Ensure Postgres passwords are not longer than 99 characters
4 years ago
Slavi Pantaleev 75f9fde7a4 Remove some more -v usage
4 years ago
Slavi Pantaleev 6a72e3fa54 Try to make importing SQLite from older Synapse version work
4 years ago
Dan Arnfield 3a3383fada Add support for postgres 13
4 years ago
Slavi Pantaleev a456e3a9e7 Surface certain messages at the end of playbook execution
4 years ago
Slavi Pantaleev e3dca2f66f Try to avoid Docker logs growing too much for one-off containers
4 years ago
Chris van Dijk 6e3b877dc2 Remove hardcoded command paths in playbook shell usage
5 years ago
Ugurtan 5ace3f4a1c
fix for importing sqllite database
5 years ago