[BUG] Unsupported file type .HEIC #1109

Closed
opened 2026-02-05 00:29:59 +03:00 by OVERLORD · 9 comments
Owner

Originally created by @ofosos on GitHub (Jul 14, 2023).

The bug

Heya,
The app is failing to upload from my iPhone and I get the following in the logs:

immich_server              | [Nest] 1  - 07/14/2023, 2:13:43 PM   ERROR [AssetService] Unsupported file type IMG_0022.HEIC

A quick look at the bug tracker indicates that HEIC is supported. But it doesn't work on my RasPi 4/8GB in docker-compose

Cheers, Mark

The OS that Immich Server is running on

Ubuntu 22.10 (arm)

Version of Immich Server

v1.67.1

Version of Immich Mobile App

1.66.0 build106

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

Downloaded with the standard script and never modified:

version: "3.8"

services:
  immich-server:
    container_name: immich_server
    image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
    command: [ "start.sh", "immich" ]
    volumes:
      - ${UPLOAD_LOCATION}:/usr/src/app/upload
    env_file:
      - .env
    depends_on:
      - redis
      - database
      - typesense
    restart: always

  immich-microservices:
    container_name: immich_microservices
    image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
    command: [ "start.sh", "microservices" ]
    volumes:
      - ${UPLOAD_LOCATION}:/usr/src/app/upload
    env_file:
      - .env
    depends_on:
      - redis
      - database
      - typesense
    restart: always

  immich-machine-learning:
    container_name: immich_machine_learning
    image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
    volumes:
      - model-cache:/cache
    env_file:
      - .env
    restart: always

  immich-web:
    container_name: immich_web
    image: ghcr.io/immich-app/immich-web:${IMMICH_VERSION:-release}
    env_file:
      - .env
    restart: always

  typesense:
    container_name: immich_typesense
    image: typesense/typesense:0.24.1@sha256:9bcff2b829f12074426ca044b56160ca9d777a0c488303469143dd9f8259d4dd
    environment:
      - TYPESENSE_API_KEY=${TYPESENSE_API_KEY}
      - TYPESENSE_DATA_DIR=/data
    logging:
      driver: none
    volumes:
      - tsdata:/data
    restart: always

  redis:
    container_name: immich_redis
    image: redis:6.2-alpine@sha256:70a7a5b641117670beae0d80658430853896b5ef269cc
f00d1827427e3263fa3
    restart: always

  database:
    container_name: immich_postgres
    image: postgres:14-alpine@sha256:28407a9961e76f2d285dc6991e8e48893503cc3836a
4755bbc2d40bcc272a441
    env_file:
      - .env
    environment:
      POSTGRES_PASSWORD: ${DB_PASSWORD}
      POSTGRES_USER: ${DB_USERNAME}
      POSTGRES_DB: ${DB_DATABASE_NAME}
      PG_DATA: /var/lib/postgresql/data
    volumes:
      - pgdata:/var/lib/postgresql/data
    restart: always

  immich-proxy:
    container_name: immich_proxy
    image: ghcr.io/immich-app/immich-proxy:${IMMICH_VERSION:-release}
    environment:
      # Make sure these values get passed through from the env file
      - IMMICH_SERVER_URL
      - IMMICH_WEB_URL
    ports:
      - 2283:8080
    depends_on:
      - immich-server
      - immich-web
    restart: always

volumes:
  pgdata:
  model-cache:
  tsdata:

Your .env content

UPLOAD_LOCATION=/srv/immich
IMMICH_WEB_URL=http://immich-web:3000
IMMICH_SERVER_URL=http://immich-server:3001
IMMICH_MACHINE_LEARNING_URL=http://immich-machine-learning:3003

Reproduction steps

1. Designate image/album for backup.
2. Fail

Additional information

No response

