Changing date of multiple photo's does not work #7813

Closed
opened 2026-02-05 13:19:20 +03:00 by OVERLORD · 9 comments
Owner

Originally created by @HasseM on GitHub (Nov 12, 2025).

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

  • Yes

The bug

When selecting a group of photo's and doing 'change date', nothing happens. Sometimes a few photos change date. But mostly none.

The OS that Immich Server is running on

Synology NAS in a Docker container.

Version of Immich Server

2.2.3

Version of Immich Mobile App

latest

Platform with the issue

  • Server
  • Web
  • Mobile

Device make and model

No response

Your docker-compose.yml content

-

Your .env content

-

Reproduction steps

  1. Select about 23 photo's
  2. change date -> 1-1-1930, 00:00-:00.000
  3. wait..... nothing happens.
    ...

Relevant log output


Additional information

No response

Originally created by @HasseM on GitHub (Nov 12, 2025). ### I have searched the existing issues, both open and closed, to make sure this is not a duplicate report. - [x] Yes ### The bug When selecting a group of photo's and doing 'change date', nothing happens. Sometimes a few photos change date. But mostly none. ### The OS that Immich Server is running on Synology NAS in a Docker container. ### Version of Immich Server 2.2.3 ### Version of Immich Mobile App latest ### Platform with the issue - [x] Server - [x] Web - [ ] Mobile ### Device make and model _No response_ ### Your docker-compose.yml content ```YAML - ``` ### Your .env content ```Shell - ``` ### Reproduction steps 1. Select about 23 photo's 2. change date -> 1-1-1930, 00:00-:00.000 3. wait..... nothing happens. ... ### Relevant log output ```shell ``` ### Additional information _No response_
Author
Owner

@bo0tzz commented on GitHub (Nov 12, 2025):

Does refreshing the page help? Can you reproduce this on https://demo.immich.app ?

@bo0tzz commented on GitHub (Nov 12, 2025): Does refreshing the page help? Can you reproduce this on https://demo.immich.app ?
Author
Owner

@HasseM commented on GitHub (Nov 12, 2025):

Does refreshing the page help? Can you reproduce this on https://demo.immich.app ?

Almost the same behaviour but not completely the same.

  • The same: nothing seem to happen, photo's stay on the original position. (*1)
  • Different: After refreshing the page, the photo's moved in the demo version (=okay) but not in my Immich.

(*1) I have seen some move occasionally.

So, On my side, refreshing does not help as it does in the demo side.

Might be performance related as my Synology NAS is not really powerful.

@HasseM commented on GitHub (Nov 12, 2025): > Does refreshing the page help? Can you reproduce this on https://demo.immich.app ? Almost the same behaviour but not completely the same. - The same: nothing seem to happen, photo's stay on the original position. (*1) - Different: After refreshing the page, the photo's moved in the demo version (=okay) but not in my Immich. (*1) I have seen some move occasionally. So, On my side, refreshing does not help as it does in the demo side. Might be performance related as my Synology NAS is not really powerful.
Author
Owner

@bo0tzz commented on GitHub (Nov 12, 2025):

Please post your compose and .env as requested in the template, and the logs as well.

@bo0tzz commented on GitHub (Nov 12, 2025): Please post your compose and .env as requested in the template, and the logs as well.
Author
Owner

@HasseM commented on GitHub (Nov 13, 2025):

Please post your compose and .env as requested in the template, and the logs as well.

I'm sorry for that. Here you go:


ENV file


# You can find documentation for all the supported env variables at https://immich.app/docs/install/environment-variables

# The location where your uploaded files are stored
UPLOAD_LOCATION=./library

# The location where your database files are stored. Network shares are not supported for the database
DB_DATA_LOCATION=./postgres

# To set a timezone, uncomment the next line and change Etc/UTC to a TZ identifier from this list: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List
# TZ=Europe/Amsterdam

# The Immich version to use. You can pin this to a specific version like "v1.71.0"
IMMICH_VERSION=release

# Connection secret for postgres. You should change it to a random password
# Please use only the characters `A-Za-z0-9`, without special characters or spaces
DB_PASSWORD=****************

# The values below this line do not need to be changed
###################################################################################
DB_USERNAME=*********
DB_DATABASE_NAME=*********

COMPOSE FILE


