Matrix Synapse Retention: Nachrichten automatisch löschen
Vor zwei Wochen habe ich bereits einen Artikel zum Thema Matrix-Aufräumen veröffentlicht: Matrix-Räume aufräumen – einfach automatisiert
Darin ging es um ein Bash-Script, das mit der Synapse-Admin-AP...
https://www.cleveradmin.de/blog/2025/04/matrix-synapse-retention-nachrichten-loeschen/
#Linux #MatrixSynapse #Software #AdminTipps #Automatisierung #Element #Fderation #Matrix #Nachrichten #Retention #Serverpflege #Synapse
Our chat.trom.tf (Matrix/Synapse) has become very difficult to manage - growing database, not an easy way to prevent bots from registering, or others from abusing our service.
For now we have closed the registrations and only accept them via requests. We have 460 users but we are thinking to perhaps shut down the entire service this year.
Too much work considering anyone can make trade-free accounts with matrix.org or other providers....
We will keep everyone informed about our future plans.
uuuuh was just checking my #dockerCompose services and read that the #Matrix SlidingSync Proxy is not required anymore when using the latest #Synapse and #ElementX
Time to cleanup some things and free up ressources..
https://matrix.org/blog/2024/11/14/moving-to-native-sliding-sync/
You can securely message me via https://matrix.to/#/@stefan:stefanberger.net
Running Matrix Synapse on SQLite and ran into a heavy performance problem on 1.128.0?
Well I did too and worked around it: https://slatecave.net/blog/synapse-sqlite-fix/
That’s what synapse gets for getting in my way while I’m trying to debug some other issue at 1:00 in the morning.
As a headsup, I'll likely stop any engagement in the #Matrix ecosystem, seeing the troubling development of #Synapse alternatives and the massive shortcomings of the protocol in regards to community moderation / defense against spam waves. In particular, I'm planning to shutdown my selfhosted conduwuit instance, and continue using my matrix.org account only for communities where Matrix is pretty much required. I briefly considered migrating to Grapevine, but I don't have the energy.
I'm still thinking about setting up a selfhosted #Matrix Server, but I'm not sure about which software to use.
Available hardware: Synology DS920+ with plenty of RAM.
Top of my current list is #conduwuit, close second is #synapse .
I read that Synapse can be very hungry on resources, even for single-user servers. Is that still a problem?
oh look, another #fintech bankruptcy involving Evolve Bank & Trust.
some other fun places Evolve has popped up:
1. issuer of #FTX and #BlockFi debit cards (before those companies blew up and customers lost all their money)
2. #GeorgeSantos and #AndyOgles held their campaign money at Evolve
3. #Synapse bankruptcy which cost customers of a bunch of fintech "banks" like #Yotta most if not all of their money
4. Partnered with "anti-woke" fintech #GloriFi
5. Got hacked by Russia midway through Synapse bankruptcy proceedings
6. Anonymous crypto debit card issuer for #ZELF
7. Frequently found to be the bank used by #pigbutchering fraudsters
8. Sanctioned by federal reserve for #moneylaundering
The fact that Evolve has not been shut down is insane. Banking system cannot survive if these kinds of bad actors roam free like the wind.
* more on Evolve: https://fintechbusinessweekly.substack.com/p/evolves-problematic-partners-bankruptcies
* even more: https://fintechbusinessweekly.substack.com/p/evolve-hit-with-fed-enforcement-action
Несколько месяцев назад мой сервер Matrix начал быстро распухать. Жрал дисковое пространство очень быстро, десятки гигабайт в сутки.
Я пару раз расширял диск вм, но было похоже, что это поможет ненадолго.
Я закрыл регистрацию, и вроде жор приостановился.
Но база уже весила около 100 гигов!
Я пробовал все виды вакуума, пробовал архиватор комнат (его советуют в ишьюс синапса), но ничего не помогало.
В итоге, на днях, я нашёл блог-пост-руководство, как удалять хлам в базе синапса.
В процессе оказалось, что на сервере 200 подключенных комнат, часто без подключенных к ним локальных пользователей. Большинство из них, судя по названиям, посвящены порнухе, каким-то сомнительным вещам, может даже цп (я не проверял).
С помощью использования API, чатгпт и такой-то матери, удалось поудалять эти группы с сервера.
В итоге самая большая таблица вместо 92гб стала весить 2гб. Синапс стал намного быстрее, ведь запросы в базу стали в разы быстрее.
Желаю всем, кто хостит серверы Матрикса, иногда устраивать такую чистку. Может даже можно настроить мониторинг появления таких комнат на сервере.
Ссылка на руководство: https://levans.fr/shrink-synapse-database.html
Element Call einrichten: Verschlüsselte Videoanrufe mit Element X und Matrix Synapse
Seit April 2025 funktionieren Videoanrufe in Element X, Element Web und Element Desktop nicht mehr automatisch – zumindest dann nicht, wenn du deinen eigenen Matrix-Homeserver betreibs...
https://www.cleveradmin.de/blog/2025/04/matrixrtc-element-call-backend-einrichten/
#Docker #Linux #docker #ElementCall #Homeserver #LiveKit #Matrix #MatrixRTC #ReverseProxy #Selfhosting #Synapse #Videoanruf #WebRTC
Just setup the latest element w/ embedded element call, lk-jwt-service and livekit and now have fully self hosted videoconferencing in matrix.
Documentation and implementation since yesterday is at a point where it's easy to follow and deploy w/o having to host a separate element call web service.
I'm a bit concerned about abuse potential, for now I've locked down lk-jwt-service w/ haproxy to only talk to users of my local homeserver.
Parked near a lake.
Beautiful night sky :)
These are the places I love the most. Kinda alone. Nature. Peaceful.
Today we got another Abuse report from the hosting company. I think I am quite sure there was something bad with our server, namely with our Synapse (Matrix) server. It was accessing iPs from outside every second or so. Lots and lots of requests. After investigating we realized we had around 500 guest users. These users do not need an email account/registration to be part of the server. We enabled that a while ago. Bad decision.
We nuked them all today. Now hopefully that was the issue and many of these were bots spamming other Matrix servers and users.
We need to think well about the services we provide for TROM.tf because they can be abused...
Hopefully this fixes the issue with the hosting.
These days/weeks I have to work on a new WebApe project, to make some money, so I will have to delay any creative work I planned to do. But if this new project can be done then I will get more monthly financial support, which is something I really need.
And after it is done I can think of new content to create for TROM.
I wish TROM had enough financial support so I can only focus on TROM... tromsite.com/donate
But well.
Anyway, we will stay in this place for a few days so I can do some work. We have unlimited internet and power from the sun. And we will post new videos here videos.trom.tf/c/tromhome/vide… - new one tomorrow :)
#motorhome #travel #matrix #synapse #spain #campervan #vanlife #federation #travel #nature #astrophotography
wow. exploding synapse / explodierende synapsen:
IGORRR - ADHD
https://youtu.be/TGIvO4eh190
Okay, so here's a #matrix / #synapse question that I am far too tired to find the answer to:
If i have more than one user on my server, and they both go to a room, do I store duplicates of t hat room, one for each user? Or is it stored on my homeserver in such a way that both can grab it and decrypt it?
Matrix Räume in Synapse aufräumen – einfach automatisiert
„80 % aller gespeicherten Daten werden nie wieder angeschaut.“Diese Statistik trifft nicht nur auf riesige Datensilos zu, sondern auch auf unsere Matrix-Chaträume, die mit Matrix Synapse laufen. Systemmeldungen, CI/CD-Ben...
https://www.techniverse.net/blog/2025/04/matrix-raeume-aufraeumen-einfach-automatisiert/
#Linux #AdminScript #Automatisierung #bash #cronjob #linux #Logfile #Matrix #purge_history #Selfhosting #Synapse
Wer seinen eigenen #Matrix #Synapse Server betreibt, sollte hier asap updaten! #HomeServer
https://github.com/element-hq/synapse/security/advisories/GHSA-v56r-hwv5-mxg6
ITT:
❯ git fetch origin pull/393086/head
From https://github.com/NixOS/nixpkgs
* branch refs/pull/393086/head -> FETCH_HEAD
❯ git cherry-pick FETCH_HEAD
[ar-patchset-unstable c20f56227e4d] matrix-synapse: 1.126.0 -> 1.127.1
Author: Sumner Evans <me@sumnerevans.com>
Date: Tue Mar 25 08:02:38 2025 -0600
1 file changed, 3 insertions(+), 3 deletions(-)
PSA: update your #matrix #synapses, v1.127.1 contains a fix for a federation DOS vulnerability that's being exploited in the wild: https://github.com/element-hq/synapse/releases/tag/v1.127.1