Originally created by @ofosos on GitHub (Jul 14, 2023). ### The bug Heya, The app is failing to upload from my iPhone and I get the following in the logs: ``` immich_server | [Nest] 1 - 07/14/2023, 2:13:43 PM ERROR [AssetService] Unsupported file type IMG_0022.HEIC ``` A quick look at the bug tracker indicates that HEIC is supported. But it doesn't work on my RasPi 4/8GB in docker-compose Cheers, Mark ### The OS that Immich Server is running on Ubuntu 22.10 (arm) ### Version of Immich Server v1.67.1 ### Version of Immich Mobile App 1.66.0 build106 ### Platform with the issue - [X] Server - [ ] Web - [X] Mobile ### Your docker-compose.yml content ```YAML Downloaded with the standard script and never modified: version: "3.8" services: immich-server: container_name: immich_server image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release} command: [ "start.sh", "immich" ] volumes: - ${UPLOAD_LOCATION}:/usr/src/app/upload env_file: - .env depends_on: - redis - database - typesense restart: always immich-microservices: container_name: immich_microservices image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release} command: [ "start.sh", "microservices" ] volumes: - ${UPLOAD_LOCATION}:/usr/src/app/upload env_file: - .env depends_on: - redis - database - typesense restart: always immich-machine-learning: container_name: immich_machine_learning image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release} volumes: - model-cache:/cache env_file: - .env restart: always immich-web: container_name: immich_web image: ghcr.io/immich-app/immich-web:${IMMICH_VERSION:-release} env_file: - .env restart: always typesense: container_name: immich_typesense image: typesense/typesense:0.24.1@sha256:9bcff2b829f12074426ca044b56160ca9d777a0c488303469143dd9f8259d4dd environment: - TYPESENSE_API_KEY=${TYPESENSE_API_KEY} - TYPESENSE_DATA_DIR=/data logging: driver: none volumes: - tsdata:/data restart: always redis: container_name: immich_redis image: redis:6.2-alpine@sha256:70a7a5b641117670beae0d80658430853896b5ef269cc f00d1827427e3263fa3 restart: always database: container_name: immich_postgres image: postgres:14-alpine@sha256:28407a9961e76f2d285dc6991e8e48893503cc3836a 4755bbc2d40bcc272a441 env_file: - .env environment: POSTGRES_PASSWORD: ${DB_PASSWORD} POSTGRES_USER: ${DB_USERNAME} POSTGRES_DB: ${DB_DATABASE_NAME} PG_DATA: /var/lib/postgresql/data volumes: - pgdata:/var/lib/postgresql/data restart: always immich-proxy: container_name: immich_proxy image: ghcr.io/immich-app/immich-proxy:${IMMICH_VERSION:-release} environment: # Make sure these values get passed through from the env file - IMMICH_SERVER_URL - IMMICH_WEB_URL ports: - 2283:8080 depends_on: - immich-server - immich-web restart: always volumes: pgdata: model-cache: tsdata: ``` ### Your .env content ```Shell UPLOAD_LOCATION=/srv/immich IMMICH_WEB_URL=http://immich-web:3000 IMMICH_SERVER_URL=http://immich-server:3001 IMMICH_MACHINE_LEARNING_URL=http://immich-machine-learning:3003 ``` ### Reproduction steps ```bash 1. Designate image/album for backup. 2. Fail ``` ### Additional information _No response_
Author
Owner

@mertalev commented on GitHub (Jul 14, 2023):

Hi Mark. Could you give more details about the image? Is it a live photo?

@mertalev commented on GitHub (Jul 14, 2023): Hi Mark. Could you give more details about the image? Is it a live photo?
Author
Owner

@ofosos commented on GitHub (Jul 14, 2023):

I have plenty of live photos, yeah.

@ofosos commented on GitHub (Jul 14, 2023): I have plenty of live photos, yeah.
Author
Owner

@mertalev commented on GitHub (Jul 14, 2023):

I seem to be having the same issue with live photos on iOS. If I take two pictures, one with it on and the other off, only the live photo fails.

@mertalev commented on GitHub (Jul 14, 2023): I seem to be having the same issue with live photos on iOS. If I take two pictures, one with it on and the other off, only the live photo fails.
Author
Owner

@ofosos commented on GitHub (Jul 14, 2023):

Yeah, I just confirmed, it's a live photo. Apparently there is: https://github.com/immich-app/immich/issues/160

@ofosos commented on GitHub (Jul 14, 2023): Yeah, I just confirmed, it's a live photo. Apparently there is: https://github.com/immich-app/immich/issues/160
Author
Owner

@alextran1502 commented on GitHub (Jul 14, 2023):

The new version of iOS app 1.67 will fix this issue. It is currently being reviewed by Apple

@alextran1502 commented on GitHub (Jul 14, 2023): The new version of iOS app 1.67 will fix this issue. It is currently being reviewed by Apple
Author
Owner

@ofosos commented on GitHub (Jul 14, 2023):

@alextran1502 do you have some previous experience with the reviews? Any idea how long this will take?

@ofosos commented on GitHub (Jul 14, 2023): @alextran1502 do you have some previous experience with the reviews? Any idea how long this will take?
Author
Owner

@alextran1502 commented on GitHub (Jul 14, 2023):

@alextran1502 do you have some previous experience with the reviews? Any idea how long this will take?

Usually a couple hours. I didn't submit the new version of the app until this morning so it should be available by the afternoon/evening

@alextran1502 commented on GitHub (Jul 14, 2023): > @alextran1502 do you have some previous experience with the reviews? Any idea how long this will take? Usually a couple hours. I didn't submit the new version of the app until this morning so it should be available by the afternoon/evening
Author
Owner

@alextran1502 commented on GitHub (Jul 14, 2023):

New version is out. Please update to resolve this issue.

@alextran1502 commented on GitHub (Jul 14, 2023): New version is out. Please update to resolve this issue.
Author
Owner

@ofosos commented on GitHub (Jul 15, 2023):

Works. Thanks @alextran1502

@ofosos commented on GitHub (Jul 15, 2023): Works. Thanks @alextran1502
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#1109