Repository navigation
Is there any way for the optimizer to work when using either immich cli or immich-go to upload? #49
Replies: 1 comment 3 replies
|
It should work with CLI uploads only if the CLI is pointed at the IUO proxy URL, not directly at the Immich server. IUO is not an Immich background worker. It is an HTTP reverse proxy in front of Immich. In the code it only processes upload requests matching: POST /api/assets
Content-Type: multipart/form-dataand it also rewrites So for If the CLI is configured with the normal Immich URL/port, it bypasses IUO completely and nothing will be optimized. A quick way to verify is to watch the IUO logs while uploading: for a matched upload you should see messages like One caveat: if a tool uses a newer/different Immich upload endpoint instead of |
Uh oh!
There was an error while loading. Please reload this page.
I can't seem to make the optimizer run when using a cli, but works great when uploading through the web ui.
I have a lot bulk uploading to make images available for family/friends however limited disk space on the server that i intend to use for that. My idea had been to downsize on upload using this optimizer.
I love the idea that immich will take care of the resizing for me rather than creating some workflow to do that.
All reactions