ImmichI
Immich5mo ago
n1ete

Upload error: duplicate key value violates unique constraint "UQ_assets_own" on all uploads

I recently downloaded all Pictures from my google Photos account and it seems i cant upload any of them to Immich either via cli on Desktop or web-interface dragndrop via Chromium.
I might be plagued by this github issue here: https://github.com/immich-app/immich/issues/15051 but i am not sure about this. I do use the Android App as well but these pictures are not on my phone at all. It does not matter if i pick one image or several or the whole folder. Uploading pictures via the android app seems fine, i did not try to copy the pictures on my phone first and uploading them via the app though.
Uploading via ia Webinterface shows always one picture uploaded and i can see an empty thumbnail that is endlessly loading....removing this one completely and emptying the trash completely does not seem to help either.

There are some json metadata files in this folder but i assume that's no problem since Immich uploads only compatible file formats and ignores everything else?

Immich CLI:
immich upload --recursive --album Clubbing/
Crawling for assets...
Hashing files           | ████████████████████████████████████████ | 100% | ETA: 0s | 78/78 assets
Checking for duplicates | ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ | 0% | ETA: 0s | 0/78 assets
Found 0 new files and 0 duplicates
All assets were already uploaded, nothing to do.
Creating albums | ████████████████████████████████████████ | 100% | ETA: 0s | 0/0 albums
Successfully created 0 new albums
Successfully updated 0 assets
Adding assets to albums | ████████████████████████████████████████ | 100% | ETA: 0s | 0/0 assets

I added the corresponding Immich Docker logs.


Environment:

Rocky Linux 9
Immich runs in Docker
Immich version v1.138.0

I hope i didnt miss any Information.

Thanks in Advance for your help and Support.
Was this page helpful?