Просмотр исходного кода

Update docs for Meta Instagram and Messenger: add the common section "Troubleshooting"

The comments are copied from the configuration files.

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
pull/4042/head
Suguru Hirahara 1 год назад
Родитель
Сommit
c9ae1efa07
Не найден GPG ключ соответствующий данной подписи Идентификатор GPG ключа: E4F9743DAB4B7B75
2 измененных файлов: 26 добавлений и 0 удалений
  1. +13
    -0
      docs/configuring-playbook-bridge-mautrix-meta-instagram.md
  2. +13
    -0
      docs/configuring-playbook-bridge-mautrix-meta-messenger.md

+ 13
- 0
docs/configuring-playbook-bridge-mautrix-meta-instagram.md Просмотреть файл

@@ -69,3 +69,16 @@ To use the bridge, you need to start a chat with `@instagrambot:example.com` (wh
You can then follow instructions on the bridge's [official documentation on Authentication](https://docs.mau.fi/bridges/go/meta/authentication.html).

After logging in, the bridge will sync recent chats.

## 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-mautrix-meta-instagram`.

### Increase logging verbosity

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

```yaml
# This bridge uses zerolog, so valid levels are: panic, fatal, error, warn, info, debug, trace
matrix_mautrix_meta_instagram_logging_min_level: debug
```

+ 13
- 0
docs/configuring-playbook-bridge-mautrix-meta-messenger.md Просмотреть файл

@@ -84,3 +84,16 @@ You can then follow instructions on the bridge's [official documentation on Auth
After logging in, the bridge will sync recent chats.

**Note**: given that the bot is configured in `messenger` [bridge mode](#bridge-mode) by default, you will need to log in to [messenger.com](https://messenger.com/) (not `facebook.com`!) and obtain the cookies from there.

## 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-mautrix-meta-messenger`.

### Increase logging verbosity

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

```yaml
# This bridge uses zerolog, so valid levels are: panic, fatal, error, warn, info, debug, trace
matrix_mautrix_meta_messenger_logging_min_level: debug
```

Загрузка…
Отмена
Сохранить