matrix.org (communication)
-
@girish said in matrix.org (communication):
We just integrated coturn into master branch yesterday. So, we are waiting for testing it a bit to get matrix published. Otherwise, the first complaint is going to be that voice doesn't work...
nice!
-
@girish said in matrix.org (communication):
This is almost working now - https://git.cloudron.io/cloudron/matrix-synapse-app/ (based off @msbt 's work)! I am testing out the federation bits, after that I will get this published.
I assumed federation support would be very tricky for cloudron but than I saw how you managed stuff like federation port and well.known Hope you have fun with the federationtester ^^ Are you using ma1sd or mxisd?
We "fixed" it with a nginx that proxy passes requests on any hostname with path /.well-known/ to matrix.domain.com/.well-known/
-
@subven Yes, I am not 100% sure if the configuration I have actually works (for federation) but in theory it should. For the
well-known
, we are looking into adding this to Cloudron itself (probably in the domains view). We can then do mail auto-discovery, mastodon etc. -
@girish said in matrix.org (communication):
@subven Yes, I am not 100% sure if the configuration I have actually works (for federation) but in theory it should. For the
well-known
, we are looking into adding this to Cloudron itself (probably in the domains view). We can then do mail auto-discovery, mastodon etc.Heads up for adding the well-known to the root domain! As you said, this would add autoconfig for mail as well which would be great. Not quite sure if this could be added as a configurable feature for Caldav for example, as users could use different Caldav server (Sogo, Nextcloud, etc.)
-
@msbt Thanks for the work you put in it!
I have successfully deployed the app, it was necessary do edit CloudronManifest.json and remove the udp ports there.
Do you know how the postgresql db can be edited to make a user an admin? I would like to follow the documentation here: https://github.com/matrix-org/synapse/wiki -
First of all, thanks to everyone who has been working on the matrix app. I'm very happy to be able to run it on cloudron!
I have two questions/points that I would like to discuss and hope this is the right place:-
Setting up the root-domain for federation use.
When installing matrix synapse it is necessary (at least for me) to set the root domain (example.com) as a redirect URL for matrix.example.com to make federation work. As far as I know only port 8448 is needed on the root-domain to make federation work. Using my workaround I am not able to use another app with the root domain (e.g. a website or any other service). Is there any way to avoid this? -
Making a user an administrator.
Referring to the documentation (https://github.com/matrix-org/synapse/wiki) one command needs to be executed to make a user an admin - it manipulates the data in the postgresdb:
UPDATE users SET admin = 1 WHERE name = '@foo:bar.com'
What is the recommended way to perform this on Cloudron?
Thanks a lot in advance.
Stay healthy everyone! -
-
@msbt The RIOT First Time Documentation notes that you need to tweak the Matrix Synapse home server. I found that the install uses the domain you give it but assumes 'matrix' is the subdomain. My subdomain was different and I had to tweak both the Matrix Synapse config and the RIOT config and then I restarted both, Then it worked. Check out the little drop-down tab "Documentation" and the First Time Setup, and follow the links there. I hope the issue is this simple.
First Time Setup
This app is only the frontend for Matrix. If you haven't done so already you should install the Matrix Synapse home server in a subdomain like matrix.yourdomain.com.This app is pre-configured to use the matrix installation at matrix.yourdomain.com. If you installed Synapse at another location, use the Web Terminal to edit /app/data/config.json to set the home server.