this post was submitted on 13 Jan 2024
10 points (91.7% liked)

Selfhosted

40219 readers
1003 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I've set up object storage properly on my instance. However, I noticed that pictrs is still ballooning in size and I beleive it's due to the thumbnail cache. This cache does not appear to be getting stored in the object storage. Any idea how I can have anything saved in pictrs be stored in my object storage provider rather than local? Thanks

top 2 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 10 months ago* (last edited 10 months ago) (1 children)

Are you absolutely sure that object storage is used? (eg. having proper config file or env vars).

I am running pictrs 5.1 in container with postgres and backblaze b2 (so, there are no volumes that can actually ballon out).

Might it be possible that you are talking about the sled/state files (the part that can be replaced with postgres)?

[–] [email protected] 1 points 10 months ago

I am using the from scratch install and on 0.18.5 and using pictrs 0.4.0 beta (or whichever build comes with the embed version)

Initially, when I set my object storage creds in the docker-compose.yml file, it seemed to work and I see in my bucket it populated some files.

But now I don't think it is writing anything to the bucket. Any ideas? Thanks!