[beta] Failed to delete some photos #7007

Closed
opened 2026-02-05 12:42:39 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @FawenYo on GitHub (Aug 28, 2025).

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

  • Yes

The bug

After hashing all the iCloud photos on my iPhone and uploading them to my Immich server via the Immich app (with beta timeline enabled), I've noticed a few issues with some of the photos:

  1. Incorrect timestamps: The photo timestamps have been changed to the upload time.
  2. UUID format filenames: The filenames on the Immich server have been changed to a UUID format (e.g., BF1898DA-06C8-4293-87D6-2F162D0FFCC1.JPG).

I've found that these problematic photos cannot be deleted, either from the app or the web client. The Immich server pod logs only show:

[Nest] 7  - 08/28/2025, 11:32:11 AM       LOG [Microservices:TrashService] Queued 0 asset(s) for deletion from the trash

The interface for these specific photos also looks different from the others, as they are missing the trash can icon.

(Normal one)

Image

(Error one)

Image

I've tried to restart my app/web client, restart my Immich server...... but none of them work.

The OS that Immich Server is running on

Ubuntu 22.10

Version of Immich Server

v1.139.4

Version of Immich Mobile App

1.139.3 build.217

Platform with the issue

  • Server
  • Web
  • Mobile

Device make and model

iPhone 16 Pro, iOS 18.6.2

Your docker-compose.yml content

Immich is deployed via Helm chart

env:
  TZ: "GMT"
  REDIS_HOSTNAME: "redis-master.redis.svc.cluster.local"
  REDIS_PASSWORD: "${REDIS_PASSWORD}"
  DB_HOSTNAME: "postgresql-cluster-rw.postgres.svc.cluster.local"
  DB_USERNAME: "postgres"
  DB_DATABASE_NAME: "immich"
  # -- You should provide your own secret outside of this helm-chart and use `postgresql.global.postgresql.auth.existingSecret` to provide credentials to the postgresql instance
  DB_PASSWORD: "${POSTGRESQL_PASSWORD}"
  IMMICH_MACHINE_LEARNING_URL: '{{ printf "http://%s-machine-learning:3003" .Release.Name }}'

image:
  tag: release

immich:
  metrics:
    # Enabling this will create the service monitors needed to monitor immich with the prometheus operator
    enabled: true
  persistence:
    # Main data store for all photos shared between different components.
    library:
      # Automatically creating the library volume is not supported by this chart
      # You have to specify an existing PVC to use
      existingClaim: immich-storage

  # configuration is immich-config.json converted to yaml
  # ref: https://immich.app/docs/install/config-file/
  #
  configuration:
    {}
    # trash:
    #   enabled: false
    #   days: 30
    # storageTemplate:
    #   enabled: true
    #   template: "{{y}}/{{y}}-{{MM}}-{{dd}}/{{filename}}"

server:
  image:
    pullPolicy: Always
  ingress:
    main:
      enabled: true
      ingressClassName: nginx
      annotations:
        cert-manager.io/cluster-issuer: letsencrypt-prod
        external-dns.alpha.kubernetes.io/cloudflare-proxied: "false" # Disable Cloudflare proxying for performance
        nginx.ingress.kubernetes.io/ssl-redirect: "true"
        nginx.ingress.kubernetes.io/proxy-body-size: "0"  # Unlimited body size
      hosts:
        - host: immich.{BASE_FQDN}
          paths:
            - path: "/"
      tls:
        - secretName: immich-tls
          hosts:
            - immich.{BASE_FQDN}

# Immich components
machine-learning:
  enabled: true
  image:
    pullPolicy: Always
  persistence:
    cache:
      enabled: true
      size: 10Gi
      # Optional: Set this to pvc to avoid downloading the ML models every start.
      type: emptyDir
      accessMode: ReadWriteMany

Your .env content

Same as the previous content

Reproduction steps

  1. Backup all the photos to iCloud & Immich
  2. Open Immich to see if there are error photos
  3. Try to delete those photos
    ...

Relevant log output