#
# WARNING: To install Immich, follow our guide: https://immich.app/docs/install/docker-compose
#
# 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}
    # 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
      - /volume1/Photos:/Archive:ro


    env_file:
      - .env
    ports:
      - '2283:2283'
    depends_on:
      - redis
      - database
    restart: always
    healthcheck:
      disable: false

  immich-machine-learning:
    container_name: immich_machine_learning
    # For hardware acceleration, add one of -[armnn, cuda, rocm, openvino, rknn] 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, rocm, openvino, openvino-wsl, rknn] for accelerated inference - use the `-wsl` version for WSL2 where applicable
    volumes:
      - model-cache:/cache
    env_file:
      - .env
    restart: always
    healthcheck:
      disable: false

  redis:
    container_name: immich_redis
    image: docker.io/valkey/valkey:8-bookworm@sha256:ff27bc0f819adc9c1053369aeabf9585fea6a44d649c0781caeac5bb3c247c884
    healthcheck:
      test: redis-cli ping || exit 1
    restart: always

  database:
    container_name: immich_postgres
    image: ghcr.io/immich-app/postgres:14-vectorchord0.3.0-pgvectors0.2.0@sha256:fa4f6e0a71f454cd35fec5a9aaed24da3d8f46725cc6bc61e0698e94dca96da1
    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: always

volumes:
  model-cache:

Logs


Initializing Immich v2.2.3
Detected CPU Cores: 4
Starting api worker
Starting microservices worker
[Nest] 7  - 11/12/2025, 12:29:40 PM     LOG [Microservices:WebsocketRepository] Initialized websocket server
etc.etc.
[Nest] 7  - 11/13/2025, 2:00:00 AM     LOG [Microservices:BackupService] Database Backup Starting. Database Version: 14
[Nest] 7  - 11/13/2025, 2:01:57 AM     LOG [Microservices:BackupService] Database Backup Success
[Nest] 23  - 11/13/2025, 7:47:19 AM     LOG [Api:WebsocketRepository] Websocket Connect:    SbCmBTHHFo4QSAn3AAAL

The interesting part is that the warnings are around the photo's that I tried to change the date from....

Just refreshed the page and tried to change the date on one of those photos:

[Nest] 23  - 11/13/2025, 8:15:19 AM     LOG [Api:WebsocketRepository] Websocket Connect:    ZRcR8z58_vYW832RAAAN
[Nest] 7  - 11/13/2025, 8:17:08 AM    WARN [Microservices:MetadataRepository] Error writing exif data (/Archive/testdate.jpg.xmp): Error: Error creating file: /Archive/testdate.jpg.xmp

Strange.... in the web ui, I can just view those photo's without problems....

