14
submitted 1 year ago* (last edited 1 year ago) by qjkxbmwvz@lemmy.sdf.org to c/selfhosted@lemmy.world

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.

top 4 comments
sorted by: hot top controversial new old
[-] uninvitedguest@lemmy.ca 5 points 1 year ago

I recommend posting on their GitHub discussions. It's very active and helpful.

[-] morethanevil@lmy.mymte.de 2 points 1 year ago

Or their Discordserver. Very helpful and nice people.

[-] Reborn2966@feddit.it 2 points 1 year ago

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...

[-] qjkxbmwvz@lemmy.sdf.org 1 points 1 year ago

Ok, figured out a workaround


simply delete the image from the web client, and the device will re-upload.

this post was submitted on 15 Aug 2023
14 points (93.8% liked)

Selfhosted

39677 readers
359 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS