Przeglądaj źródła

Update files for matrix-appservice-webhooks: add the common section "Troubleshooting"

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
pull/4013/head
Suguru Hirahara 1 rok temu
rodzic
commit
812e6686e0
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: E4F9743DAB4B7B75
2 zmienionych plików z 14 dodań i 1 usunięć
  1. +13
    -0
      docs/configuring-playbook-bridge-appservice-webhooks.md
  2. +1
    -1
      roles/custom/matrix-bridge-appservice-webhooks/defaults/main.yml

+ 13
- 0
docs/configuring-playbook-bridge-appservice-webhooks.md Wyświetl plik

@@ -94,3 +94,16 @@ If you're using the [Dimension integration manager](configuring-playbook-dimensi
To configure it, open the Dimension integration manager, and go to "Settings" and "Bridges", then select edit action for "Webhook Bridge". To configure it, open the Dimension integration manager, and go to "Settings" and "Bridges", then select edit action for "Webhook Bridge".


On the UI, press "Add self-hosted Bridge" button and populate "Provisioning URL" and "Shared Secret" values from `/matrix/appservice-webhooks/config/config.yaml` file's homeserver URL value and provisioning secret value, respectively. On the UI, press "Add self-hosted Bridge" button and populate "Provisioning URL" and "Shared Secret" values from `/matrix/appservice-webhooks/config/config.yaml` file's homeserver URL value and provisioning secret value, respectively.

## Troubleshooting

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-appservice-webhooks`.

### Increase logging verbosity

The default logging level for this component is `info`. If you want to increase the verbosity, add the following configuration to your `vars.yml` file and re-run the playbook:

```yaml
# Valid values: info, verbose
matrix_appservice_webhooks_log_level: 'verbose'
```

+ 1
- 1
roles/custom/matrix-bridge-appservice-webhooks/defaults/main.yml Wyświetl plik

@@ -94,7 +94,7 @@ matrix_appservice_webhooks_homeserver_token: ''
matrix_appservice_webhooks_id_token: '' matrix_appservice_webhooks_id_token: ''
matrix_appservice_webhooks_api_secret: '' matrix_appservice_webhooks_api_secret: ''


# Logging information (info and verbose is available) default is: info
# Valid values: info, verbose
matrix_appservice_webhooks_log_level: 'info' matrix_appservice_webhooks_log_level: 'info'


matrix_appservice_webhooks_configuration_yaml: "{{ lookup('template', 'templates/config.yaml.j2') }}" matrix_appservice_webhooks_configuration_yaml: "{{ lookup('template', 'templates/config.yaml.j2') }}"


Ładowanie…
Anuluj
Zapisz