mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2025-11-07 18:48:55 +01:00
118 lines
5.6 KiB
Plaintext
118 lines
5.6 KiB
Plaintext
# SOME DESCRIPTIVE TITLE.
|
|
# Copyright (C) 2018-2025, Slavi Pantaleev, Aine Etke, MDAD community members
|
|
# This file is distributed under the same license as the matrix-docker-ansible-deploy package.
|
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
|
#
|
|
#, fuzzy
|
|
msgid ""
|
|
msgstr ""
|
|
"Project-Id-Version: matrix-docker-ansible-deploy \n"
|
|
"Report-Msgid-Bugs-To: \n"
|
|
"POT-Creation-Date: 2025-11-06 23:09+0900\n"
|
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
|
"MIME-Version: 1.0\n"
|
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
"Content-Transfer-Encoding: 8bit\n"
|
|
|
|
#: ../../../docs/configuring-playbook-synapse-auto-compressor.md:9
|
|
msgid "Setting up synapse-auto-compressor (optional)"
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-synapse-auto-compressor.md:11
|
|
msgid "The playbook can install and configure [synapse_auto_compressor](https://github.com/matrix-org/rust-synapse-compress-state/#automated-tool-synapse_auto_compressor) for you."
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-synapse-auto-compressor.md:13
|
|
msgid "It's a CLI tool that automatically compresses Synapse's `state_groups` database table in the background."
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-synapse-auto-compressor.md:15
|
|
msgid "See the project's [documentation](https://github.com/matrix-org/rust-synapse-compress-state/blob/master/README.md#automated-tool-synapse_auto_compressor) to learn what it does and why it might be useful to you."
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-synapse-auto-compressor.md:17
|
|
msgid "Adjusting the playbook configuration"
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-synapse-auto-compressor.md:19
|
|
msgid "Add the following configuration to your `inventory/host_vars/matrix.example.com/vars.yml` file:"
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-synapse-auto-compressor.md:25
|
|
msgid "Edit the schedule (optional)"
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-synapse-auto-compressor.md:27
|
|
msgid "By default the task will around 0 a.m. every day based on the `matrix_synapse_auto_compressor_schedule` variable with a randomized delay of 6 hours (controlled by the `matrix_synapse_auto_compressor_schedule_randomized_delay_sec` variable). It is defined in the format of systemd timer calendar."
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-synapse-auto-compressor.md:29
|
|
msgid "To edit the schedule, add the following configuration to your `vars.yml` file (adapt to your needs):"
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-synapse-auto-compressor.md:38
|
|
msgid "Extending the configuration"
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-synapse-auto-compressor.md:40
|
|
msgid "There are some additional things you may wish to configure about the component."
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-synapse-auto-compressor.md:42
|
|
msgid "Take a look at:"
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-synapse-auto-compressor.md:44
|
|
msgid "`roles/custom/matrix-synapse-auto-compressor/defaults/main.yml` for some variables that you can customize via your `vars.yml` file"
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-synapse-auto-compressor.md:46
|
|
msgid "Installing"
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-synapse-auto-compressor.md:48
|
|
msgid "After configuring the playbook, run it with [playbook tags](playbook-tags.md) as below:"
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-synapse-auto-compressor.md:55
|
|
msgid "The shortcut commands with the [`just` program](just.md) are also available: `just install-all` or `just setup-all`"
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-synapse-auto-compressor.md:57
|
|
msgid "`just install-all` is useful for maintaining your setup quickly ([2x-5x faster](../CHANGELOG.md#2x-5x-performance-improvements-in-playbook-runtime) than `just setup-all`) when its components remain unchanged. If you adjust your `vars.yml` to remove other components, you'd need to run `just setup-all`, or these components will still remain installed. Note these shortcuts run the `ensure-matrix-users-created` tag too."
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-synapse-auto-compressor.md:59
|
|
msgid "Usage"
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-synapse-auto-compressor.md:61
|
|
msgid "After installation, `synapse_auto_compressor` will run automatically every day at `00:00:00` (as defined in `matrix_synapse_auto_compressor_schedule` by default)."
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-synapse-auto-compressor.md:63
|
|
msgid "Manually start the task"
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-synapse-auto-compressor.md:65
|
|
msgid "Sometimes it can be helpful to execute compression as you'd like, avoiding to wait until 00:00, like when you test your configuration."
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-synapse-auto-compressor.md:67
|
|
msgid "If you want to execute it immediately, log in to the server with SSH and run `systemctl start matrix-synapse-auto-compressor`."
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-synapse-auto-compressor.md:69
|
|
msgid "This will not return until the compression is done, so it can possibly take a long time. Consider using [tmux](https://en.wikipedia.org/wiki/Tmux) if your SSH connection is unstable."
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-synapse-auto-compressor.md:71
|
|
msgid "Troubleshooting"
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-synapse-auto-compressor.md:73
|
|
msgid "As with all other services, you can find the logs in [systemd-journald](https://www.freedesktop.org/software/systemd/man/systemd-journald.service.html) by logging in to the server with SSH and running `journalctl -fu matrix-synapse-auto-compressor`."
|
|
msgstr ""
|