Przeglądaj źródła

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 rok temu
rodzic
commit
c9ae1efa07
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: E4F9743DAB4B7B75
2 zmienionych plików z 26 dodań i 0 usunięć
  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 Wyświetl plik

@@ -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). 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. 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 Wyświetl plik

@@ -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. 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. **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
```

Ładowanie…
Anuluj
Zapisz