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

Selfhosted

40183 readers
498 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
 

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
[–] [email protected] 0 points 5 months ago (6 children)

Are you using a web proxy? I am guessing it may be doing partials because of upload limit of the proxy.

[–] [email protected] 1 points 5 months ago (5 children)

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

[–] [email protected] 5 points 5 months ago (4 children)
[–] [email protected] 1 points 5 months 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

[–] [email protected] 3 points 5 months ago

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

[–] [email protected] 0 points 5 months 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.

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

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

load more comments (1 replies)
load more comments (1 replies)
load more comments (1 replies)