Procházet zdrojové kódy

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 před 1 rokem
rodič
revize
812e6686e0
V databázi nebyl nalezen žádný známý klíč pro tento podpis ID GPG klíče: E4F9743DAB4B7B75
2 změnil soubory, kde provedl 14 přidání a 1 odebrání
  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 Zobrazit soubor

@@ -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 Zobrazit soubor

@@ -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') }}"


Načítá se…
Zrušit
Uložit