Sliding sync was recently implemented in Synapse itself, so as long as your Synapse is up to date there shouldnt be any more setup on the matrix side. Try checking the Synapse logs for any issues and/or the cloudflare tunnel configuration (I have no idea about what it does to traffic).
Selfhosted
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Rules:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
I used dendrite monolith matrix, is that the reason or does thst narrow it down to cloudflare possibly?
https://github.com/matrix-org/dendrite/blob/main/build/docker/README.md
Dendrite doesn't support sliding sync afaik https://github.com/element-hq/dendrite/issues/3236
Other than Synapse, I know Conduwuit has sliding sync support.
Well damn. I guess I will check out another method to getting it up and running aooner or later. But for now this will do...
What is the benefit of sliding sync if you don't mind me asking? What will I be missing out on?
It's supposedly faster/snappier loading on large rooms. But if you are self-hosting a single user instance, you might not notice much improvement.
I was also running the dendrite but I gave up because it seemed like development was stalled so I moved over to Synapse.
I recently migrated from Element to Element X with first the proxy and now simplified sliding sync, and it feels way faster. Imho Element X is still very alpha software, so I wouldnt recommend it to the general population just yet (and I still occasionally have to open the old Element), but the speed is really noticeable on even a very small instance.
Just and FYI those are my pages and Video, and I also don’t have sliding sync working yet. I work on it here and there, but other than Element X, I’ve had no issues getting clients to connect to my servers running dendrite. I’ll update those docs, and probably do an update video when I get it working on Dendrite.
Wow! Hey thanks for the tutorial! It was beyond helpful! Oh hell yeah can't wait!
I do have some questions if you don't mind me asking
So I recently used your affliate link for digital ocean and started following your coturn tutorial. I followed everything but my home server can't seem to connect to it. Anytime I set the turn rules in the dendrite.yaml the server won't start. I am using cloudflare tunnels for my actual matrix server then I use dns records to set the coturn record. Matrix works fine with turn variables uncommented just with no rtc on out of network. Do I need to forward the digital ocean ports? If so how do I do that and which ports do I forward? How can I get my home server to find my digital ocean server and use coturn?
EDIT:
I feel like it has to be something with dns records on cloudflare. I have been using tunnels for a majority of things inclueing matrix without coturn. I have no idea how to fix this portion of setup, any help would be appreciated!
EDIT 2:
NVM IT'S BEEN FIXED!!
I do have a question, did you ever figure out message rention and deletion?
Glad you got Coturn working, what was it?
Haven’t messed with retention and deletion yet. Not enough data to mess with it so far.
In cloudflare I had my digital ocean dns record set to proxied when it needed to be "dns only"
That and I formatted my dendrite.yaml to have more spaces in the turn section than it should have. Now it's all up and running!
Oh ok cool! I had just seen another forum where they mentioned it and became concerned.
Thanks again!
You should add some info: Which server software do you use? What version number? And maybe how you installed this, Docker?
For example "Synapse v1.119.0" That'd be the most recent one.
~~If I'm not mistaken Synapse needs an additional proxy server for sliding sync? https://github.com/matrix-org/sliding-sync/blob/main/docs/Landing.md ~~
My bad I will edit the post!
Ubuntu 20.04 with docker and CasaOS
What do you mean by version number? For matrix? Ubuntu?
Edit:
Dendrite monolith matrix
https://github.com/matrix-org/dendrite/blob/main/build/docker/README.md
I believe they're still messing with sliding sync and switching that over to a new version of the protocol. There are some open issues with Dendrite:
https://github.com/element-hq/dendrite/issues?q=is%3Aissue+is%3Aopen+sliding