I recently migrated my instance to a new VPS. In the process, I also moved my media storage to S3.
I made the mistake of manually deleting old media with the
find command instead of with tootctl, as in
find public/system -mtime 7 -type f -delete.
Now a lot of images I come across on Mastodon are missing. I have some questions:
- is Mastodon supposed to automatically redownload deleted media when someone tries to view it?
- if no, is there a way (through tootctl or otherwise) to re-fetch all media?
- if yes, is there a way to clear the cache of what media Mastodon thinks exists in S3?