Force re-upload of broken assets on Immich?
SOLVED: delete using web client, and mobile will re-upload.
I haven't been able to find the proper way to force a re-upload of an image from mobile --- any suggestions?
The images in question are from an iOS device. They show up correctly on the iOS device (both native Photos app and Immich), and claim to be uploaded (cloud w/check mark icon). On Android and web, they do not show up. If I try to download the image on web, it fails, with an immich_server log message of
ERROR [ExceptionsHandler] ENOENT: no such file or directory, stat 'upload/library/admin/path/to/file.jpg'
I've read it's possible to fix these issues with some Postgres magic, but I've also read that that is Strongly Discouraged.
I believe the original issue of why the files got borked was I didn't have a sufficient client_max_body_size
set (I'm using a reverse proxy, nginx). This is just a hunch though...
Thanks in advance --- will just ask the immich.app crowd if that's a more appropriate place.
I recommend posting on their GitHub discussions. It's very active and helpful.
Or their Discordserver. Very helpful and nice people.
i think they added the ability to force upload a photo in one of the latest releases, see it that helps.
otherwise yes, you have to delete that record from the db...
Ok, figured out a workaround --- simply delete the image from the web client, and the device will re-upload.