[Nest[] 18  - 08/28/2025, 11:30:22 AM     LOG [Api:Bootstrap[] Immich Server is listening on http://[::1[]:2283 [v1.139.4[] [production] 
[Nest[] 18  - 08/28/2025, 11:30:28 AM     LOG [Api:EventRepository] Websocket Connect:    FO49O3-0cq780CQaAAAB
[Nest[] 18  - 08/28/2025, 11:30:33 AM     LOG [Api:EventRepository] Websocket Disconnect: FO49O3-0cq780CQaAAAB
[Nest[] 18  - 08/28/2025, 11:30:33 AM     LOG [Api:EventRepository] Websocket Connect:    _c9iB8oLqK-eibHfAAAD
[Nest[] 7  - 08/28/2025, 11:32:11 AM     LOG [Microservices:TrashService] Queued 0 asset(s) for deletion from the trash
[Nest[] 18  - 08/28/2025, 11:32:14 AM     LOG [Api:EventRepository] Websocket Disconnect: _c9iB8oLqK-eibHfAAAD
[Nest[] 18  - 08/28/2025, 11:32:14 AM     LOG [Api:EventRepository] Websocket Connect:    Tjdv-SY1VFjJ2l5oAAAF
[Nest[] 18  - 08/28/2025, 11:32:30 AM     LOG [Api:EventRepository] Websocket Disconnect: Tjdv-SY1VFjJ2l5oAAAF
[Nest[] 18  - 08/28/2025, 11:32:30 AM     LOG [Api:EventRepository] Websocket Connect:    DE5pWPv2VfFfr3HpAAAH
[Nest[] 7  - 08/28/2025, 11:33:23 AM     LOG [Microservices:TrashService] Queued 0 asset(s) for deletion from the trash
[Nest[] 18  - 08/28/2025, 11:33:25 AM     LOG [Api:EventRepository] Websocket Disconnect: DE5pWPv2VfFfr3HpAAAH
[Nest[] 18  - 08/28/2025, 11:33:26 AM     LOG [Api:EventRepository] Websocket Connect:    7qWiv-yKR6yztAe4AAAJ
[Nest[] 18  - 08/28/2025, 11:34:41 AM     LOG [Api:EventRepository] Websocket Disconnect: 7qWiv-yKR6yztAe4AAAJ
[Nest[] 18  - 08/28/2025, 11:35:03 AM     LOG [Api:EventRepository] Websocket Connect:    uSvVyFwRU4w6H_n5AAAL
[Nest[] 18  - 08/28/2025, 11:36:06 AM     LOG [Api:EventRepository] Websocket Connect:    wacava5OPKSqdfzHAAAN
[Nest[] 18  - 08/28/2025, 11:36:08 AM     LOG [Api:EventRepository] Websocket Disconnect: wacava5OPKSqdfzHAAAN
[Nest[] 18  - 08/28/2025, 11:36:26 AM     LOG [Api:EventRepository] Websocket Connect:    nYBHd_zVjCoOIlOmAAAP
[Nest[] 18  - 08/28/2025, 11:38:38 AM     LOG [Api:EventRepository] Websocket Disconnect: uSvVyFwRU4w6H_n5AAAL
[Nest[] 18  - 08/28/2025, 11:38:39 AM     LOG [Api:EventRepository] Websocket Connect:    H37wxQGKdnYE8DqEAAAR
[Nest[] 18  - 08/28/2025, 11:38:43 AM     LOG [Api:EventRepository] Websocket Disconnect: H37wxQGKdnYE8DqEAAAR
[Nest[] 18  - 08/28/2025, 11:38:43 AM     LOG [Api:EventRepository] Websocket Connect:    iLUw6UtLpA0Cmr6FAAAT
[Nest[] 18  - 08/28/2025, 11:41:04 AM     LOG [Api:EventRepository] Websocket Disconnect: nYBHd_zVjCoOIlOmAAAP
[Nest[] 18  - 08/28/2025, 11:49:31 AM     LOG [Api:EventRepository] Websocket Connect:    XF9lFHh4mcUQmEOpAAAV
[Nest[] 18  - 08/28/2025, 11:49:48 AM     LOG [Api:EventRepository] Websocket Disconnect: XF9lFHh4mcUQmEOpAAAV
[Nest[] 18  - 08/28/2025, 11:52:24 AM     LOG [Api:EventRepository] Websocket Disconnect: iLUw6UtLpA0Cmr6FAAAT

Additional information

No response

Originally created by @FawenYo on GitHub (Aug 28, 2025). ### I have searched the existing issues, both open and closed, to make sure this is not a duplicate report. - [x] Yes ### The bug After hashing all the iCloud photos on my iPhone and uploading them to my Immich server via the Immich app (with beta timeline enabled), I've noticed a few issues with some of the photos: 1. **Incorrect timestamps:** The photo timestamps have been changed to the upload time. 2. **UUID format filenames:** The filenames on the Immich server have been changed to a UUID format (e.g., `BF1898DA-06C8-4293-87D6-2F162D0FFCC1.JPG`). I've found that these problematic photos cannot be deleted, either from the app or the web client. The Immich server pod logs only show: ``` [Nest] 7 - 08/28/2025, 11:32:11 AM LOG [Microservices:TrashService] Queued 0 asset(s) for deletion from the trash ``` The interface for these specific photos also looks different from the others, as they are **missing the trash can icon**. (Normal one) <img width="1579" height="982" alt="Image" src="https://github.com/user-attachments/assets/cc101978-49d8-497f-9f37-8e8284670f16" /> (Error one) <img width="1593" height="986" alt="Image" src="https://github.com/user-attachments/assets/c06985ed-1478-464f-aef7-052b66db7b70" /> I've tried to restart my app/web client, restart my Immich server...... but none of them work. ### The OS that Immich Server is running on Ubuntu 22.10 ### Version of Immich Server v1.139.4 ### Version of Immich Mobile App 1.139.3 build.217 ### Platform with the issue - [ ] Server - [x] Web - [x] Mobile ### Device make and model iPhone 16 Pro, iOS 18.6.2 ### Your docker-compose.yml content ```YAML Immich is deployed via Helm chart env: TZ: "GMT" REDIS_HOSTNAME: "redis-master.redis.svc.cluster.local" REDIS_PASSWORD: "${REDIS_PASSWORD}" DB_HOSTNAME: "postgresql-cluster-rw.postgres.svc.cluster.local" DB_USERNAME: "postgres" DB_DATABASE_NAME: "immich" # -- You should provide your own secret outside of this helm-chart and use `postgresql.global.postgresql.auth.existingSecret` to provide credentials to the postgresql instance DB_PASSWORD: "${POSTGRESQL_PASSWORD}" IMMICH_MACHINE_LEARNING_URL: '{{ printf "http://%s-machine-learning:3003" .Release.Name }}' image: tag: release immich: metrics: # Enabling this will create the service monitors needed to monitor immich with the prometheus operator enabled: true persistence: # Main data store for all photos shared between different components. library: # Automatically creating the library volume is not supported by this chart # You have to specify an existing PVC to use existingClaim: immich-storage # configuration is immich-config.json converted to yaml # ref: https://immich.app/docs/install/config-file/ # configuration: {} # trash: # enabled: false # days: 30 # storageTemplate: # enabled: true # template: "{{y}}/{{y}}-{{MM}}-{{dd}}/{{filename}}" server: image: pullPolicy: Always ingress: main: enabled: true ingressClassName: nginx annotations: cert-manager.io/cluster-issuer: letsencrypt-prod external-dns.alpha.kubernetes.io/cloudflare-proxied: "false" # Disable Cloudflare proxying for performance nginx.ingress.kubernetes.io/ssl-redirect: "true" nginx.ingress.kubernetes.io/proxy-body-size: "0" # Unlimited body size hosts: - host: immich.{BASE_FQDN} paths: - path: "/" tls: - secretName: immich-tls hosts: - immich.{BASE_FQDN} # Immich components machine-learning: enabled: true image: pullPolicy: Always persistence: cache: enabled: true size: 10Gi # Optional: Set this to pvc to avoid downloading the ML models every start. type: emptyDir accessMode: ReadWriteMany ``` ### Your .env content ```Shell Same as the previous content ``` ### Reproduction steps 1. Backup all the photos to iCloud & Immich 2. Open Immich to see if there are error photos 3. Try to delete those photos ... ### Relevant log output ```shell [Nest[] 18 - 08/28/2025, 11:30:22 AM LOG [Api:Bootstrap[] Immich Server is listening on http://[::1[]:2283 [v1.139.4[] [production] [Nest[] 18 - 08/28/2025, 11:30:28 AM LOG [Api:EventRepository] Websocket Connect: FO49O3-0cq780CQaAAAB [Nest[] 18 - 08/28/2025, 11:30:33 AM LOG [Api:EventRepository] Websocket Disconnect: FO49O3-0cq780CQaAAAB [Nest[] 18 - 08/28/2025, 11:30:33 AM LOG [Api:EventRepository] Websocket Connect: _c9iB8oLqK-eibHfAAAD [Nest[] 7 - 08/28/2025, 11:32:11 AM LOG [Microservices:TrashService] Queued 0 asset(s) for deletion from the trash [Nest[] 18 - 08/28/2025, 11:32:14 AM LOG [Api:EventRepository] Websocket Disconnect: _c9iB8oLqK-eibHfAAAD [Nest[] 18 - 08/28/2025, 11:32:14 AM LOG [Api:EventRepository] Websocket Connect: Tjdv-SY1VFjJ2l5oAAAF [Nest[] 18 - 08/28/2025, 11:32:30 AM LOG [Api:EventRepository] Websocket Disconnect: Tjdv-SY1VFjJ2l5oAAAF [Nest[] 18 - 08/28/2025, 11:32:30 AM LOG [Api:EventRepository] Websocket Connect: DE5pWPv2VfFfr3HpAAAH [Nest[] 7 - 08/28/2025, 11:33:23 AM LOG [Microservices:TrashService] Queued 0 asset(s) for deletion from the trash [Nest[] 18 - 08/28/2025, 11:33:25 AM LOG [Api:EventRepository] Websocket Disconnect: DE5pWPv2VfFfr3HpAAAH [Nest[] 18 - 08/28/2025, 11:33:26 AM LOG [Api:EventRepository] Websocket Connect: 7qWiv-yKR6yztAe4AAAJ [Nest[] 18 - 08/28/2025, 11:34:41 AM LOG [Api:EventRepository] Websocket Disconnect: 7qWiv-yKR6yztAe4AAAJ [Nest[] 18 - 08/28/2025, 11:35:03 AM LOG [Api:EventRepository] Websocket Connect: uSvVyFwRU4w6H_n5AAAL [Nest[] 18 - 08/28/2025, 11:36:06 AM LOG [Api:EventRepository] Websocket Connect: wacava5OPKSqdfzHAAAN [Nest[] 18 - 08/28/2025, 11:36:08 AM LOG [Api:EventRepository] Websocket Disconnect: wacava5OPKSqdfzHAAAN [Nest[] 18 - 08/28/2025, 11:36:26 AM LOG [Api:EventRepository] Websocket Connect: nYBHd_zVjCoOIlOmAAAP [Nest[] 18 - 08/28/2025, 11:38:38 AM LOG [Api:EventRepository] Websocket Disconnect: uSvVyFwRU4w6H_n5AAAL [Nest[] 18 - 08/28/2025, 11:38:39 AM LOG [Api:EventRepository] Websocket Connect: H37wxQGKdnYE8DqEAAAR [Nest[] 18 - 08/28/2025, 11:38:43 AM LOG [Api:EventRepository] Websocket Disconnect: H37wxQGKdnYE8DqEAAAR [Nest[] 18 - 08/28/2025, 11:38:43 AM LOG [Api:EventRepository] Websocket Connect: iLUw6UtLpA0Cmr6FAAAT [Nest[] 18 - 08/28/2025, 11:41:04 AM LOG [Api:EventRepository] Websocket Disconnect: nYBHd_zVjCoOIlOmAAAP [Nest[] 18 - 08/28/2025, 11:49:31 AM LOG [Api:EventRepository] Websocket Connect: XF9lFHh4mcUQmEOpAAAV [Nest[] 18 - 08/28/2025, 11:49:48 AM LOG [Api:EventRepository] Websocket Disconnect: XF9lFHh4mcUQmEOpAAAV [Nest[] 18 - 08/28/2025, 11:52:24 AM LOG [Api:EventRepository] Websocket Disconnect: iLUw6UtLpA0Cmr6FAAAT ``` ### Additional information _No response_
Author
Owner

@bo0tzz commented on GitHub (Aug 28, 2025):

  1. They probably don't have correct metadata
  2. https://immich.app/docs/administration/storage-template/
@bo0tzz commented on GitHub (Aug 28, 2025): 1. They probably don't have correct metadata 2. https://immich.app/docs/administration/storage-template/
Author
Owner

@FawenYo commented on GitHub (Aug 28, 2025):

Thanks! I had previously searched for this issue, but I used the wrong keywords and couldn't find it, so I ended up creating a duplicate :(
I've now checked the relevant issue and it looks like it hasn't been resolved yet, but I appreciate your contributions!

@FawenYo commented on GitHub (Aug 28, 2025): Thanks! I had previously searched for this issue, but I used the wrong keywords and couldn't find it, so I ended up creating a duplicate :( I've now checked the relevant issue and it looks like it hasn't been resolved yet, but I appreciate your contributions!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#7007