mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2026-08-20 07:40:52 +00:00
Ensure the homeserver accepts matrix-bot-meowlnir's appservice token before provisioning
The homeserver only reads appservice registrations on startup, and the playbook only restarts it at the very end of a run. On the run which first enables Meowlnir, bot provisioning therefore talked to a homeserver still running without Meowlnir's registration, hitting M_UNKNOWN_TOKEN and hanging indefinitely. Provisioning now verifies the token upfront and restarts the homeserver itself when needed, so a single run completes even when Meowlnir was just enabled. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -275,6 +275,8 @@ With `management_room_auto_create`, you then have an invitation waiting for you
|
||||
|
||||
- Re-running is safe and idempotent, so adding a bot later is a matter of extending the list and running the same command again.
|
||||
|
||||
- If the homeserver turns out to be running without Meowlnir's appservice registration (which is the normal state of affairs on the run that first enables Meowlnir), the playbook restarts the homeserver during bot provisioning, so that everything completes in a single run.
|
||||
|
||||
- The shortcut commands with the [`just` program](just.md) are also available: `just install-all` or `just setup-all`
|
||||
|
||||
## Usage
|
||||
|
||||
Reference in New Issue
Block a user