Matrix Messaging

The identity server too ? Ok.

I tried, I get this error:

Erreur : Problème de communication avec le homeserveur. (M_UNRECOGNIZED)

Ok it works.
It seems like I didn’t set up my DNS correctly.

For, for the record, I used

https://my.domain.tld in home server and identity server

As you said :slight_smile:

And for the DNS (with subdomain.mydomain.tld)

_matrix._tcp.subdomain. IN SRV 10 8448 subdomain.domain.tld.

(I didn’t want to setup a custom TTL)

It seems to work fine, and I’m also able to contact my account from another instance.

1 Like

I am using private setup, so I did not added the SRV record :slight_smile:

1 Like

Which means that the accounts on your instance can’t communicate to another instance, or just that there are not seen ?

It’s strange, it didn’t work for me before changing the DNS.

join our Yunohost user group :wink:

https://riot.im/app/#/room/#yunohost:matrix.org

1 Like

Hello,

The new version is available on the official repos : https://github.com/YunoHost-Apps/synapse_ynh

I have solved the upgrade from the old version so everybody can upgrade from the old version to the new.
The upgrade could take a long time because the upgrade script migrate all data from sqlite to postgresql so it could be really long if you have a big instance with big chattroom. It could be also long for ARM arch.

I advise to upgrade by command line instead of web interface.

3 Likes

Thank you so much :slight_smile:

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 :slight_smile:

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.

@Josue I want to stop federation with other servers. Is it possible?

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.

I think not.
See the issue here : https://github.com/matrix-org/synapse/issues/2619

1 Like

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 ?

No it’s not the homeserver. The identity server is by defaut at vector.im

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 !!