[-] voidx@futurology.today 1 points 11 months ago

Apart from Dokku, there's coolify and caprover.

[-] voidx@futurology.today 2 points 1 year ago

Happens to the best of us! localhost or 127.0.0.1 should work too.

[-] voidx@futurology.today 1 points 1 year ago

Did you get it to work?

[-] voidx@futurology.today 0 points 1 year ago* (last edited 1 year ago)

Cloudflare tunnel only requires outbound port opened, check if you've allowed all outbound ports in EC2 security group (the default VPC should have this already).

Otherwise it's probably a misconfiguration reaching the IP/port of the cloudflared service on the EC2. Have you tried checking cloudflared logs? Does your tunnel status show up as healthy?

[-] voidx@futurology.today 6 points 1 year ago

Just FYI, your account shows up as a bot. You should change it in your account settings.

[-] voidx@futurology.today 4 points 1 year ago* (last edited 1 year ago)

Yeah. I guess we could fetch all image ids from the database excluding those uploaded to our local instance, and loop them through the DELETE /image/delete/{delete_token}/{file} API. But I've no idea how to get the delete_token, seems like it's available only during image upload.

[-] voidx@futurology.today 4 points 1 year ago

I was talking about the storage space on server, not on the user side! Sorry if I wasn't clear.

[-] voidx@futurology.today 1 points 1 year ago

Doesn't look like there's a way to clean it manually right now, so buckle up!

17
submitted 1 year ago* (last edited 1 year ago) by voidx@futurology.today to c/lemmy_support@lemmy.ml

As it is currently, the storage space on server can quickly fill up if cached images are not cleaned regularly.
I've tried to find if lemmy runs any kind of schedule for this, but doesn't seem like it from the code:
https://github.com/LemmyNet/lemmy/blob/main/src/scheduled_tasks.rs

10

We've noticed an increased amount of storage being used for images, and many of them appear to be full-sized images. Is this documented anywhere?

[-] voidx@futurology.today 2 points 1 year ago* (last edited 1 year ago)

There is an API DELETE /internal/variants in pictrs to clear out variants of generated images. However it only cleared out a few megabytes in our case.

voidx

joined 1 year ago
MODERATOR OF