Commit Graph

101 Commits (a47813585d033eac83dda764bb96cc177e936b4c)

Author SHA1 Message Date
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
Slavi Pantaleev 3e2355282b Upgrade Postgres minor versions
4 years ago
Slavi Pantaleev ccabc82d4c Use more fully-qualified container images
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
Dan Arnfield 20eea648a5 Update postgres versions (12.3 -> 12.4, etc)
4 years ago
Chris van Dijk 6e3b877dc2 Remove hardcoded command paths in playbook shell usage
4 years ago
Chris van Dijk 6334f6c1ea Remove hardcoded command paths in systemd unit files
4 years ago
Ugurtan 5ace3f4a1c
fix for importing sqllite database
4 years ago
Dan Arnfield ee3944bcdb Update postgres (12.2 -> 12.3, etc)
4 years ago