92 Commits (815a80c290d2527a74a26acb47e6f1fbbb3f000b)

Author SHA1 Message Date
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
5 years ago
Chris van Dijk 6334f6c1ea Remove hardcoded command paths in systemd unit files
5 years ago
Ugurtan 5ace3f4a1c
fix for importing sqllite database
5 years ago
Dan Arnfield ee3944bcdb Update postgres (12.2 -> 12.3, etc)
5 years ago
Slavi Pantaleev 8fb3ce6f6d Upgrade Synapse (v1.12.4 -> v1.13.0)
5 years ago
Chris van Dijk 7585bcc4ac Allow the matrix user username and groupname to be configured separately
5 years ago
Slavi Pantaleev 9991d545dd Add note about synapse-janitor and require explicit confirmation for usage
5 years ago
Chris van Dijk 88c1fbf6aa Fix hardcoded values in postgres script matrix-change-user-admin-status
5 years ago
Chris van Dijk d83236ea0e Fix inconsistent whitespace
5 years ago
Mickaël Cornière 82989b662a Fix bad network and bad path to postgre env
5 years ago
mooomooo eebc6e13f8 Made directory variables for /etc/systemd/system , /etc/cron.d , /usr/local/bin
5 years ago
Dan Arnfield e36de7e627 Update postgres (12.1 -> 12.2, etc)
5 years ago
David Gnedt c55682d099 Update synapse-janitor to support current synapse database schema
5 years ago