I
Immich3y ago
C

Removing duplicate images

Recently switched from F-droid to Play Store and there are now duplicate images. Tried following this issue to fix it: https://github.com/immich-app/immich/issues/1517#issuecomment-1414264993 However, there is only one device ID in the database (see image) Is there currently a working way to fix this?
GitHub
[BUG] App re-uploads everything after reinstall · Issue #1517 · imm...
Describe the bug I just had to reinstall the immich app, because I switched from the f-droid version to the apk from the GitHub release. When I logged in again, all photos and videos are being re-u...
No description
8 Replies
C
COP3y ago
(it's fine if there isn't a way to fix it, as it only affects my phone and not the webui but it would be nice if there was)
zody
zody3y ago
We no longer use the device_info table. Run a query against the asset table and look at the deviceID of your old assets (uploaded with F-Droid) and your new assets (uploaded with Play Store version)
C
COP3y ago
kk, is there a way to view deviceID from the phone?
zody
zody3y ago
You can activate troubleshooting under advanced settings. Then, asset info details show technical info including a hash of the device id. You can't use that in the server database though.
C
COP3y ago
so I would need to hash the deviceIDs in the db? i've only got 3 devices (one other person, google play and fdroid) so it won't be that hard whats the algo used for hash?
zody
zody3y ago
I would not use the info from the app. Simply look at the device id of newly uploaded assets in the assets table. You can compare the id of the assets with the info from the app (remoteId)
C
COP3y ago
alright worked! thanks for the help
zody
zody3y ago
Excellent! You're welcome

Did you find this page helpful?