@HasseM commented on GitHub (Nov 13, 2025): > Please post your compose and .env as requested in the template, and the logs as well. I'm sorry for that. Here you go: ******** ENV file ******** ``` # You can find documentation for all the supported env variables at https://immich.app/docs/install/environment-variables # The location where your uploaded files are stored UPLOAD_LOCATION=./library # The location where your database files are stored. Network shares are not supported for the database DB_DATA_LOCATION=./postgres # To set a timezone, uncomment the next line and change Etc/UTC to a TZ identifier from this list: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List # TZ=Europe/Amsterdam # The Immich version to use. You can pin this to a specific version like "v1.71.0" IMMICH_VERSION=release # Connection secret for postgres. You should change it to a random password # Please use only the characters `A-Za-z0-9`, without special characters or spaces DB_PASSWORD=**************** # The values below this line do not need to be changed ################################################################################### DB_USERNAME=********* DB_DATABASE_NAME=********* ``` ************** COMPOSE FILE ************** ``` # # WARNING: To install Immich, follow our guide: https://immich.app/docs/install/docker-compose # # 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} # 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 - /volume1/Photos:/Archive:ro env_file: - .env ports: - '2283:2283' depends_on: - redis - database restart: always healthcheck: disable: false immich-machine-learning: container_name: immich_machine_learning # For hardware acceleration, add one of -[armnn, cuda, rocm, openvino, rknn] 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, rocm, openvino, openvino-wsl, rknn] for accelerated inference - use the `-wsl` version for WSL2 where applicable volumes: - model-cache:/cache env_file: - .env restart: always healthcheck: disable: false redis: container_name: immich_redis image: docker.io/valkey/valkey:8-bookworm@sha256:ff27bc0f819adc9c1053369aeabf9585fea6a44d649c0781caeac5bb3c247c884 healthcheck: test: redis-cli ping || exit 1 restart: always database: container_name: immich_postgres image: ghcr.io/immich-app/postgres:14-vectorchord0.3.0-pgvectors0.2.0@sha256:fa4f6e0a71f454cd35fec5a9aaed24da3d8f46725cc6bc61e0698e94dca96da1 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: always volumes: model-cache: ``` ***** Logs ***** ``` Initializing Immich v2.2.3 Detected CPU Cores: 4 Starting api worker Starting microservices worker [Nest] 7 - 11/12/2025, 12:29:40 PM LOG [Microservices:WebsocketRepository] Initialized websocket server etc.etc. [Nest] 7 - 11/13/2025, 2:00:00 AM LOG [Microservices:BackupService] Database Backup Starting. Database Version: 14 [Nest] 7 - 11/13/2025, 2:01:57 AM LOG [Microservices:BackupService] Database Backup Success [Nest] 23 - 11/13/2025, 7:47:19 AM LOG [Api:WebsocketRepository] Websocket Connect: SbCmBTHHFo4QSAn3AAAL ``` The interesting part is that the warnings are around the photo's that I tried to change the date from.... Just refreshed the page and tried to change the date on one of those photos: ``` [Nest] 23 - 11/13/2025, 8:15:19 AM LOG [Api:WebsocketRepository] Websocket Connect: ZRcR8z58_vYW832RAAAN [Nest] 7 - 11/13/2025, 8:17:08 AM WARN [Microservices:MetadataRepository] Error writing exif data (/Archive/testdate.jpg.xmp): Error: Error creating file: /Archive/testdate.jpg.xmp ``` Strange.... in the web ui, I can just view those photo's without problems....
Author
Owner

@bo0tzz commented on GitHub (Nov 13, 2025):

Your external libraries are mounted readonly, that's why editing doesn't work.

@bo0tzz commented on GitHub (Nov 13, 2025): Your external libraries are mounted readonly, that's why editing doesn't work.
Author
Owner

@HasseM commented on GitHub (Nov 13, 2025):

Your external libraries are mounted readonly, that's why editing doesn't work.

Well, yes, and that has obvious reasons. I don't think anyone would like their original photos to be changed..... I expect Immich to have a separate meta data file that can overrule the metadata from the photos. Isn't that the case?

@HasseM commented on GitHub (Nov 13, 2025): > Your external libraries are mounted readonly, that's why editing doesn't work. Well, yes, and that has obvious reasons. I don't think anyone would like their original photos to be changed..... I expect Immich to have a separate meta data file that can overrule the metadata from the photos. Isn't that the case?
Author
Owner

@bo0tzz commented on GitHub (Nov 13, 2025):

It does write edits to a separate XMP file, but that still needs to live next to the original.

@bo0tzz commented on GitHub (Nov 13, 2025): It does write edits to a separate XMP file, but that still needs to live next to the original.
Author
Owner

@HasseM commented on GitHub (Nov 13, 2025):

It does write edits to a separate XMP file, but that still needs to live next to the original.

Ah, that explains indeed. Are there any plans for a separate XMP folder? Or else what is the proposed and advised solution for this? a) just remove the ':ro' from my volumes in the compose file b) create a persistent symlink for .xmp files or c) .... something else

@HasseM commented on GitHub (Nov 13, 2025): > It does write edits to a separate XMP file, but that still needs to live next to the original. Ah, that explains indeed. Are there any plans for a separate XMP folder? Or else what is the proposed and advised solution for this? a) just remove the ':ro' from my volumes in the compose file b) create a persistent symlink for .xmp files or c) .... something else
Author
Owner

@bo0tzz commented on GitHub (Nov 13, 2025):

There are no such plans, they're sidecar files so putting them anywhere else doesn't make sense. If you want edits then the supported way is to not mount readonly, yes.

@bo0tzz commented on GitHub (Nov 13, 2025): There are no such plans, they're sidecar files so putting them anywhere else doesn't make sense. If you want edits then the supported way is to not mount readonly, yes.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#7813