112 Commits (85a260daaf5d04795f2be4a8de09fac26be57ecd)

Author SHA1 Message Date
Julian Foad d1f28d17bb Allow psql args to be given to matrix-postgres-cli
4 years ago
o8F0LY 0a0c9a4efc Add double quotes to avoid synatx errors
4 years ago
Slavi Pantaleev 512f42aa76 Do not report docker kill/rm attempts as errors
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 f085362149 Fix some Postgres CLI scripts to target the correct database
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 bef0702fea Wait some more when starting Postgres during setup on ARM
4 years ago
Slavi Pantaleev f9c1d62435 Fix Postgres database (-alpine) failing to start on ARM32
4 years ago
Slavi Pantaleev 95346f3117 Reorganize Postgres access (breaking change)
4 years ago
Slavi Pantaleev 1692a28fe4 Work around annoying Docker warning about undefined $HOME
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 f1e85f7112 Don't mention Postgres roles, just say users
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 dac0d3a682 Add default matrix_postgres_additional_databases
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 d08b27784f Fix systemd services autostart problem with Docker 20.10
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 1fca917ad1 Replace some -v instances with --mount
4 years ago