mirror of
https://github.com/matrix-org/dendrite.git
synced 2024-11-22 14:21:55 -06:00
Add FAQs based on commonly asked questions from the community
This commit is contained in:
parent
7482cd2b47
commit
97ebd72b5a
54
docs/FAQ.md
54
docs/FAQ.md
|
@ -6,6 +6,12 @@ permalink: /faq
|
||||||
|
|
||||||
# FAQ
|
# FAQ
|
||||||
|
|
||||||
|
## Why does Dendrite exist?
|
||||||
|
|
||||||
|
Dendrite aims to provide a matrix compatible server that has low resource usage compared to [Synapse](https://github.com/matrix-org/synapse).
|
||||||
|
It also aims to provide more flexibility when scaling either up or down.
|
||||||
|
Dendrite's code is also very easy to hack on which makes it suitable for experimenting with new matrix features such as peer-to-peer.
|
||||||
|
|
||||||
## Is Dendrite stable?
|
## Is Dendrite stable?
|
||||||
|
|
||||||
Mostly, although there are still bugs and missing features. If you are a confident power user and you are happy to spend some time debugging things when they go wrong, then please try out Dendrite. If you are a community, organisation or business that demands stability and uptime, then Dendrite is not for you yet - please install Synapse instead.
|
Mostly, although there are still bugs and missing features. If you are a confident power user and you are happy to spend some time debugging things when they go wrong, then please try out Dendrite. If you are a community, organisation or business that demands stability and uptime, then Dendrite is not for you yet - please install Synapse instead.
|
||||||
|
@ -34,6 +40,10 @@ No, Dendrite has a very different database schema to Synapse and the two are not
|
||||||
Monolith deployments are always preferred where possible, and at this time, are far better tested than polylith deployments are. The only reason to consider a polylith deployment is if you wish to run different Dendrite components on separate physical machines, but this is an advanced configuration which we don't
|
Monolith deployments are always preferred where possible, and at this time, are far better tested than polylith deployments are. The only reason to consider a polylith deployment is if you wish to run different Dendrite components on separate physical machines, but this is an advanced configuration which we don't
|
||||||
recommend.
|
recommend.
|
||||||
|
|
||||||
|
## Can I configure which port Dendrite listens on?
|
||||||
|
|
||||||
|
Yes, use the cli flag `-http-bind-address`.
|
||||||
|
|
||||||
## I've installed Dendrite but federation isn't working
|
## I've installed Dendrite but federation isn't working
|
||||||
|
|
||||||
Check the [Federation Tester](https://federationtester.matrix.org). You need at least:
|
Check the [Federation Tester](https://federationtester.matrix.org). You need at least:
|
||||||
|
@ -42,6 +52,10 @@ Check the [Federation Tester](https://federationtester.matrix.org). You need at
|
||||||
* A valid TLS certificate for that DNS name
|
* A valid TLS certificate for that DNS name
|
||||||
* Either DNS SRV records or well-known files
|
* Either DNS SRV records or well-known files
|
||||||
|
|
||||||
|
## Whenever I try to connect from Element it says unable to connect to homeserver
|
||||||
|
|
||||||
|
Check that your dendrite instance is running. Otherwise this is most likely due to a reverse proxy misconfiguration.
|
||||||
|
|
||||||
## Does Dendrite work with my favourite client?
|
## Does Dendrite work with my favourite client?
|
||||||
|
|
||||||
It should do, although we are aware of some minor issues:
|
It should do, although we are aware of some minor issues:
|
||||||
|
@ -49,6 +63,10 @@ It should do, although we are aware of some minor issues:
|
||||||
* **Element Android**: registration does not work, but logging in with an existing account does
|
* **Element Android**: registration does not work, but logging in with an existing account does
|
||||||
* **Hydrogen**: occasionally sync can fail due to gaps in the `since` parameter, but clearing the cache fixes this
|
* **Hydrogen**: occasionally sync can fail due to gaps in the `since` parameter, but clearing the cache fixes this
|
||||||
|
|
||||||
|
## Is there a public instance of Dendrite I can try out?
|
||||||
|
|
||||||
|
Use [dendrite.matrix.org](https://dendrite.matrix.org) which we officially support.
|
||||||
|
|
||||||
## Does Dendrite support Space Summaries?
|
## Does Dendrite support Space Summaries?
|
||||||
|
|
||||||
Yes, [Space Summaries](https://github.com/matrix-org/matrix-spec-proposals/pull/2946) were merged into the Matrix Spec as of 2022-01-17 however, they are still treated as an MSC (Matrix Specification Change) in Dendrite. In order to enable Space Summaries in Dendrite, you must add the MSC to the MSC configuration section in the configuration YAML. If the MSC is not enabled, a user will typically see a perpetual loading icon on the summary page. See below for a demonstration of how to add to the Dendrite configuration:
|
Yes, [Space Summaries](https://github.com/matrix-org/matrix-spec-proposals/pull/2946) were merged into the Matrix Spec as of 2022-01-17 however, they are still treated as an MSC (Matrix Specification Change) in Dendrite. In order to enable Space Summaries in Dendrite, you must add the MSC to the MSC configuration section in the configuration YAML. If the MSC is not enabled, a user will typically see a perpetual loading icon on the summary page. See below for a demonstration of how to add to the Dendrite configuration:
|
||||||
|
@ -84,10 +102,42 @@ Remember to add the config file(s) to the `app_service_api` section of the confi
|
||||||
|
|
||||||
Yes, you can do this by disabling federation - set `disable_federation` to `true` in the `global` section of the Dendrite configuration file.
|
Yes, you can do this by disabling federation - set `disable_federation` to `true` in the `global` section of the Dendrite configuration file.
|
||||||
|
|
||||||
|
## How can I migrate a room in order to change the internal ID?
|
||||||
|
|
||||||
|
This can be done by performing a room upgrade. Use the command `/upgraderoom <version>` in Element to do this.
|
||||||
|
|
||||||
|
## How do I reset somebody's password on my server?
|
||||||
|
|
||||||
|
Use the admin endpoint [resetpassword](https://matrix-org.github.io/dendrite/administration/adminapi#post-_dendriteadminresetpassworduserid)
|
||||||
|
|
||||||
## Should I use PostgreSQL or SQLite for my databases?
|
## Should I use PostgreSQL or SQLite for my databases?
|
||||||
|
|
||||||
Please use PostgreSQL wherever possible, especially if you are planning to run a homeserver that caters to more than a couple of users.
|
Please use PostgreSQL wherever possible, especially if you are planning to run a homeserver that caters to more than a couple of users.
|
||||||
|
|
||||||
|
## What data needs to be kept if transferring/backing up Dendrite?
|
||||||
|
|
||||||
|
The list of files that need to be stored is:
|
||||||
|
- matrix-key.pem
|
||||||
|
- dendrite.yaml
|
||||||
|
- the postgres or sqlite DB
|
||||||
|
- the media store
|
||||||
|
- the search index (although this can be regenerated)
|
||||||
|
|
||||||
|
Note that this list may change / be out of date. We don't officially maintain instructions for migrations like this.
|
||||||
|
|
||||||
|
## How can I prepare enough storage for media caches?
|
||||||
|
|
||||||
|
This might be what you want: [matrix-media-repo](https://github.com/turt2live/matrix-media-repo)
|
||||||
|
We don't officially support this or any other dedicated media storage solutions.
|
||||||
|
|
||||||
|
## Is there an upgrade guide for Dendrite?
|
||||||
|
|
||||||
|
Run a newer docker image. We don't officially support deployments other than Docker.
|
||||||
|
Most of the time you should be able to just
|
||||||
|
- stop
|
||||||
|
- replace binary
|
||||||
|
- start
|
||||||
|
|
||||||
## Dendrite is using a lot of CPU
|
## Dendrite is using a lot of CPU
|
||||||
|
|
||||||
Generally speaking, you should expect to see some CPU spikes, particularly if you are joining or participating in large rooms. However, constant/sustained high CPU usage is not expected - if you are experiencing that, please join `#dendrite-dev:matrix.org` and let us know what you were doing when the
|
Generally speaking, you should expect to see some CPU spikes, particularly if you are joining or participating in large rooms. However, constant/sustained high CPU usage is not expected - if you are experiencing that, please join `#dendrite-dev:matrix.org` and let us know what you were doing when the
|
||||||
|
@ -102,6 +152,10 @@ not expected. Join `#dendrite-dev:matrix.org` and let us know what you were doin
|
||||||
ballooned, or file a GitHub issue if you can. If you can take a [memory profile](development/PROFILING.md) then that
|
ballooned, or file a GitHub issue if you can. If you can take a [memory profile](development/PROFILING.md) then that
|
||||||
would be a huge help too, as that will help us to understand where the memory usage is happening.
|
would be a huge help too, as that will help us to understand where the memory usage is happening.
|
||||||
|
|
||||||
|
## Do I need to generate the self-signed certificate if I'm going to use a reverse proxy?
|
||||||
|
|
||||||
|
No, if you already have a proper certificate from some provider, like Let's Encrypt, and use that on your reverse proxy, and the reverse proxy does TLS termination, then you’re good and can use HTTP to the dendrite process.
|
||||||
|
|
||||||
## Dendrite is running out of PostgreSQL database connections
|
## Dendrite is running out of PostgreSQL database connections
|
||||||
|
|
||||||
You may need to revisit the connection limit of your PostgreSQL server and/or make changes to the `max_connections` lines in your Dendrite configuration. Be aware that each Dendrite component opens its own database connections and has its own connection limit, even in monolith mode!
|
You may need to revisit the connection limit of your PostgreSQL server and/or make changes to the `max_connections` lines in your Dendrite configuration. Be aware that each Dendrite component opens its own database connections and has its own connection limit, even in monolith mode!
|
||||||
|
|
Loading…
Reference in a new issue