this post was submitted on 18 Jun 2024
18 points (90.9% liked)

Selfhosted

60664 readers
985 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:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

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

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

Hello,

I've noticed that when I restart my docker compose stack, the app seems to think that the server doesn't have copies of the latest files and re-uploads them.

The files can be seen in the filesystem of the host, but not through the web interface until they have been re-uploaded. The app uploads duplicates of all the files, at which point the web can see them again, and the fs has duplicates of everything.

This happens when I restart the stack, no upgrades to the system, just docker compose down and docker compose up -d

My set up is using an unmodified compose file from the docs. Any ideas what I could be doing wrong?

you are viewing a single comment's thread
view the rest of the comments
[–] anytimesoon@feddit.uk 1 points 2 years ago (1 children)

It is sitting behind caddy, not sure if that's considered a proxy

[–] avidamoeba@lemmy.ca 5 points 2 years ago (1 children)
[–] anytimesoon@feddit.uk 1 points 2 years ago (2 children)

I haven't set a Max size, and from what I can understand in the docs, caddy doesn't have a default Max upload

[–] avidamoeba@lemmy.ca 3 points 2 years ago

I've no idea about the max size hypothesis. I'm simply confirming that Caddy is a proxy in this context.

[–] seang96@spgrn.com 0 points 2 years ago (1 children)

https://caddy.its-em.ma/v1/docs/limits you appear to be correct it's something else. Reviewing logs of Immich and if the images uploaded can be accessed would be good info to start with.

[–] anytimesoon@feddit.uk 1 points 2 years ago

The images are definitely uploaded. They're on the fs, and in the correct folders