You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* continuwuity support
* continuwuity support
* use main instead of commit tag
* fix docker image link
* migration from conduwuit
* fix yaml lint
* backup directories and linter fixes
* linter fixes
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,6 +53,7 @@ The homeserver is the backbone of your Matrix system. Choose one from the follow
53
53
|[Synapse](https://github.com/element-hq/synapse)| ✅ | Storing your data and managing your presence in the [Matrix](http://matrix.org/) network |[Link](docs/configuring-playbook-synapse.md)|
54
54
|[Conduit](https://conduit.rs)| ❌ | Storing your data and managing your presence in the [Matrix](http://matrix.org/) network. Conduit is a lightweight open-source server implementation of the Matrix Specification with a focus on easy setup and low system requirements |[Link](docs/configuring-playbook-conduit.md)|
55
55
|[conduwuit](https://conduwuit.puppyirl.gay/)| ❌ | Storing your data and managing your presence in the [Matrix](http://matrix.org/) network. conduwuit is a fork of Conduit. |[Link](docs/configuring-playbook-conduwuit.md)|
56
+
|[continuwuity](https://continuwuity.org)| ❌ | Storing your data and managing your presence in the [Matrix](http://matrix.org/) network. continuwuity is a continuation of conduwuit. |[Link](docs/configuring-playbook-continuwuity.md)|
56
57
|[Dendrite](https://github.com/element-hq/dendrite)| ❌ | Storing your data and managing your presence in the [Matrix](http://matrix.org/) network. Dendrite is a second-generation Matrix homeserver written in Go, an alternative to Synapse. |[Link](docs/configuring-playbook-dendrite.md)|
The playbook can install and configure the [continuwuity](https://continuwuity.org) Matrix server for you.
11
+
12
+
See the project's [documentation](https://continuwuity.org) to learn what it does and why it might be useful to you.
13
+
14
+
By default, the playbook installs [Synapse](https://github.com/element-hq/synapse) as it's the only full-featured Matrix server at the moment. If that's okay, you can skip this document.
15
+
16
+
💡 **Note**: continuwuity is a fork of [conduwuit](./configuring-playbook-conduwuit.md), which the playbook also supports.
17
+
18
+
> [!WARNING]
19
+
> -**You can't switch an existing Matrix server's implementation** (e.g. Synapse -> continuwuity). Proceed below only if you're OK with losing data or you're dealing with a server on a new domain name, which hasn't participated in the Matrix federation yet.
20
+
> -**Homeserver implementations other than Synapse may not be fully functional**. The playbook may also not assist you in an optimal way (like it does with Synapse). Make yourself familiar with the downsides before proceeding
21
+
22
+
## Adjusting the playbook configuration
23
+
24
+
To use continuwuity, you **generally** need to adjust the `matrix_homeserver_implementation: synapse` configuration on your `inventory/host_vars/matrix.example.com/vars.yml` file as below:
25
+
26
+
```yaml
27
+
matrix_homeserver_implementation: continuwuity
28
+
29
+
# Registering users can only happen via the API,
30
+
# so it makes sense to enable it, at least initially.
# Generate a strong registration token to protect the registration endpoint from abuse.
34
+
# You can create one with a command like `pwgen -s 64 1`.
35
+
matrix_continuwuity_config_registration_token: ''
36
+
```
37
+
38
+
### Extending the configuration
39
+
40
+
There are some additional things you may wish to configure about the server.
41
+
42
+
Take a look at:
43
+
44
+
- `roles/custom/matrix-continuwuity/defaults/main.yml` for some variables that you can customize via your `vars.yml` file
45
+
- `roles/custom/matrix-continuwuity/templates/continuwuity.toml.j2`for the server's default configuration
46
+
47
+
There are various Ansible variables that control settings in the `continuwuity.toml` file.
48
+
49
+
If a specific setting you'd like to change does not have a dedicated Ansible variable, you can either submit a PR to us to add it, or you can [override the setting using an environment variable](https://continuwuity.org/configuration#environment-variables) using `matrix_continuwuity_environment_variables_extension`. For example:
Unlike other homeserver implementations (like Synapse and Dendrite), continuwuity does not support creating users via the command line or via the playbook.
60
+
61
+
If you followed the instructions above (see [Adjusting the playbook configuration](#adjusting-the-playbook-configuration)), you should have registration enabled and protected by a registration token.
62
+
63
+
This should allow you to create the first user account via any client (like [Element Web](./configuring-playbook-client-element-web.md)) which supports creating users.
64
+
65
+
The **first user account that you create will be marked as an admin** and **will be automatically invited to an admin room**.
66
+
67
+
68
+
## Configuring bridges / appservices
69
+
70
+
For other homeserver implementations (like Synapse and Dendrite), the playbook automatically registers appservices (for bridges, bots, etc.) with the homeserver.
71
+
72
+
For continuwuity, you will have to manually register appservices using the [`!admin appservices register` command](https://continuwuity.org/appservices.html#set-up-the-appservice---general-instructions) sent to the server bot account.
73
+
74
+
The server's bot account has a Matrix ID of `@conduit:example.com` (not `@continuwuity:example.com`!) due to continuwuity's historical legacy.
75
+
Your first user account would already have been invited to an admin room with this bot.
76
+
77
+
Find the appservice file you'd like to register. This can be any `registration.yaml` file found in the `/matrix` directory, for example `/matrix/mautrix-signal/bridge/registration.yaml`.
78
+
79
+
Then, send its content to the existing admin room:
80
+
81
+
!admin appservices register
82
+
83
+
```
84
+
as_token: <token>
85
+
de.sorunome.msc2409.push_ephemeral: true
86
+
hs_token: <token>
87
+
id: signal
88
+
namespaces:
89
+
aliases:
90
+
- exclusive: true
91
+
regex: ^#signal_.+:example\.org$
92
+
users:
93
+
- exclusive: true
94
+
regex: ^@signal_.+:example\.org$
95
+
- exclusive: true
96
+
regex: ^@signalbot:example\.org$
97
+
rate_limited: false
98
+
sender_localpart: _bot_signalbot
99
+
url: http://matrix-mautrix-signal:29328
100
+
```
101
+
102
+
## Migrating from conduwuit
103
+
104
+
Since continuwuity is a drop-in replacement for conduwuit, migration is possible. First, make sure that continuwuity is properly set up on your `vars.yml` and run the tag `just run-tags migrate-conduwuit`
105
+
106
+
## Troubleshooting
107
+
108
+
As with all other services, you can find the logs in [systemd-journald](https://www.freedesktop.org/software/systemd/man/systemd-journald.service.html) by logging in to the server with SSH and running `journalctl -fu matrix-continuwuity`.
Copy file name to clipboardExpand all lines: docs/configuring-playbook.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,6 +53,8 @@ For a more custom setup, see the [Other configuration options](#other-configurat
53
53
54
54
-[Configuring conduwuit](configuring-playbook-conduwuit.md), if you've switched to the [conduwuit](https://conduwuit.puppyirl.gay/) homeserver implementation
55
55
56
+
-[Configuring continuwuity](configuring-playbook-continuwuity.md), if you've switched to the [continuwuity](https://continuwuity.org) homeserver implementation
57
+
56
58
-[Configuring Dendrite](configuring-playbook-dendrite.md), if you've switched to the [Dendrite](https://matrix-org.github.io/dendrite) homeserver implementation
Copy file name to clipboardExpand all lines: docs/container-images.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,7 @@ We try to stick to official images (provided by their respective projects) as mu
28
28
|[Synapse](configuring-playbook-synapse.md)|[element-hq/synapse](https://ghcr.io/element-hq/synapse)| ✅ | Storing your data and managing your presence in the [Matrix](http://matrix.org/) network |
29
29
|[Conduit](configuring-playbook-conduit.md)|[matrixconduit/matrix-conduit](https://hub.docker.com/r/matrixconduit/matrix-conduit)| ❌ | Storing your data and managing your presence in the [Matrix](http://matrix.org/) network. Conduit is a lightweight open-source server implementation of the Matrix Specification with a focus on easy setup and low system requirements |
30
30
|[conduwuit](configuring-playbook-conduwuit.md)|[girlbossceo/conduwuit](https://ghcr.io/girlbossceo/conduwuit)| ❌ | Storing your data and managing your presence in the [Matrix](http://matrix.org/) network. conduwuit is a fork of Conduit. |
31
+
|[continuwuity](configuring-playbook-continuwuity.md)|[continuwuation/continuwuity](https://forgejo.ellis.link/continuwuation/continuwuity)| ❌ | Storing your data and managing your presence in the [Matrix](http://matrix.org/) network. continuwuity is a continuation of conduwuit. |
31
32
|[Dendrite](configuring-playbook-dendrite.md)|[matrixdotorg/dendrite-monolith](https://hub.docker.com/r/matrixdotorg/dendrite-monolith/)| ❌ | Storing your data and managing your presence in the [Matrix](http://matrix.org/) network. Dendrite is a second-generation Matrix homeserver written in Go, an alternative to Synapse. |
Copy file name to clipboardExpand all lines: docs/howto-srv-server-delegation.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ The up-to-date list can be accessed on [traefik's documentation](https://doc.tra
26
26
27
27
**Note**: the changes below instruct you how to do this for a basic Synapse installation. You will need to adapt the variable name and the content of the labels:
28
28
29
-
- if you're using another homeserver implementation (e.g. [Conduit](./configuring-playbook-conduit.md), [conduwuit](./configuring-playbook-conduwuit.md) or [Dendrite](./configuring-playbook-dendrite.md))
29
+
- if you're using another homeserver implementation (e.g. [Conduit](./configuring-playbook-conduit.md), [conduwuit](./configuring-playbook-conduwuit.md), [continuwuity](./configuring-playbook-continuwuity.md) or [Dendrite](./configuring-playbook-dendrite.md))
30
30
- if you're using [Synapse with workers enabled](./configuring-playbook-synapse.md#load-balancing-with-workers) (`matrix_synapse_workers_enabled: true`). In that case, it's actually the `matrix-synapse-reverse-proxy-companion` service which has Traefik labels attached
31
31
32
32
Also, all instructions below are from an older version of the playbook and may not work anymore.
matrix_addons_homeserver_systemd_services_list: "{{ ([traefik_identifier + '.service'] if matrix_playbook_reverse_proxy_type == 'playbook-managed-traefik' else []) if matrix_playbook_internal_matrix_client_api_traefik_entrypoint_enabled else matrix_homeserver_systemd_services_list }}"
244
244
245
245
# Starting from version `0.6.0` Conduit natively supports some sync v3 (sliding-sync) features.
246
-
matrix_homeserver_sliding_sync_url: "{{ matrix_sliding_sync_base_url if matrix_sliding_sync_enabled else (matrix_homeserver_url if matrix_homeserver_implementation in ['conduit', 'conduwuit'] else '') }}"
246
+
matrix_homeserver_sliding_sync_url: "{{ matrix_sliding_sync_base_url if matrix_sliding_sync_enabled else (matrix_homeserver_url if matrix_homeserver_implementation in ['conduit', 'conduwuit', 'continuwuity'] else '') }}"
([matrix_playbook_reverse_proxyable_services_additional_network] if matrix_continuwuity_container_labels_traefik_enabled and matrix_playbook_reverse_proxyable_services_additional_network else [])
6004
+
) | unique
6005
+
}}
6006
+
6007
+
matrix_continuwuity_container_labels_traefik_enabled: "{{ matrix_playbook_reverse_proxy_type in ['playbook-managed-traefik', 'other-traefik-container'] and not matrix_synapse_workers_enabled }}"
0 commit comments