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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Unsolved heic not showing up

    Immich
    2
    7
    110
    Loading More Posts
    • 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.
    • andreasdueren
      andreasdueren last edited by

      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?

      andreasdueren 1 Reply Last reply Reply Quote 0
      • andreasdueren
        andreasdueren @andreasdueren last edited by

        @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 Reply Quote 0
        • nebulon
          nebulon Staff last edited by

          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 Reply Quote 1
          • Topic has been marked as a question  nebulon nebulon 
          • nebulon
            nebulon Staff last edited by

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

            1 Reply Last reply Reply Quote 1
            • nebulon
              nebulon Staff last edited by

              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.

              andreasdueren 1 Reply Last reply Reply Quote 1
              • andreasdueren
                andreasdueren @nebulon last edited by

                @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 Reply Quote 0
                • nebulon
                  nebulon Staff last edited by

                  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 Reply Quote 1
                  • First post
                    Last post
                  Powered by NodeBB