Fmstrat / lpp

Lemmy Post Purger (LPP)
20 stars 4 forks source link

Removes legitimate files from pict-rs #12

Open lazynooblet opened 3 months ago

lazynooblet commented 3 months ago

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

For now, I'm adjusting the script to exit after the first part.

Fmstrat commented 1 month ago

Interesting. I will look into this. For anyone running into this, just don't have PICTRS_FOLDER in your env, and it won't run that part.