Removes legitimate files from pict-rs
Open
- Dominant language
- JavaScript
- Stars
- 25
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
After running this script, I noticed the web interface has broken images in the "trending communities" section, and the favicon was missing.
The second part of purgePictrs(pool) scans the filesystem and any files that don't match posts are deleted.
Unfortunately I found this removes
- Lemmy instance logo/thumbnail
- Community logos/thumbnails
- Embedded images in comments
- Embedded images in community/instance descriptions
- User avatars
For now, I'm adjusting the script to exit after the first part.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.