-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Unrecognised appservice access token
errors
#324
Fix Unrecognised appservice access token
errors
#324
Conversation
Regressed in 7f19337 In 7f19337, the appservice mount path changed from `/appservices/` to `/complement/appservice/` but [`start.sh`](https://github.com/matrix-org/complement/blob/53e90f7502ac3c9f1cce7c057ac65562124031d5/dockerfiles/synapse/start.sh#L8) which looks at that path was not updated.
@@ -5,14 +5,14 @@ set -e | |||
sed -i "s/SERVER_NAME/${SERVER_NAME}/g" /conf/homeserver.yaml | |||
|
|||
# Add the application service registration files to the homeserver.yaml config | |||
for filename in /appservices/*.yaml; do | |||
for filename in /complement/appservice/*.yaml; do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This now matches:
complement/internal/docker/deployer.go
Line 43 in 53e90f7
MountAppServicePath = "/complement/appservice/" // All registration files sit here |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this, sorry I didn't catch it before!
Thanks for the review and merge @kegsay 🦇 |
Fix
Unrecognised appservice access token
errorsRegressed in 7f19337 (#304)
In #304, the appservice mount path changed from
/appservices/
to/complement/appservice/
butstart.sh
which loops through every file at that path and adds an entry inhomesever.yaml
was not updated.Dev notes
Before run: