Skip to content
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.

Incremental "import" from CLI takes a LONG time #111

Open
dharapvj opened this issue Aug 16, 2023 · 0 comments
Open

Incremental "import" from CLI takes a LONG time #111

dharapvj opened this issue Aug 16, 2023 · 0 comments

Comments

@dharapvj
Copy link

I am using external path to import readonly file archive in immich.

But the import operation takes more than 8-10 hours for upload operation. Most deal-breaker is incremental import.. First time - may be I can understand that it takes time. But next time when I had hardly 1000 photos to upload and still it took 8+ hours. (probably because it said that it will add all photos to albums again?

So my request is for 2 things:

  1. Provide more way to debug output about what CLI is doing so that I can debug why, if only my setup, takes time.
  2. If there are any optimizations about how import operation specifically works.. it would be really useful.

Notes:

  1. The import operation ran from same machine where immich instance is running. The server URL resolves to the ip address within home network so I do not go out to internet and come back.
  2. I monitored the CPU usage and CPU was not even 20% used for this operation.
  3. All the disks involved to read and write are SSDs so their IO speed are not an issue.
❯ immich upload --key XXXXXX --server https://immich.YYYY.com/api -al --recursive --import /mediaLocal/Pics                                          Checking connectivity with Immich instance...
Server status: OK
Checking credentials...
Login status: OK
Successful authentication for user ABCD@xyz.com
Indexing local assets...
Indexing complete, found 67495 local assets
Comparing local assets with those on the Immich instance...
A total of 1740 assets will be uploaded to the server
Creating albums...ssets will be added to album(s).
Upload Progress | ████████████████████████████████████████ | 100% || 467/467 || Current file [{filepath}]                                                                                   {start upload now? (y/n) y
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant