Closed ajohns92a closed 1 year ago
I noted the follow error in the Synapse log. After enabling Debugging, there was no further detail.
2023-04-12 03:03:47,132 - synapse.config.appservice - 45 - WARNING - main - Expected /matrix/appservice-registration-irc.yaml to be a list of AS config files.
I think the error speaks for itself, it's a list of files and you've given it a string:
app_service_config_files: ["/matrix/appservice-registration-irc.yaml"]
Synapse should really be crashing on this.
I think the error speaks for itself, it's a list of files and you've given it a string:
app_service_config_files: ["/matrix/appservice-registration-irc.yaml"]
Synapse should really be crashing on this.
Thank you for the response. I may be mistaken or possibly have put the file in the wrong location, however it does exist.
and I am invoking from the home folder with the following:
node app.js -c config.yaml -f /matrix/appservice-registration-irc.yaml -p 9998
Could it be a permission issue? I tried with SUDO and received a different error, so that didn't resolve it.
When I execute as user, I receive the original error above.
Your Synapse homeserver configuration is wrong. You've set app_service_config_files
as string, but it should be a list. See https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#app_service_config_files
As for the other error, it looks like your Node version might possibly be very out of date. We only support Node 16 or greater. What is the output of node --version
on your server?
I think the error speaks for itself, it's a list of files and you've given it a string:
app_service_config_files: ["/matrix/appservice-registration-irc.yaml"]
Synapse should really be crashing on this.
I re-read your reply again and fixed the syntax in the homeserver.yaml (stopped passing a string, passed a list!) Thanks!! Working now.
For what it's worth:
Weird, wonder why it didn't like the syntax then. Anyway, sounds like it's all working!
Hi! I have reviewed the ticket that closely matches mine: https://github.com/matrix-org/matrix-appservice-irc/issues/942
However I'm still unable to resolve.
For simplicity - my appservice-registration-irc.yaml file exists in /matrix with full rw permission
homeserver.yaml
I've not registered any user for the bridge or invited to any room. Should registration occur automatically? Or are there steps I must follow to create a bridge user.
Any guidance would be appreciated! For what it's worth, I administer the target IRC server so I can modify both layers.
OS - Debian 11 Node Version: 18.15.0