How can I use command line and how can I register and delete users from it ?
@kanhu , in my knowledges for now there are no command to manage the server. I never found a documentation about command line in synapse project (https://github.com/matrix-org/synapse).
But in the yunohost instance the user is managed by yunohost. So you can add or remove user in yunohost (by yunohost command) and it will be affected in synapse.
If anybody know something about this I really interestedâŚ
@Josue I want to only few users for the matrix and donât want account on the Yunohost. I have made few accounts for the and changed is_public to 0 and upgraded the app. But now I want to delete some of the accounts.
@Josue it seems to me that if you create a user through Yunohost, then you can manage it (and so remove it).
But if your Matrix instance is public, then you can create users directly from a Matrix client (Riot for instance), but then the users canât be managed by Yunohost (it is not in the LDAP of Yunohost indeed). In that case, I didnât find either the way to know the number of users.
Is there a way to access to the new Matrix database ? Could users be managed that way ?
With the last synapse package the database is stored in postgresql. So you can access by this following command (as root) :
sudo -u postgres psql -d matrix_synapse
You can try to find the user and delete it but I canât warranties that it will be ok and you wonât break something.
At my knowledge nothing is documented to remove a user, so I donât know if itâs really possible. You can see with the matrix community, maybe you will find for information and better answer.
Thanks for the tip, itâs pretty handy
Is it possible to subscribe (or configure after account creation) with an email address ?
I only get "Untrusted ID server âdomain.tdlâ when I try to do so.
I donât know if itâs possible because it is in relation with the identity server witch is managed by the matrix community.
In my knowledge when you use an email address for the authentication the browser get the user ID from the identity server.
Which is my server if I understand well (I setup my client to use it as identity server at least), and it doesnât consider it as secure/legitimate, do I understand it correctly ?
But I configured my Riot client to use my server as identity server.
Did you have really installed the identity server on your server ? In my app (synapse_ynh) where are NO identity server !!
No I didnât, itâs just on client side. I followed these instructions: Matrix Messaging
So I should configure it with vector.im as identity server ?
Yes, normally everything is true by default. You need to change nothing about that. Juste the homeserver if you didnât set the true value on the riot install.
What do you mean ?
On the riot install, you have a question Chose a default home server
and if you have your own homeserver (synapse) you should type something like : your-own-homeserver.tld
Iâm using Riot desktop client.
ok, in this case just put on the homeserver field âyou homeserverâ and leave the default value for identity server.