Prune mastodon accounts and orphan media
This commit is contained in:
parent
b7d90cee98
commit
56b846f38c
1 changed files with 2 additions and 0 deletions
|
@ -4,7 +4,9 @@ set -ex
|
||||||
|
|
||||||
cd /opt/mastodon
|
cd /opt/mastodon
|
||||||
|
|
||||||
|
docker-compose exec mastodon tootctl accounts prune
|
||||||
docker-compose exec mastodon tootctl media remove --days=7
|
docker-compose exec mastodon tootctl media remove --days=7
|
||||||
docker-compose exec mastodon tootctl statuses remove --days=7
|
docker-compose exec mastodon tootctl statuses remove --days=7
|
||||||
docker-compose exec mastodon tootctl preview_cards remove --days=7
|
docker-compose exec mastodon tootctl preview_cards remove --days=7
|
||||||
|
docker-compose exec mastodon tootctl media remove-orphans
|
||||||
docker-compose exec mastodon tootctl cache clear
|
docker-compose exec mastodon tootctl cache clear
|
||||||
|
|
Loading…
Reference in a new issue