iOS upload #6402

Closed
opened 2026-02-05 12:15:50 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @KLServer on GitHub (Jul 1, 2025).

I have searched the existing issues, both open and closed, to make sure this is not a duplicate report.

  • Yes

The bug

Hello

I have an issue with the uploads, I've seen it mentionned a lot of times and it gets fixed and it works again for a while, running latest version/release, I can upload photos they are visible, I add them to a folder and when I delete them I get "error loading image", same if I use the webinterface.

If (I've looked, maybe not good enough) it's a double ticket, delete this one!

Thanks!

The OS that Immich Server is running on

TrueNAS 25.04.1/ Portainer

Version of Immich Server

v1.135.3

Version of Immich Mobile App

1.135.1 build.210

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

#
# WARNING: Make sure to use the docker-compose.yml of the current release:
#
# https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml
#
# The compose file on main may not be compatible with the latest release.
#

name: immich
services:
  immich-server:
    container_name: immich_server
    image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
    labels:
      - "com.centurylinklabs.watchtower.enable=false"
    networks:
     ipvlan_net:
      ipv4_address: 192.168.130.50
    # extends:
    #   file: hwaccel.transcoding.yml
    #   service: cpu # set to one of [nvenc, quicksync, rkmpp, vaapi, vaapi-wsl] for accelerated transcoding
    volumes:
      # Do not edit the next line. If you want to change the media storage location on your system, edit the value of UPLOAD_LOCATION in the .env file
      - ${UPLOAD_LOCATION}:/usr/src/app/upload
      - /etc/localtime:/etc/localtime:ro
    env_file:
      - stack.env
    ports:
      - '2283:2283'
    depends_on:
      - redis
      - database
    restart: unless-stopped
    healthcheck:
      disable: false

  immich-machine-learning:
    container_name: immich_machine_learning
    labels:
      - "com.centurylinklabs.watchtower.enable=false"
    networks:
     ipvlan_net:
      ipv4_address: 192.168.130.51
    # For hardware acceleration, add one of -[armnn, cuda, openvino] to the image tag.
    # Example tag: ${IMMICH_VERSION:-release}-cuda
    image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
    # extends: # uncomment this section for hardware acceleration - see https://immich.app/docs/features/ml-hardware-acceleration
    #   file: hwaccel.ml.yml
    #   service: cpu # set to one of [armnn, cuda, openvino, openvino-wsl] for accelerated inference - use the `-wsl` version for WSL2 where applicable
    volumes:
      - model-cache:/cache
    env_file:
      - stack.env
    restart: unless-stopped
    healthcheck:
      disable: false

  redis:
    container_name: immich_redis
    labels:
      - "com.centurylinklabs.watchtower.enable=false"
    networks:
     ipvlan_net:
      ipv4_address: 192.168.130.52
    image: docker.io/valkey/valkey:8-bookworm@sha256:fec42f399876eb6faf9e008570597741c87ff7662a54185593e74b09ce83d177
    healthcheck:
      test: redis-cli ping || exit 1
    restart: unless-stopped

  database:
    container_name: immich_postgres
    labels:
      - "com.centurylinklabs.watchtower.enable=false"
    networks:
     ipvlan_net:
      ipv4_address: 192.168.130.53
    image: ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0
    environment:
      POSTGRES_PASSWORD: ${DB_PASSWORD}
      POSTGRES_USER: ${DB_USERNAME}
      POSTGRES_DB: ${DB_DATABASE_NAME}
      POSTGRES_INITDB_ARGS: '--data-checksums'
      # Uncomment the DB_STORAGE_TYPE: 'HDD' var if your database isn't stored on SSDs
      # DB_STORAGE_TYPE: 'HDD'
    volumes:
      # Do not edit the next line. If you want to change the database storage location on your system, edit the value of DB_DATA_LOCATION in the .env file
      - ${DB_DATA_LOCATION}:/var/lib/postgresql/data
    restart: unless-stopped

volumes:
  model-cache:
networks:
   ipvlan_net:
       external: true

Your .env content

UPLOAD_LOCATION
DB_DATA_LOCATION
IMMICH_VERSION release
DB_PASSWORD
DB_USERNAME
DB_DATABASE_NAME

Reproduction steps

  1. Auto upload foreground
  2. Add to folder
  3. Delete original on Photos app iPhone OR on Immich "Remove from device" both same error
  4. Same problem if I upload them via the web interface

Relevant log output

[Nest] 7  - 07/01/2025, 11:01:25 AM   ERROR [Microservices:Error: Template not initialized] Unable to get template path for IMG_4619.PNG
[Nest] 7  - 07/01/2025, 11:01:25 AM   ERROR [Microservices:Error: Template not initialized] Unable to get template path for IMG_4612.PNG
[Nest] 7  - 07/01/2025, 11:01:25 AM   ERROR [Microservices:Error: Template not initialized] Unable to get template path for b7703b16-841e-433c-86e7-8872f1e8240e.jpg
[Nest] 7  - 07/01/2025, 11:01:25 AM   ERROR [Microservices:Error: Template not initialized] Unable to get template path for f3fcc6fa-b149-451a-8733-d01d0b359387.jpg
[Nest] 7  - 07/01/2025, 11:01:25 AM   ERROR [Microservices:Error: Template not initialized] Unable to get template path for IMG_4590.MOV
[Nest] 7  - 07/01/2025, 11:01:25 AM   ERROR [Microservices:Error: Template not initialized] Unable to get template path for IMG_4590.JPG
[Nest] 7  - 07/01/2025, 11:01:25 AM   ERROR [Microservices:Error: Template not initialized] Unable to get template path for IMG_4590.MOV

Additional information

No response

Originally created by @KLServer on GitHub (Jul 1, 2025). ### I have searched the existing issues, both open and closed, to make sure this is not a duplicate report. - [x] Yes ### The bug Hello I have an issue with the uploads, I've seen it mentionned a lot of times and it gets fixed and it works again for a while, running latest version/release, I can upload photos they are visible, I add them to a folder and when I delete them I get "error loading image", same if I use the webinterface. If (I've looked, maybe not good enough) it's a double ticket, delete this one! Thanks! ### The OS that Immich Server is running on TrueNAS 25.04.1/ Portainer ### Version of Immich Server v1.135.3 ### Version of Immich Mobile App 1.135.1 build.210 ### Platform with the issue - [ ] Server - [x] Web - [x] Mobile ### Your docker-compose.yml content ```YAML # # WARNING: Make sure to use the docker-compose.yml of the current release: # # https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml # # The compose file on main may not be compatible with the latest release. # name: immich services: immich-server: container_name: immich_server image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release} labels: - "com.centurylinklabs.watchtower.enable=false" networks: ipvlan_net: ipv4_address: 192.168.130.50 # extends: # file: hwaccel.transcoding.yml # service: cpu # set to one of [nvenc, quicksync, rkmpp, vaapi, vaapi-wsl] for accelerated transcoding volumes: # Do not edit the next line. If you want to change the media storage location on your system, edit the value of UPLOAD_LOCATION in the .env file - ${UPLOAD_LOCATION}:/usr/src/app/upload - /etc/localtime:/etc/localtime:ro env_file: - stack.env ports: - '2283:2283' depends_on: - redis - database restart: unless-stopped healthcheck: disable: false immich-machine-learning: container_name: immich_machine_learning labels: - "com.centurylinklabs.watchtower.enable=false" networks: ipvlan_net: ipv4_address: 192.168.130.51 # For hardware acceleration, add one of -[armnn, cuda, openvino] to the image tag. # Example tag: ${IMMICH_VERSION:-release}-cuda image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release} # extends: # uncomment this section for hardware acceleration - see https://immich.app/docs/features/ml-hardware-acceleration # file: hwaccel.ml.yml # service: cpu # set to one of [armnn, cuda, openvino, openvino-wsl] for accelerated inference - use the `-wsl` version for WSL2 where applicable volumes: - model-cache:/cache env_file: - stack.env restart: unless-stopped healthcheck: disable: false redis: container_name: immich_redis labels: - "com.centurylinklabs.watchtower.enable=false" networks: ipvlan_net: ipv4_address: 192.168.130.52 image: docker.io/valkey/valkey:8-bookworm@sha256:fec42f399876eb6faf9e008570597741c87ff7662a54185593e74b09ce83d177 healthcheck: test: redis-cli ping || exit 1 restart: unless-stopped database: container_name: immich_postgres labels: - "com.centurylinklabs.watchtower.enable=false" networks: ipvlan_net: ipv4_address: 192.168.130.53 image: ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0 environment: POSTGRES_PASSWORD: ${DB_PASSWORD} POSTGRES_USER: ${DB_USERNAME} POSTGRES_DB: ${DB_DATABASE_NAME} POSTGRES_INITDB_ARGS: '--data-checksums' # Uncomment the DB_STORAGE_TYPE: 'HDD' var if your database isn't stored on SSDs # DB_STORAGE_TYPE: 'HDD' volumes: # Do not edit the next line. If you want to change the database storage location on your system, edit the value of DB_DATA_LOCATION in the .env file - ${DB_DATA_LOCATION}:/var/lib/postgresql/data restart: unless-stopped volumes: model-cache: networks: ipvlan_net: external: true ``` ### Your .env content ```Shell UPLOAD_LOCATION DB_DATA_LOCATION IMMICH_VERSION release DB_PASSWORD DB_USERNAME DB_DATABASE_NAME ``` ### Reproduction steps 1. Auto upload foreground 2. Add to folder 3. Delete original on Photos app iPhone OR on Immich "Remove from device" both same error 4. Same problem if I upload them via the web interface ### Relevant log output ```shell [Nest] 7 - 07/01/2025, 11:01:25 AM ERROR [Microservices:Error: Template not initialized] Unable to get template path for IMG_4619.PNG [Nest] 7 - 07/01/2025, 11:01:25 AM ERROR [Microservices:Error: Template not initialized] Unable to get template path for IMG_4612.PNG [Nest] 7 - 07/01/2025, 11:01:25 AM ERROR [Microservices:Error: Template not initialized] Unable to get template path for b7703b16-841e-433c-86e7-8872f1e8240e.jpg [Nest] 7 - 07/01/2025, 11:01:25 AM ERROR [Microservices:Error: Template not initialized] Unable to get template path for f3fcc6fa-b149-451a-8733-d01d0b359387.jpg [Nest] 7 - 07/01/2025, 11:01:25 AM ERROR [Microservices:Error: Template not initialized] Unable to get template path for IMG_4590.MOV [Nest] 7 - 07/01/2025, 11:01:25 AM ERROR [Microservices:Error: Template not initialized] Unable to get template path for IMG_4590.JPG [Nest] 7 - 07/01/2025, 11:01:25 AM ERROR [Microservices:Error: Template not initialized] Unable to get template path for IMG_4590.MOV ``` ### Additional information _No response_
Author
Owner

@KLServer commented on GitHub (Jul 1, 2025):

*Sometimes I can get it working again by re-deploying or restarting the containers a couple of times

@KLServer commented on GitHub (Jul 1, 2025): *Sometimes I can get it working again by re-deploying or restarting the containers a couple of times
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#6402