Bretos
IImmich
•Created by Bretos on 1/2/2025 in #help-desk-support
API request via cURL
I feel like I'm an idiot, I'm trying to trigger library rescan via API ( https://immich.app/docs/api/scan-library )
To do that, I need to get library ID(s) - https://immich.app/docs/api/get-all-libraries/
Here's my command:
the response I get:
{"id":"9adf1f07-5d22-49a0-a853-6c143b00cd4c","ownerId":"my_user_id","name":"New External Library","createdAt":"2025-01-02T15:11:08.046Z","updatedAt":"2025-01-02T15:11:08.046Z","refreshedAt":null,"assetCount":0,"importPaths":[],"exclusionPatterns":["**/@eaDir/**","**/._*"]}
the effect I get: my user has just created a new external library. Currently existing are missing from the reponse.
WTH am I doing wrong here??53 replies
IImmich
•Created by Bretos on 12/31/2024 in #help-desk-support
Immich upload thorugh CloudFlare - max_upload_size limit
Hello everyone! 👋
I recently shared an album with some friends and encouraged them to upload photos from our trip. My Immich instance is exposed via a Cloudflare Tunnel.
Here’s the issue: each of them wanted to upload a large number of photos, but they ran into an error whenever their uploads exceeded 100 MB. Unfortunately, I couldn’t find any relevant logs in Immich.
After some investigation, I discovered that the free Cloudflare tier has a
max_upload_file
size limit of 100 MB.
Could this be the cause? Specifically:
- Does Immich handle batch uploads as a single HTTP request, which might be restricted by this file size limit?
- Or could there be another issue I need to dig into?
If the batch upload is sent as a single HTTP request, wouldn’t it make sense to split each file into separate requests? This could potentially bypass the max_upload_file limit and also allow for parallel uploads, improving efficiency.
Any insights or suggestions would be greatly appreciated! 😊12 replies