And from there, I delete all in by using these commands:

1. docker compose exec web bash
2. RAILS_ENV=production bundle exec rails console
And then I run this in the console: PreviewCard.destroy_all

This will run for a while but it should remove all stored preview cards from my mastodon server, for all posts.
And it worked. Just climb back up to my prompt by punching in “exit” until I am back home, and that issue has been fixed as well.

Quelle: Mastodon

Kommentare

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert