[Dendrite] A second-generation Matrix homeserver

Dendrite for YunoHost

Integration level Working status Maintenance status
Install Dendrite with YunoHost

Overview

Dendrite is a second-generation Matrix homeserver written in Go. It intends to provide an efficient, reliable and scalable alternative to Synapse:

  • Efficient: A small memory footprint with better baseline performance than an out-of-the-box Synapse.
  • Reliable: Aims* to implement the Matrix specification as written, using the same test suite as Synapse as well as a brand new Go test suite.
  • Scalable: can run on multiple machines and eventually scale to massive homeserver deployments.*
Memory footprint screenshot with a server connected to YunoHost's rooms and a couple of smaller rooms

Disclaimers / important information

:warning: :construction: * The upstream app is still in beta. Tread carefully.

Notably, even though most of Matrixā€™s core features are implemented, Dendrite is not considered a full one-to-one transliteration of Synapse yet. Follow-up with their issues tracker: Are We Synapse Yet?

Features

  • Public registration can be opened and closed in the app config panel. Be wary of leaving it opened.

Limitations

  • Dendrite does not implement secondary user registration schemes yet, so YunoHost users cannot be directly integrated at the moment. We do not know how the integration/merge with existing users will be done either, when the feature is implemented.

Documentation and resources

Developer info

Please send your pull request to the testing branch.

To try the testing branch, please proceed like that.

sudo yunohost app install https://github.com/YunoHost-Apps/dendrite_ynh/tree/testing --debug
or
sudo yunohost app upgrade dendrite -u https://github.com/YunoHost-Apps/dendrite_ynh/tree/testing --debug

More info regarding app packaging: https://yunohost.org/packaging_apps

9 Likes

Isnā€™t it this issue : https://github.com/matrix-org/dendrite/issues/1297 ?
(according to what I can read here https://github.com/matrix-org/synapse/blob/a00462dd9927558532b030593f8914ade53b7214/synapse/handlers/sso.py#L372 when the SSO returns a new user, it is created, but I am not 100% sure).

Iā€™ll be happy to try dendrite as soon as it can replace Synapse, but do you think there will be an automatic YunoHost migration possible ?
Or will we have to work with the future scripts provided with dendrite ?

very exciting! matrix seems like the ā€˜futureā€™.

Looks like it. :slight_smile:

If Matrix provides the method, sure. Otherwise I just donā€™t feel like hacking my way into this.

2 Likes

good evening, is it possible to test Dendrite on a server where Synapse is already installed?, and is Mautrix_ WhatsApp compatible?.

1 Like

My installation failed! Iā€™ll try and look into it further after work but hereā€™s the log dump:

https://paste.yunohost.org/raw/fenohizote

1 Like

Technically yes. However you wonā€™t be able to have the same display name for both Synapse and Matrix servers. As in, if Synapse is installed on synapse.domain.tld and Dendrite on dendrite.domain.tld, you cannot have users on both servers with IDs like @user:domain.tld.

It should be. Not tested though.

Humā€¦ I previously got that error because the Go version was too old, but here itā€™s the right one. Weird.
Can you try installing from the debug branch, so that the build command can be verbose (it may be VERY verbose, no worries). Install it with sudo yunohost app install https://github.com/YunoHost-Apps/dendrite_ynh/tree/debug -f

Then share the logs again. :wink:

2 Likes

Am I able to install the debug branch from the web UI? All good if not, I just have to use a different PC etc.

I used the ā€œInstall with Yunohostā€ button btw, should have mentioned that upfront

Yes, use the ā€œcustom appā€ field at the bottom of the catalog in the app installation screen. Paste the address there.

1 Like

False alarm, my server just ran out of memory :laughing: I bumped up itā€™s size and Dendrite installed fine :slight_smile:

1 Like

5 posts were split to a new topic: Cannot install Dendrite

Hello, just wondering (I am aware that this is not up to you) if you know a rough estimate when Dendrite will be able to integrate with LDAP/YunoHost in the same manner as Synapse? I understand if you donā€™t know or cannot give a good estimate, I am just curious and impatient :slight_smile:

Thanks in advance :grin:

1 Like

Nope. :slight_smile:
You can follow the following issues upstream: LDAP Ā· Issue #1813 Ā· matrix-org/dendrite Ā· GitHub and Implement SSO for logins Ā· Issue #1297 Ā· matrix-org/dendrite Ā· GitHub

1 Like