Sfoglia il codice sorgente

Fix capitalization: postgres → Postgres

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
pull/4064/head
Suguru Hirahara 1 anno fa
parent
commit
c27fb2a832
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: E4F9743DAB4B7B75
11 ha cambiato i file con 12 aggiunte e 12 eliminazioni
  1. +1
    -1
      CHANGELOG.md
  2. +1
    -1
      docs/configuring-playbook-matrix-media-repo.md
  3. +1
    -1
      docs/configuring-playbook-postgres-backup.md
  4. +1
    -1
      docs/configuring-playbook.md
  5. +1
    -1
      docs/maintenance-postgres.md
  6. +1
    -1
      docs/updating-users-passwords.md
  7. +1
    -1
      roles/custom/matrix-bot-maubot/templates/config.yaml.j2
  8. +1
    -1
      roles/custom/matrix-bridge-mx-puppet-slack/defaults/main.yml
  9. +2
    -2
      roles/custom/matrix-synapse-auto-compressor/defaults/main.yml
  10. +1
    -1
      roles/custom/matrix-synapse/templates/synapse/homeserver.yaml.j2
  11. +1
    -1
      roles/custom/matrix_playbook_migration/tasks/validate_config.yml

+ 1
- 1
CHANGELOG.md Vedi File

@@ -2144,7 +2144,7 @@ matrix_coturn_tls_v1_1_enabled: true


