Not uploading HEIC photos
Hi there,
first of all thank you guys for your work and dedication for this project.
I migrated from Nextcloud to immich. So I uploaded my existing photos via the immich CLI (with worked perfectly). But every time I open the app it tries to upload some photos which should already be uploaded.
Some additional Infos:
Immich Version 1.56.2
Linux 22.04
5 Replies
Here some logs:
```
immich_postgres | 2023-05-21 09:01:58.012 UTC [1554] ERROR: duplicate key value violates unique constraint "UQ_userid_checksum"
immich_postgres | 2023-05-21 09:01:58.012 UTC [1554] DETAIL: Key ("ownerId", checksum)=(a6e87699-54d8-4eff-b18a-7c5505c4eedc, \xa33e06638c214af81c62f5e10a98fc028b6669f0) already exists.
immich_postgres | 2023-05-21 09:01:58.012 UTC [1554] STATEMENT: INSERT INTO "assets"("id", "deviceAssetId", "ownerId", "deviceId", "type", "originalPath", "resizePath", "webpPath", "encodedVideoPath", "createdAt", "updatedAt", "fileCreatedAt", "fileModifiedAt", "isFavorite", "isArchived", "mimeType", "checksum", "duration", "isVisible", "livePhotoVideoId", "originalFileName") VALUES (DEFAULT, $1, $2, $3, $4, $5, $6, $7, $8, DEFAULT, DEFAULT, $9, $10, $11, $12, $13, $14, $15, $16, DEFAULT, $17) RETURNING "id", "webpPath", "encodedVideoPath", "createdAt", "updatedAt", "isFavorite", "isArchived", "isVisible"
I've also got 2 HEIC photos that were sent to me via message & I saved to my photos. They won't upload either
I think the issue here is that the assets you uploaded from the CLI cause duplicated on the asset on your mobile phone.
What would be the best way to move forward delete the old photos?
Delete from your native photo viewer app