.
This commit is contained in:
@@ -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.
|
||||
Reference in New Issue
Block a user