User Tools

Site Tools


mastodon

This is an old revision of the document!


Mastodon

Self-Hosting

Garbage Collection

Some various commands to clear cached data and free up storage:

tootctl media remove –days N Removes cached media. Default 7 days.

tootctl media remove –prune-profiles Remove cached avatars and headers.

tootctl media remove –remove-headers Remove cached headers

tootctl accounts prune Prune remote accounts that have never interacted with a local user

tootctl statuses remove Remove stale statuses from remote users

tootctl preview_cards remove Remove link previews

tootctl media remove-orphans Remove media not linked to any posts

mastodon.1734465897.txt.gz · Last modified: by khorvath