Skip to content

bug: Cannot use --into-album for "from-folder" import [pre release] #1105

Description

@elio42

I checked any existing issues marked as bug to make sure this is no duplicate.


EDIT:

Sorry for the false alarm, I just noticed that I was on a dev version (v0.29.2-dev-3d89bdd). On the current release of 0.28.0 it works fine. I am still going to leave the issue here in case that bug in the pre-release is not yet known.

Furthermore, I noticed another issue in this pre-release: Even when no extensions are included or excluded, it discards ALL files with the reason that this extension is not included.

2025-10-03 19:41:46 INF scanned video file file=jelly_private:2020/place, 15. Juni 2020/IMG_0091.mov 
2025-10-03 19:41:46 WRN discarded file file=jelly_private:2020/place, 15. Juni 2020/IMG_0091.mov reason=extension not included

I tried to import some photos from folder with the following command:

./immich-go upload --dry-run from-folder --into-album="Family_Photo_Archive" --folder-as-tags=TRUE --server=http://192.168.0.101:2283 --api-key=xxx /some/path

This always returns the error: cannot use both --into-album and --folder-as-album

If I were to remove the flag --into-album="Family_Photo_Archive" the error goes away. Other changes like removing --folder-as-tags=TRUE do not fix the issue.

And if you are interested in the full log file:

cat immich-go_2025-10-03_19-04-18.log
2025-10-03 19:04:18 INF immich-go version:0.29.2-dev-3d89bdd,  commit:3d89bdd23e52c911f0116d7b0571881b242db158, date:2025-10-01T20:27:17Z
2025-10-03 19:04:18 INF  Configuration file=none (using defaults)
2025-10-03 19:04:18 INF Running environment: architecture=amd64 os=linux
2025-10-03 19:04:18 INF Command: immich-go upload from-folder
2025-10-03 19:04:18 INF Flags:
2025-10-03 19:04:18 INF  --admin-api-key= origin=default
2025-10-03 19:04:18 INF  --album-path-joiner= /  origin=default
2025-10-03 19:04:18 INF  --album-picasa=false origin=default
2025-10-03 19:04:18 INF  --api-key=************************************* origin=cli
2025-10-03 19:04:18 INF  --api-trace=false origin=default
2025-10-03 19:04:18 INF  --ban-file='@eaDir/', '@__thumb/', 'SYNOFILE_THUMB_*.*', 'Lightroom Catalog/', 'thumbnails/', '.DS_Store/', '/._*', '.photostructure/' origin=default
2025-10-03 19:04:18 INF  --client-timeout=20m0s origin=default
2025-10-03 19:04:18 INF  --concurrent-uploads=12 origin=default
2025-10-03 19:04:18 INF  --config= origin=default
2025-10-03 19:04:18 INF  --date-from-name=true origin=default
2025-10-03 19:04:18 INF  --date-range=unset origin=default
2025-10-03 19:04:18 INF  --device-uuid=openmedianas origin=default
2025-10-03 19:04:18 INF  --dry-run=true origin=cli
2025-10-03 19:04:18 INF  --exclude-extensions= origin=default
2025-10-03 19:04:18 INF  --folder-as-album=none origin=default
2025-10-03 19:04:18 INF  --folder-as-tags=true origin=cli
2025-10-03 19:04:18 INF  --help=false origin=default
2025-10-03 19:04:18 INF  --ignore-sidecar-files=false origin=default
2025-10-03 19:04:18 INF  --include-extensions= origin=default
2025-10-03 19:04:18 INF  --include-type= origin=default
2025-10-03 19:04:18 INF  --into-album=Family_Photo_Archive origin=cli
2025-10-03 19:04:18 INF  --log-file=/home/nasadmin/.cache/immich-go/immich-go_2025-10-03_19-04-18.log origin=default
2025-10-03 19:04:18 INF  --log-level=INFO origin=default
2025-10-03 19:04:18 INF  --log-type=text origin=default
2025-10-03 19:04:18 INF  --manage-burst=NoStack origin=default
2025-10-03 19:04:18 INF  --manage-epson-fastfoto=false origin=default
2025-10-03 19:04:18 INF  --manage-heic-jpeg=NoStack origin=default
2025-10-03 19:04:18 INF  --manage-raw-jpeg=NoStack origin=default
2025-10-03 19:04:18 INF  --no-ui=false origin=default
2025-10-03 19:04:18 INF  --on-server-errors=stop origin=default
2025-10-03 19:04:18 INF  --overwrite=false origin=default
2025-10-03 19:04:18 INF  --pause-immich-jobs=true origin=default
2025-10-03 19:04:18 INF  --recursive=true origin=default
2025-10-03 19:04:18 INF  --save-config=false origin=default
2025-10-03 19:04:18 INF  --server=http://192.168.0.101:2283 origin=cli
2025-10-03 19:04:18 INF  --session-tag=false origin=default
2025-10-03 19:04:18 INF  --skip-verify-ssl=false origin=default
2025-10-03 19:04:18 INF  --tag=[] origin=default
2025-10-03 19:04:18 INF  --time-zone= origin=default
2025-10-03 19:04:18 INF Arguments:
2025-10-03 19:04:18 INF   "/some/folder"
2025-10-03 19:04:18 INF Connection to the server http://192.168.0.101:2283
2025-10-03 19:04:18 INF Server status: OK
2025-10-03 19:04:18 INF Server information: version=v2.0.0
2025-10-03 19:04:18 INF Connected, user: myname@provider, ID: xx
2025-10-03 19:04:18 INF Dry-run mode enabled. No changes will be made to the server.
2025-10-03 19:04:18 ERR cannot use both --into-album and --folder-as-album

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions