nick

joined 2 years ago
[–] nick@campfyre.nickwebster.dev 2 points 2 years ago (5 children)

I think deleting images from the pictrs storage can corrupt the pictrs sled db so I would not advise it, you should go via the purge endpoint on the pictrs API.

[–] nick@campfyre.nickwebster.dev 12 points 2 years ago (3 children)

Just a note that my PR there doesn't disable pictrs for your own instance's users. It just disables the caching of remote content.

[–] nick@campfyre.nickwebster.dev 10 points 2 years ago

The Lemmy instance I'm speaking from right now is running in my k8s cluster.

Yes, there are a few issues in the lemmy-ui including this PR with a temp fix: https://github.com/LemmyNet/lemmy-ui/pull/2058

Fascinating! Thanks for sharing.

[–] nick@campfyre.nickwebster.dev 3 points 2 years ago* (last edited 2 years ago)

If you want to make one on my instance (or any other) I'm happy to help out with it

[–] nick@campfyre.nickwebster.dev 2 points 2 years ago (2 children)

There is a subreddit for elder scrolls lore called /r/teslore, but for more shit posting lore content there was /r/shittyteslore, but that subreddit went weird so people made true shitty tes lore (/r/truestl).

ah, I did not know that existed

Oh also, mods are appreciated just in case, don't wanna be the only one lol

[–] nick@campfyre.nickwebster.dev 1 points 2 years ago (1 children)

Grounding cables do not exist in The Federation

Yeah, all images are broken, likely due to a corrupt pictrs store (the sled db).

[–] nick@campfyre.nickwebster.dev 1 points 2 years ago* (last edited 2 years ago)

I ran this query:

select distinct thumbnail_url as url from post where not local and thumbnail_url like 'https://campfyre.nickwebster.dev/pictrs%'

(replace with your instance's url)

I then sent delete requests to /internal/purge on pictrs to delete all of those old thumbnails, which cleared out a lot of space. After deleting the thumbnails I ran an UPDATE query to set all of those old thumbnail URLs to null in the DB. I also patched the version of lemmy that I run to stop caching thumbnails in the future. Hope this helps!

view more: ‹ prev next ›