immich-go icon indicating copy to clipboard operation
immich-go copied to clipboard

--client-timeout= doesnt work

Open isgm570 opened this issue 10 months ago • 1 comments

my command is:

immich-go archive from-immich --from-server=(ip) --from-api-key=(key) --write-to-folder=/home/server/Downloads/sads --client-timeout=90m

The output is: `Error: unknown flag: --client-timeout Usage: immich-go archive from-immich [from-flags] [flags]

Flags: --date-range date-range Only import photos taken within the specified date range (default unset) --exclude-extensions ExtensionList Comma-separated list of extension to exclude. (e.g. .gif,.PM) (default: none) --from-album strings Get assets only from those albums, can be used multiple times --from-api-key string API Key --from-api-trace Enable trace of api calls --from-client-timeout duration Set server calls timeout (default 5m0s) --from-date-range date-range Get assets only within this date range (fromat: YYYY[-MM[-DD[,YYYY-MM-DD]]]) (default unset) --from-server string Immich server address (example http://your-ip:2283 or https://your-domain) --from-skip-verify-ssl Skip SSL verification -h, --help help for from-immich --include-extensions ExtensionList Comma-separated list of extension to include. (e.g. .jpg,.heic) (default: all) --include-type IncludeType Single file type to include. (VIDEO or IMAGE) (default: all)

Global Flags: -l, --log-file string Write log messages into the file --log-level string Log level (DEBUG|INFO|WARN|ERROR), default INFO (default "INFO") --log-type string Log formatted as text of JSON file (default "text") -w, --write-to-folder string Path where to write the archive

unknown flag: --client-timeout `

isgm570 avatar May 06 '25 21:05 isgm570

The --client-timeout concerns to the target system. You must use --from-client-timeout

Re-run in that order:

immich-go archive from-immich --from-server=(ip) --from-api-key=(key) --write-to-folder=/home/server/Downloads/sads --from-client-timeout=90m

By the way, isn't 90m a bit excessive?

simulot avatar May 08 '25 08:05 simulot