[Dendrite] A second-generation Matrix homeserver

Dendrite for YunoHost

Integration level Working status Maintenance status
Install Dendrite with YunoHost


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?


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


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


Isn’t it this issue : Implement SSO for logins · Issue #1297 · matrix-org/dendrite · GitHub ?
(according to what I can read here synapse/sso.py at a00462dd9927558532b030593f8914ade53b7214 · matrix-org/synapse · GitHub 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.


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:


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:


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:

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