Immich: HEIC uploads succeed but no thumbnails generated (heif plugin error)

What app is this about, and its version: Immich, version 2.5.6~ynh1
What YunoHost version are you running: YunoHost version: 12.1.39 (stable) / Debian 12 (bookworm)
What type of hardware are you using: Raspberry Pi 3, 4+

Describe your issue

Hello,

I freshly installed the YunoHost app immich and am experiencing an issue with HEIC files.
Uploading HEIC images works without any error message.

However:

  • No thumbnail is generated.
  • Image preview does not load.
  • The original file can be downloaded.
  • JPG and PNG files work correctly.
  • In the web interface, a broken image icon is shown with: “Fehler beim Laden des Bildes”
  • The problem occurs for all HEIC files.

System packages:

libheif1 1.15.1-1+deb12u1 arm64

ImageMagick delegates include HEIC support:

Version: ImageMagick 6.9.11-60 Q16 aarch64 2021-01-25 https://imagemagick.org
Copyright: (C) 1999-2021 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher DPC Modules OpenMP(4.5)
Delegates (built-in): bzlib djvu fftw fontconfig freetype heic jbig jng jp2 jpeg lcms lqr ltdl lzma openexr pangocairo png tiff webp wmf x xml zlib'

The microservice worker throws this error during thumbnail generation:

heif: Error while loading plugin: Support for this compression format has not been built in (11.6003)

Any help to resolve this would be appreciated.

Thank you for your support.

Share relevant logs or error messages

Immich server log:
https://paste.yunohost.org/raw/asazugubos

Installation log:
https://paste.yunohost.org/raw/zihizunoxu

Try to force update the app with: sudo yunohost app upgrade immich -u https://github.com/YunoHost-Apps/immich_ynh --force

Thanks for the suggestion, but unfortunately force-upgrading and regenerating thumbnails didn’t help — the issue persists. :thinking:

I confirm the issue, I am currently working on the package to fix that. Stay tuned here.

Thanks for the update! I really appreciate you looking into this and working on a fix — I’ll keep an eye on this thread. :folded_hands:

Will be fixed with new version 2.5.6~ynh3

Thanks for the update and for working on this! :raising_hands:

I’ll update as soon as it’s available and report back.

I just tried updating to 2.5.6~ynh4 (the latest available), but unfortunately the upgrade failed for me.

The installation seems to go through fine, but the script ultimately errors out with:

An error occurred inside the app upgrade script.

Full log here: https://paste.yunohost.org/raw/ofokutiqog

Let me know if there’s anything else I can provide to help debug! :folded_hands:

Quick update: I ended up doing a fresh install (after the upgrade failed), and the web interface is now working fine!

Huge thanks for the super fast response on this! :flexed_biceps:


However, I’m getting a version mismatch error in the mobile app:
Your app major version is not compatible with the server!
Both the server and the app report version 2.5.6.

Update: Just realized I missed adding /api to the end of the server name - my bad! :upside_down_face: Problem solved, and everything is now running smoothly!

@ ewilly Thanks again for the great help!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.