Thanks to [foxcris](https://github.com/foxcris), the playbook can now make automated local Postgres backups on a fixed schedule using [docker-postgres-backup-local](https://github.com/prodrigestivill/docker-postgres-backup-local). Thanks to [foxcris](https://github.com/foxcris), the playbook can now make automated local Postgres backups on a fixed schedule using [docker-postgres-backup-local](https://github.com/prodrigestivill/docker-postgres-backup-local).


Additional details are available in [Setting up postgres backup](docs/configuring-playbook-postgres-backup.md).
Additional details are available in [Setting up Postgres backup](docs/configuring-playbook-postgres-backup.md).




# 2021-04-03 # 2021-04-03


+ 1
- 1
docs/configuring-playbook-matrix-media-repo.md Vedi File

@@ -66,7 +66,7 @@ Take a look at:
Here is a list of additional common configuration options: Here is a list of additional common configuration options:


```yaml ```yaml
# The postgres database pooling options
# The Postgres database pooling options


# The maximum number of connects to hold open. More of these allow for more concurrent # The maximum number of connects to hold open. More of these allow for more concurrent
# processes to happen. # processes to happen.


+ 1
- 1
docs/configuring-playbook-postgres-backup.md Vedi File

@@ -6,7 +6,7 @@ SPDX-FileCopyrightText: 2024 - 2025 Suguru Hirahara
SPDX-License-Identifier: AGPL-3.0-or-later SPDX-License-Identifier: AGPL-3.0-or-later
--> -->


# Setting up postgres backup (optional)
# Setting up Postgres backup (optional)


The playbook can install and configure [docker-postgres-backup-local](https://github.com/prodrigestivill/docker-postgres-backup-local) for you via the [ansible-role-postgres-backup](https://github.com/mother-of-all-self-hosting/ansible-role-postgres-backup) Ansible role. The playbook can install and configure [docker-postgres-backup-local](https://github.com/prodrigestivill/docker-postgres-backup-local) for you via the [ansible-role-postgres-backup](https://github.com/mother-of-all-self-hosting/ansible-role-postgres-backup) Ansible role.




+ 1
- 1
docs/configuring-playbook.md Vedi File

@@ -206,7 +206,7 @@ Services that help you in administrating and monitoring your Matrix installation
- Backups: - Backups:
- [Setting up BorgBackup](configuring-playbook-backup-borg.md) — a full Matrix server backup solution, including the Postgres database - [Setting up BorgBackup](configuring-playbook-backup-borg.md) — a full Matrix server backup solution, including the Postgres database


- [Setting up postgres backup](configuring-playbook-postgres-backup.md) — a Postgres-database backup solution (note: does not include other files)
- [Setting up Postgres backup](configuring-playbook-postgres-backup.md) — a Postgres-database backup solution (note: does not include other files)


### Other specialized services ### Other specialized services




+ 1
- 1
docs/maintenance-postgres.md Vedi File

@@ -47,7 +47,7 @@ Example playbook invocations:


## Backing up PostgreSQL ## Backing up PostgreSQL


To automatically make Postgres database backups on a fixed schedule, see [Setting up postgres backup](configuring-playbook-postgres-backup.md).
To automatically make Postgres database backups on a fixed schedule, see [Setting up Postgres backup](configuring-playbook-postgres-backup.md).


To make a one off back up of the current PostgreSQL database, make sure it's running and then execute a command like this on the server: To make a one off back up of the current PostgreSQL database, make sure it's running and then execute a command like this on the server:




+ 1
- 1
docs/updating-users-passwords.md Vedi File

@@ -22,7 +22,7 @@ You can manually generate the password hash by using the command-line after **SS
docker exec -it matrix-synapse /usr/local/bin/hash_password -c /data/homeserver.yaml docker exec -it matrix-synapse /usr/local/bin/hash_password -c /data/homeserver.yaml
``` ```


and then connecting to the postgres server and executing:
and then connecting to the Postgres server and executing:


```sql ```sql
UPDATE users SET password_hash = '<password-hash>' WHERE name = '@alice:example.com'; UPDATE users SET password_hash = '<password-hash>' WHERE name = '@alice:example.com';


+ 1
- 1
roles/custom/matrix-bot-maubot/templates/config.yaml.j2 Vedi File

@@ -28,7 +28,7 @@ plugin_directories:
# Configuration for storing plugin databases # Configuration for storing plugin databases
plugin_databases: plugin_databases:
# Some plugins still require sqlite, so configure a path here. # Some plugins still require sqlite, so configure a path here.
# postgres will be used if supported.
# Postgres will be used if supported.
sqlite: /data/dbs sqlite: /data/dbs
postgres: default postgres: default




+ 1
- 1
roles/custom/matrix-bridge-mx-puppet-slack/defaults/main.yml Vedi File

@@ -108,7 +108,7 @@ matrix_mx_puppet_slack_login_shared_secret: ''
matrix_mx_puppet_slack_presence_enabled: true matrix_mx_puppet_slack_presence_enabled: true
matrix_mx_puppet_slack_presence_interval: 5000 matrix_mx_puppet_slack_presence_interval: 5000


# Database configuration, role uses 'sqlite' per default but playbook sets up postgres by default
# Database configuration, role uses 'sqlite' per default but playbook sets up Postgres by default
matrix_mx_puppet_slack_database_engine: sqlite matrix_mx_puppet_slack_database_engine: sqlite


matrix_mx_puppet_slack_sqlite_database_path_local: "{{ matrix_mx_puppet_slack_data_path }}/database.db" matrix_mx_puppet_slack_sqlite_database_path_local: "{{ matrix_mx_puppet_slack_data_path }}/database.db"


+ 2
- 2
roles/custom/matrix-synapse-auto-compressor/defaults/main.yml Vedi File

@@ -8,11 +8,11 @@ matrix_synapse_auto_compressor_enabled: true
# renovate: datasource=docker depName=registry.gitlab.com/etke.cc/rust-synapse-compress-state # renovate: datasource=docker depName=registry.gitlab.com/etke.cc/rust-synapse-compress-state
matrix_synapse_auto_compressor_version: v0.1.4 matrix_synapse_auto_compressor_version: v0.1.4


# note: UID/GID better to match the UID/GID of the postgres container, but it doesn't really matter, as volumes are not used here
# note: UID/GID better to match the UID/GID of the Postgres container, but it doesn't really matter, as volumes are not used here
matrix_synapse_auto_compressor_uid: '' matrix_synapse_auto_compressor_uid: ''
matrix_synapse_auto_compressor_gid: '' matrix_synapse_auto_compressor_gid: ''


# note: the postgres image version doesn't matter, as it is used for a SQL script that doesn't use any specific features
# note: the Postgres image version doesn't matter, as it is used for a SQL script that doesn't use any specific features
matrix_synapse_auto_compressor_postgres_image: "postgres" matrix_synapse_auto_compressor_postgres_image: "postgres"


matrix_synapse_auto_compressor_base_path: "{{ matrix_base_data_path }}/synapse-auto-compressor" matrix_synapse_auto_compressor_base_path: "{{ matrix_base_data_path }}/synapse-auto-compressor"


+ 1
- 1
roles/custom/matrix-synapse/templates/synapse/homeserver.yaml.j2 Vedi File

@@ -837,7 +837,7 @@ caches:
# before reconnecting. Defaults to 0, which means no limit. # before reconnecting. Defaults to 0, which means no limit.
# #
# 'allow_unsafe_locale' is an option specific to Postgres. Under the default behavior, Synapse will refuse to # 'allow_unsafe_locale' is an option specific to Postgres. Under the default behavior, Synapse will refuse to
# start if the postgres db is set to a non-C locale. You can override this behavior (which is *not* recommended)
# start if the Postgres db is set to a non-C locale. You can override this behavior (which is *not* recommended)
# by setting 'allow_unsafe_locale' to true. Note that doing so may corrupt your database. You can find more information # by setting 'allow_unsafe_locale' to true. Note that doing so may corrupt your database. You can find more information
# here: https://matrix-org.github.io/synapse/latest/postgres.html#fixing-incorrect-collate-or-ctype and here: # here: https://matrix-org.github.io/synapse/latest/postgres.html#fixing-incorrect-collate-or-ctype and here:
# https://wiki.postgresql.org/wiki/Locale_data_changes # https://wiki.postgresql.org/wiki/Locale_data_changes


+ 1
- 1
roles/custom/matrix_playbook_migration/tasks/validate_config.yml Vedi File

@@ -423,7 +423,7 @@
- name: (Deprecation) Catch and report devture_postgres variables - name: (Deprecation) Catch and report devture_postgres variables
ansible.builtin.fail: ansible.builtin.fail:
msg: |- msg: |-
The postgres role in the playbook now lives under the MASH organization (https://github.com/mother-of-all-self-hosting/ansible-role-postgres).
The Postgres role in the playbook now lives under the MASH organization (https://github.com/mother-of-all-self-hosting/ansible-role-postgres).
The new role is pretty much the same, but uses differently named variables. The new role is pretty much the same, but uses differently named variables.


Please change your configuration (vars.yml) to rename all `devture_postgres_`-prefixed variables (`devture_postgres_*` -> `postgres_*`). Please change your configuration (vars.yml) to rename all `devture_postgres_`-prefixed variables (`devture_postgres_*` -> `postgres_*`).


Caricamento…
Annulla
Salva