Explorar el Código

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 hace 1 año
padre
commit
812e6686e0
No se encontró ninguna clave conocida en la base de datos para esta firma ID de clave GPG: E4F9743DAB4B7B75
Se han modificado 2 ficheros con 14 adiciones y 1 borrados
  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 Ver fichero

@@ -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 Ver fichero

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


Cargando…
Cancelar
Guardar