mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2026-08-19 23:30:51 +00:00
Add a meowlnir-whoami diagnostic script to matrix-bot-meowlnir
Asks the homeserver who Meowlnir's appservice token belongs to. A 401 (M_UNKNOWN_TOKEN) response means the homeserver is running without Meowlnir's appservice registration, which is the usual cause of Meowlnir's "Failed to connect to homeserver" log messages. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -296,6 +296,10 @@ The playbook drives Meowlnir's management API for you based on `matrix_bot_meowl
|
||||
|
||||
# Create another management room for an existing bot, with the given users able to command it there
|
||||
/matrix/meowlnir/bin/meowlnir-create-management-room meowlnir_bot @alice:example.com
|
||||
|
||||
# Ask the homeserver who Meowlnir's appservice token belongs to.
|
||||
# A 401 response means the homeserver is running without Meowlnir's appservice registration, which is also what Meowlnir's own "Failed to connect to homeserver" log messages usually mean.
|
||||
/matrix/meowlnir/bin/meowlnir-whoami
|
||||
```
|
||||
|
||||
`meowlnir-create-management-room` prints the new room's ID, which you then register with `meowlnir-api PUT /_meowlnir/v1/management_room/<room ID>`.
|
||||
|
||||
Reference in New Issue
Block a user