This commit is contained in:
Bob
2025-12-31 14:20:16 +01:00
parent 610ead81bd
commit 15beb462b6

View File

@@ -3,4 +3,18 @@
### list used drive space of matrix-synapse
```bash
du -h --max-depth=1 /var/lib/matrix-synapse
```
```
### delete media files
```bash
systemctl stop matrix-synapse
rm -rf /var/lib/matrix-synapse/media/*
systemctl start matrix-synapse
```
- Ergebnis
- Speicher sofort frei
- Keine DB beschädigt
- Medien werden bei Bedarf neu geladen
- Chats bleiben erhalten
- Matrix behandelt Medien als Cache, nicht als Primärdaten.