Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Cloudron Forum

Apps | Demo | Docs | Install

heic not showing up

Scheduled Pinned Locked Moved Unsolved Immich
8 Posts 2 Posters 297 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • andreasduerenA Offline
    andreasduerenA Offline
    andreasdueren
    wrote on last edited by
    #1

    I am experiencing this weird bug where images from an iPhone will not show up on an android device or the online UI if they are heic files. Is immich missing a necessary package here or does anyone have an idea whats wrong?

    andreasduerenA 1 Reply Last reply
    0
  • andreasduerenA Offline
    andreasduerenA Offline
    andreasdueren
    replied to andreasdueren on last edited by
    #2

    @andreasdueren said in heic not showing up:

    I am experiencing this weird bug where images from an iPhone will not show up on an android device or the online UI if they are heic files. Is immich missing a necessary package here or does anyone have an idea whats wrong?

    When I manually trigger thumbnail creation my logs get spammed with this stuff:

    Dec 13 13:38:49 [Nest] 12 - 12/13/2022, 7:38:49 PM ERROR Failed to generate jpeg thumbnail for asset: 1b81885f-d8f3-4da3-8906-db3486206347
    Dec 13 13:38:49 [Nest] 12 - 12/13/2022, 7:38:49 PM ERROR Failed to trigger object detection pipe line Error: getaddrinfo ENOTFOUND immich-machine-learning
    Dec 13 13:38:49 [Nest] 12 - 12/13/2022, 7:38:49 PM ERROR Failed to generate jpeg thumbnail for asset: ca7ae830-6b29-42a7-a2cb-c6473b32c1c3
    Dec 13 13:38:49 [Nest] 12 - 12/13/2022, 7:38:49 PM ERROR Failed to generate jpeg thumbnail for asset: 9877c8f2-1285-4510-ac5f-809c808a58ba
    Dec 13 13:38:49 [Nest] 12 - 12/13/2022, 7:38:49 PM ERROR Failed to generate jpeg thumbnail for asset: 6402974a-b685-470b-b65e-7454c5e47e6a
    Dec 13 13:38:49 [Nest] 12 - 12/13/2022, 7:38:49 PM ERROR Failed to generate jpeg thumbnail for asset: d2adef2d-0966-442b-8624-fda4484f81e5
    Dec 13 13:38:49 [Nest] 12 - 12/13/2022, 7:38:49 PM ERROR Failed to generate jpeg thumbnail for asset: f8c8fff7-c6b7-46ca-946d-40d15ffdf55f
    Dec 13 13:38:49 [Nest] 12 - 12/13/2022, 7:38:49 PM ERROR Failed to generate jpeg thumbnail for asset: 05e25ebc-4d9f-4ef5-b359-81be79935ed5
    Dec 13 13:38:49 [Nest] 12 - 12/13/2022, 7:38:49 PM ERROR Failed to trigger object detection pipe line Error: getaddrinfo ENOTFOUND immich-machine-learning
    Dec 13 13:38:49 [Nest] 12 - 12/13/2022, 7:38:49 PM ERROR Failed to generate jpeg thumbnail for asset: 50c6230b-99a7-4e06-b1ce-317e06967b81
    
    1 Reply Last reply
    0
  • nebulonN Online
    nebulonN Online
    nebulon Staff
    wrote on last edited by
    #3

    I think those are two different issues. I can reproduce the machine learning problem and looking into how to fix this.

    For HEIC images, can you maybe share one which allows us to reproduce it?

    1 Reply Last reply
    1
  • nebulonN nebulon marked this topic as a question on
  • nebulonN Online
    nebulonN Online
    nebulon Staff
    wrote on last edited by
    #4

    I have fixed up the machine learning part with the latest package release now.

    1 Reply Last reply
    1
  • nebulonN Online
    nebulonN Online
    nebulon Staff
    wrote on last edited by
    #5

    I was also able to replicate the heic thumbnail generation error. Not yet sure what fails there, but possibly some missing libraries in the app package.

    andreasduerenA 1 Reply Last reply
    1
  • andreasduerenA Offline
    andreasduerenA Offline
    andreasdueren
    replied to nebulon on last edited by
    #6

    @nebulon ok I was just about to send you a file. Buts it’s pretty much any, I tried files created by two different devices and uploaded from two devices as well.

    So you don’t need any file anymore, correct?

    1 Reply Last reply
    0
  • nebulonN Online
    nebulonN Online
    nebulon Staff
    wrote on last edited by
    #7

    So what I found so far is that immich is using https://www.npmjs.com/package/sharp for thumbnail generation which in turn uses https://github.com/libvips/libvips which should be setup for heic in the package, still so far I had not succeeded to let it generate thumbnails. Have to debug this further. For the interested, the upstream change adding heic support was https://github.com/immich-app/immich/commit/38c968d47e8f24237228a6204de59aac3c601313

    1 Reply Last reply
    1
  • nebulonN Online
    nebulonN Online
    nebulon Staff
    wrote on last edited by nebulon
    #8

    Looks like this is still not working well https://github.com/immich-app/immich/issues/3943

    Also though it might be not of too much use actually given https://caniuse.com/?search=HEIC

    1 Reply Last reply
    3

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks