-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Cannot Register Any Users With New Installation #3815
Comments
This part is just a warning:
It can be ignored. The actual error seems to be:
Digging through the element-hq/matrix-authentication-service source code, this error is produced here This check is done against Synapse, so the following reasons may be why it happens:
Perhaps try registering a different username? Maybe the one you're testing with is not OK for some reason. It could be that Synapse does not consider it OK, Matrix Authentication Service passes it in the wrong way or the Ansible playbook somehow mangles the username while passing it around. I've just tried registering a user against Matrix Authentication Service via |
Hey, I appreciate you explaining the error to me, that let me figure out a different solution to the problem. I ended up importing everything from my old server to the new, as I suspected there was a conflict with my username even though the old server was never federated. Logged back in and good to go. Thank you good sir! |
Why reopen? Are you experiencing the same or similar issue again? |
Yes, sorry I got pulled away before I could post a comment with an explanation. But yes, the problem is back. Migrated the server, got all the old accounts running, figured that was the end of it. Can't register any new users at all, tried several different names to be sure. Used the playbook previously, I've also SSH'd into the server and ran the registration commands directly. Same error, each time. The usernames I tried were for sure not registered on my server. You mentioned previously it might be Matrix Authentication Service not communicating with Synapse properly, would you have an idea what logs I should pull to figure out what the potential disconnect might be? Your help is much appreciated! |
Playbook Configuration:
My
vars.yml
file looks like this:Matrix Server:
Ansible:
If your problem appears to be with Ansible, tell us:
Problem description:
I am unable to register any users on my Matrix server, trying to do so gives a "No such file or directory" error. I haven't even been able to create my admin user. Trying to use Matrix Authentication Service as I would like to use the new features being developed for Element X.
The vars file used to be more complicated, I ended up uninstalling the server and starting from as bare bones a config I could, still the same issue. SSHing into the server and checking the locations, the cargo folder (part of the directory it's referencing) doesn't exist. I'm guessing that the playbook was supposed to set that up, but I don't even know where to begin troubleshooting why that isn't happening.
The log for trying to register a user with the playbook is below.
Thank you in advance if anyone has a guess as to why this is happening!
Additional context
I have previously hosted a server using this playbook, using a Raspberry Pi 4. That one was always experimental and never federated. I am not migrating any data to the new server computer.
The text was updated successfully, but these errors were encountered: