💾 Archived View for yaky.dev › notes › matrix-synapse captured on 2024-06-16 at 12:35:40. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2024-05-10)
-=-=-=-=-=-=-
certbot renew --webroot -w /path/to/webroot
Where /path/to/webroot is the same path that nginx serves the site on port 80, often /var/www or /srv/www.
See nginx config, it should be under something like
location / { root /srv/www; }
psql --u admin_user --list
vacuumdb --u admin_user db_name
This might delete avatars and other old files that are actively used.
find /var/lib/matrix-synapse/media/ -mtime +365 -delete
(C) 2024 CC BY Anton Yaky