Mastodon
Vider le cache
RAILS_ENV=production bin/tootctl cache clear
Purger les comptes effacés
RAILS_ENV=production bin/tootctl accounts cull
Purger les instances obsolètes/disparues
RAILS_ENV=production bin/tootctl domains purge <INSTANCE1> <INSTANCE2> ...
Purger les médias
RAILS_ENV=production bin/tootctl media remove
RAILS_ENV=production bin/tootctl media remove-orphans --fix-permissions
Nettoyer la base Postgres
psql -d mastodon_production -U mastodon -c "VACUUM FULL"
Ruby
# Lister les dernières versions
rbenv install -l
# Lister les versions locales
rbenv install -L
Installer une version locale
Activer la version par défaut
Deinstaller une verision