lua-scripts icon indicating copy to clipboard operation
lua-scripts copied to clipboard

Add Immich upload script for direct image uploads to Immich server

Open guigodin opened this issue 8 months ago • 3 comments

Hey !

I created a script to upload directly to an immich server that I've been using almost daily now for a few weeks. I figured that maybe you'd be interested in adding to this repo. Let me know if any change is required.

guigodin avatar Mar 16 '25 15:03 guigodin

I just saw after posting this that there is already a merge request for what looks like a very similar script. So this might be obsolete or redundant. Leaving to you to decide.

guigodin avatar Mar 16 '25 15:03 guigodin

Thanks for the upload, I am testing you script on a macbook arm.

When uploading, the files seem to upload succesfully, but darktable crashes just after finishing the upload. The error I get is:

Logging in to http://192.168.0.9:2283
Discovered API at http://192.168.0.9:2283/api
Logged in as [email protected]
Wrote auth info to /Users/ben/.config/immich/auth.yml
darktable(75242,0x16e087000) malloc: *** error for object 0x6000036602c0: pointer being freed was not allocated
darktable(75242,0x16e087000) malloc: *** set a breakpoint in malloc_error_break to debug
zsh: abort      /Applications/darktable.app/Contents/MacOS/darktable -d lua

Any idea what can be happening?

benquan avatar Mar 28 '25 15:03 benquan

Not at all! But I'll have a look over week end.

On Fri, 28 Mar 2025 at 15:46, Ben @.***> wrote:

Thanks for the upload, I am testing you script on a macbook arm.

When uploading, the files seem to upload succesfully, but darktable crashed just after finishing the upload. The error I get is:

Logging in to http://192.168.0.9:2283 Discovered API at http://192.168.0.9:2283/api Logged in as @.*** Wrote auth info to /Users/ben/.config/immich/auth.yml darktable(75242,0x16e087000) malloc: *** error for object 0x6000036602c0: pointer being freed was not allocated darktable(75242,0x16e087000) malloc: *** set a breakpoint in malloc_error_break to debug zsh: abort /Applications/darktable.app/Contents/MacOS/darktable -d lua

Any idea what can be happening?

— Reply to this email directly, view it on GitHub https://github.com/darktable-org/lua-scripts/pull/573#issuecomment-2761737872, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA4IILJOM4HVE4N4FX76TC32WVVG5AVCNFSM6AAAAABZDYIO46VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDONRRG4ZTOOBXGI . You are receiving this because you authored the thread.Message ID: @.***> [image: benquan]benquan left a comment (darktable-org/lua-scripts#573) https://github.com/darktable-org/lua-scripts/pull/573#issuecomment-2761737872

Thanks for the upload, I am testing you script on a macbook arm.

When uploading, the files seem to upload succesfully, but darktable crashed just after finishing the upload. The error I get is:

Logging in to http://192.168.0.9:2283 Discovered API at http://192.168.0.9:2283/api Logged in as @.*** Wrote auth info to /Users/ben/.config/immich/auth.yml darktable(75242,0x16e087000) malloc: *** error for object 0x6000036602c0: pointer being freed was not allocated darktable(75242,0x16e087000) malloc: *** set a breakpoint in malloc_error_break to debug zsh: abort /Applications/darktable.app/Contents/MacOS/darktable -d lua

Any idea what can be happening?

— Reply to this email directly, view it on GitHub https://github.com/darktable-org/lua-scripts/pull/573#issuecomment-2761737872, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA4IILJOM4HVE4N4FX76TC32WVVG5AVCNFSM6AAAAABZDYIO46VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDONRRG4ZTOOBXGI . You are receiving this because you authored the thread.Message ID: @.***>

guigodin avatar Mar 28 '25 19:03 guigodin