iOS - New Timeline shows MOV (and some HEIC) files needs to be uploaded but Old timeline shows that everything is up to date #6937

Open
opened 2026-02-20 04:18:00 -05:00 by deekerman · 8 comments
Owner

Originally created by @holas1337 on GitHub (Oct 2, 2025).

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

  • Yes

The bug

On iPhone 12 using 1.144.1

The Old timeline - shows all up to date and all is there (I can see all assets using web)

The new timeline - shows that probably all videos (MOV) files needs to be uploaded + 1 HEIC file.
The files are there as I can see them on mobile as uploaded but not on the device (duplicates?).
I can also see them on the web.
I have tried log out and log in. Restart a phone etc. Also tried to unselect and select albums + multiple app restarts but it did not helped.

I use iCloud with optimize storage option on to also store photos.

Switching back to old timeline shows that all is ok.

Old timeline
Image

New timeline (there are 2 images more - screenshots of timelines)
Image

I have updated today morning to 2.0.0 (server and the app) but there is no way to switch to new timeline so I cannot check if this fixed anything ;)
https://github.com/immich-app/immich/issues/22568

The OS that Immich Server is running on

Raspberry Pi 5 8GB with Raspberry Pi OS - Linux rpi 6.12.47+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.12.47-1+rpt1~bookworm (2025-09-16) aarch64 GNU/Linux

Version of Immich Server

1.144.1

Version of Immich Mobile App

1.144.1

Platform with the issue

  • Server
  • Web
  • Mobile

Device make and model

iPhone 12 iOS 18.7.1

Your docker-compose.yml content

File from the release: https://github.com/immich-app/immich/releases/download/v1.144.1/docker-compose.yml

Overridden by `docker-compose.override.yml` file

services:
  immich-server:
    restart: ${RESTART}
    networks:
      - web
      - default
    user: "${UID}:${GID}"
    labels:
      - traefik.enable=true
      - traefik.http.services.immich.loadbalancer.server.port=2283
      - traefik.http.routers.immich.rule=Host(`${URL}`)
      - traefik.http.routers.immich.entrypoints=websecure
      - traefik.http.routers.immich.tls.certresolver=${CERTRESOLVER}
      - traefik.http.routers.immich.tls=true
      - traefik.docker.network=web
      ### basic auth
      #- traefik.http.middlewares.auth-immich.basicauth.users=${BASIC_AUTH_USER}:${BASIC_AUTH_PASSWORD}
      #- traefik.http.middlewares.auth-immich.basicauth.removeheader=true
      ### enable auth and gzip middlewares
      - traefik.http.routers.immich.middlewares=gzip
      #- traefik.http.routers.immich.middlewares=auth-immich,gzip

  immich-machine-learning:
    volumes:
      - ${APP_MODEL_CACHE_LOCATION}:/cache
    restart: ${RESTART}
    networks:
      - default

  redis:
    restart: ${RESTART}
    networks:
      - default

  database:
    restart: ${RESTART}
    networks:
      - default

networks:
    default:
    web:
        external: true

Your .env content

# App settings
# APP_VERSION=release
APP_VERSION=v2.0.0
APP_UPLOAD_LOCATION=./web/library
APP_DB_DATA_LOCATION=./data/postgres
APP_MODEL_CACHE_LOCATION=./data/model_cache

# Site URL
URL=my.site.pl

# Certificate Resolver
CERTRESOLVER=le
# CERTRESOLVER=dummy

# Basic Auth user/password - https://8gwifi.org/htpasswd.jsp
BASIC_AUTH_USER=user
BASIC_AUTH_PASSWORD=PASS

# Docker User Settings - type `id` to get
UID=1000
GID=1000

# Restart containers (no | always | on-failure | unless-stopped)
RESTART=always

# Autoupdate Containers
AUTO_UPDATE=1

# Backup variables
BCK_FILES_DIRS=web
BCK_FILES_OLD_NUMBER=7
BCK_DB_OLD_NUMBER=30
BCK_UPLOAD=1

### >>> Immich ENV
# 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=${APP_UPLOAD_LOCATION}
# The location where your database files are stored
DB_DATA_LOCATION=${APP_DB_DATA_LOCATION}

# 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=Etc/UTC

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

# 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=postgres

# The values below this line do not need to be changed
###################################################################################
DB_USERNAME=postgres
DB_DATABASE_NAME=immich
### <<< Immich ENV

Reproduction steps

...

Relevant log output

There is no error and warning logs.

Additional information

No response

Originally created by @holas1337 on GitHub (Oct 2, 2025). ### I have searched the existing issues, both open and closed, to make sure this is not a duplicate report. - [x] Yes ### The bug On iPhone 12 using 1.144.1 The Old timeline - shows all up to date and all is there (I can see all assets using web) The new timeline - shows that probably all videos (MOV) files needs to be uploaded + 1 HEIC file. The files are there as I can see them on mobile as uploaded but not on the device (duplicates?). I can also see them on the web. I have tried log out and log in. Restart a phone etc. Also tried to unselect and select albums + multiple app restarts but it did not helped. I use iCloud with optimize storage option on to also store photos. Switching back to old timeline shows that all is ok. Old timeline ![Image](https://github.com/user-attachments/assets/9d0028de-90a2-426e-a978-4c2c8e99caf4) New timeline (there are 2 images more - screenshots of timelines) ![Image](https://github.com/user-attachments/assets/dbfede87-5712-4376-b628-a3936ea7ae54) I have updated today morning to 2.0.0 (server and the app) but there is no way to switch to new timeline so I cannot check if this fixed anything ;) https://github.com/immich-app/immich/issues/22568 ### The OS that Immich Server is running on Raspberry Pi 5 8GB with Raspberry Pi OS - Linux rpi 6.12.47+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.12.47-1+rpt1~bookworm (2025-09-16) aarch64 GNU/Linux ### Version of Immich Server 1.144.1 ### Version of Immich Mobile App 1.144.1 ### Platform with the issue - [ ] Server - [ ] Web - [x] Mobile ### Device make and model iPhone 12 iOS 18.7.1 ### Your docker-compose.yml content ```YAML File from the release: https://github.com/immich-app/immich/releases/download/v1.144.1/docker-compose.yml Overridden by `docker-compose.override.yml` file services: immich-server: restart: ${RESTART} networks: - web - default user: "${UID}:${GID}" labels: - traefik.enable=true - traefik.http.services.immich.loadbalancer.server.port=2283 - traefik.http.routers.immich.rule=Host(`${URL}`) - traefik.http.routers.immich.entrypoints=websecure - traefik.http.routers.immich.tls.certresolver=${CERTRESOLVER} - traefik.http.routers.immich.tls=true - traefik.docker.network=web ### basic auth #- traefik.http.middlewares.auth-immich.basicauth.users=${BASIC_AUTH_USER}:${BASIC_AUTH_PASSWORD} #- traefik.http.middlewares.auth-immich.basicauth.removeheader=true ### enable auth and gzip middlewares - traefik.http.routers.immich.middlewares=gzip #- traefik.http.routers.immich.middlewares=auth-immich,gzip immich-machine-learning: volumes: - ${APP_MODEL_CACHE_LOCATION}:/cache restart: ${RESTART} networks: - default redis: restart: ${RESTART} networks: - default database: restart: ${RESTART} networks: - default networks: default: web: external: true ``` ### Your .env content ```Shell # App settings # APP_VERSION=release APP_VERSION=v2.0.0 APP_UPLOAD_LOCATION=./web/library APP_DB_DATA_LOCATION=./data/postgres APP_MODEL_CACHE_LOCATION=./data/model_cache # Site URL URL=my.site.pl # Certificate Resolver CERTRESOLVER=le # CERTRESOLVER=dummy # Basic Auth user/password - https://8gwifi.org/htpasswd.jsp BASIC_AUTH_USER=user BASIC_AUTH_PASSWORD=PASS # Docker User Settings - type `id` to get UID=1000 GID=1000 # Restart containers (no | always | on-failure | unless-stopped) RESTART=always # Autoupdate Containers AUTO_UPDATE=1 # Backup variables BCK_FILES_DIRS=web BCK_FILES_OLD_NUMBER=7 BCK_DB_OLD_NUMBER=30 BCK_UPLOAD=1 ### >>> Immich ENV # 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=${APP_UPLOAD_LOCATION} # The location where your database files are stored DB_DATA_LOCATION=${APP_DB_DATA_LOCATION} # 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=Etc/UTC # The Immich version to use. You can pin this to a specific version like "v1.71.0" #IMMICH_VERSION=release IMMICH_VERSION=${APP_VERSION} # 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=postgres # The values below this line do not need to be changed ################################################################################### DB_USERNAME=postgres DB_DATABASE_NAME=immich ### <<< Immich ENV ``` ### Reproduction steps 1. 2. 3. ... ### Relevant log output ```shell There is no error and warning logs. ``` ### Additional information _No response_
Author
Owner

@bo0tzz commented on GitHub (Oct 2, 2025):

What does it do if you let it try to upload those?

@bo0tzz commented on GitHub (Oct 2, 2025): What does it do if you let it try to upload those?
Author
Owner

@holas1337 commented on GitHub (Oct 2, 2025):

What does it do if you let it try to upload those?

It is some bug so I have created the issue.
I have 57 items but someone else can have 57 000 items like this.
Also until we know why we don’t know if it will happen again etc

Also when I tap it does not go to the asset in the timeline so It is hard to locate them to remove uploaded.

Additionally as now the time switch is missing I am on the Old Timeline ;)

@holas1337 commented on GitHub (Oct 2, 2025): > What does it do if you let it try to upload those? It is some bug so I have created the issue. I have 57 items but someone else can have 57 000 items like this. Also until we know why we don’t know if it will happen again etc Also when I tap it does not go to the asset in the timeline so It is hard to locate them to remove uploaded. Additionally as now the time switch is missing I am on the Old Timeline ;)
Author
Owner

@bo0tzz commented on GitHub (Oct 2, 2025):

That doesn't answer my question.

@bo0tzz commented on GitHub (Oct 2, 2025): That doesn't answer my question.
Author
Owner

@holas1337 commented on GitHub (Oct 3, 2025):

That doesn't answer my question.

As I wrote above as in 2.0.0 timeline switch is missing I cannot check and I am stuck on the old one

@holas1337 commented on GitHub (Oct 3, 2025): > That doesn't answer my question. As I wrote above as in 2.0.0 timeline switch is missing I cannot check and I am stuck on the old one
Author
Owner

@bo0tzz commented on GitHub (Oct 3, 2025):

Then is this a dupe of #22582?

@bo0tzz commented on GitHub (Oct 3, 2025): Then is this a dupe of #22582?
Author
Owner

@holas1337 commented on GitHub (Oct 3, 2025):

No it is not a duplicate, I just mentioned it as because of missing switch I cannot check if the problem is still there on the newest version.
I wrote about this in the original description.

I have updated today morning to 2.0.0 (server and the app) but there is no way to switch to new timeline so I cannot check if this fixed anything ;)
https://github.com/immich-app/immich/issues/22568

The issue is about new timeline wanting to upload assets that are already there and all I working well in the old timeline.

@holas1337 commented on GitHub (Oct 3, 2025): No it is not a duplicate, I just mentioned it as because of missing switch I cannot check if the problem is still there on the newest version. I wrote about this in the original description. > I have updated today morning to 2.0.0 (server and the app) but there is no way to switch to new timeline so I cannot check if this fixed anything ;) https://github.com/immich-app/immich/issues/22568 The issue is about new timeline wanting to upload assets that are already there and all I working well in the old timeline.
Author
Owner

@holas1337 commented on GitHub (Oct 6, 2025):

As now in 2.0.1 I can switch again between new and old timeline I have switched to the new timeline and checked all one by one.

Most of the videos were exactly the same so I simply uploaded again and remove the one on the server.

There were two strange cases though.

Some videos on the new timeline that were on the serwer was displayed with wrong orientation (correct on the old one) and the file not uploaded was ok - I reuploaded them and removed the ones on the serwer.

Some of slow motion videos on the server were without slow motion and the one marked as not uploaded was with it. No idea how it was on the old timeline as there were 3 of them so I reuploaded them and removed those that were on the server.

Anyway now it looks ok but manually going and checking/uploading 57 files took me around 30-40 minutes.
If someone has several hundred of those then well good luck.

@holas1337 commented on GitHub (Oct 6, 2025): As now in 2.0.1 I can switch again between new and old timeline I have switched to the new timeline and checked all one by one. Most of the videos were exactly the same so I simply uploaded again and remove the one on the server. There were two strange cases though. Some videos on the new timeline that were on the serwer was displayed with wrong orientation (correct on the old one) and the file not uploaded was ok - I reuploaded them and removed the ones on the serwer. Some of slow motion videos on the server were without slow motion and the one marked as not uploaded was with it. No idea how it was on the old timeline as there were 3 of them so I reuploaded them and removed those that were on the server. Anyway now it looks ok but manually going and checking/uploading 57 files took me around 30-40 minutes. If someone has several hundred of those then well good luck.
Author
Owner

@bizottodbt commented on GitHub (Dec 21, 2025):

I also have this issue in iOS. The issue started happening way before (sorry don't recall the exact version)

Currently running:
Server version: 2.4.1
App version: 2.4.1 build.239

OLD TIMELINE
Image

NEW TIMELINE
Image

@bo0tzz the issue first happened in version 1.x.x (sorry, don't recall the exact version) I then upgraded to 2.x.x (same here) and the issue persisted, so I let it sync again all my photos (it took some time as you can see by the number of items). It was good for a while and the pictures did not duplicate, what is great, but then it started happening again, and out of a sudden I had 20k+ photos to be backed up, that was when I upgraded to 2.4.1 and found this issue.

I also noticed now, when I turn the new timeline, the pictures are being duplicated in the timeline, what worries me, for example:

OLD TIMELINE:
Image

NEW TIMELINE:
Image

Here are my env and compose files:

# 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
# Bulk data lives in the array
UPLOAD_LOCATION=/mnt/user/media/immich/library/upload
ENCODED_LOCATION=/mnt/user/media/immich/library/encoded-video

#thumbnails and others live in the cache
BACKUPS_LOCATION=/mnt/user/services/immich/library/backups
LIBRARY_LOCATION=/mnt/user/services/immich/library/library
PROFILE_LOCATION=/mnt/user/services/immich/library/profile
THUMBS_LOCATION=/mnt/user/services/immich/library/thumbs

# The location where your database files are stored
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/Stockholm

# 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=postgres
DB_DATABASE_NAME=immich
#
# 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}
    # extends:
    #   file: hwaccel.transcoding.yml
    #   service: cpu # set to one of [nvenc, quicksync, rkmpp, vaapi, vaapi-wsl] for accelerated transcoding
    devices:
      - /dev/dri:/dev/dri # required for vaapi and quicksync
    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/upload
      - ${ENCODED_LOCATION}:/usr/src/app/upload/encoded-video
      - ${BACKUPS_LOCATION}:/usr/src/app/upload/backups
      - ${LIBRARY_LOCATION}:/usr/src/app/upload/library
      - ${PROFILE_LOCATION}:/usr/src/app/upload/profile
      - ${THUMBS_LOCATION}:/usr/src/app/upload/thumbs
      - /etc/localtime:/etc/localtime:ro
    env_file:
      - .env
    ports:
      - '2283:2283'
    depends_on:
      - redis
      - database
    restart: unless-stopped
    healthcheck:
      disable: false

  immich-machine-learning:
    container_name: immich_machine_learning
    # 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:
      - .env
    restart: unless-stopped
    healthcheck:
      disable: false

  redis:
    container_name: immich_redis
    image: docker.io/redis:6.2-alpine@sha256:905c4ee67b8e0aa955331960d2aa745781e6bd89afc44a8584bfd13bc890f0ae
    healthcheck:
      test: redis-cli ping || exit 1
    restart: always

  database:
    container_name: immich_postgres
    image: docker.io/tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0
    environment:
      POSTGRES_PASSWORD: ${DB_PASSWORD}
      POSTGRES_USER: ${DB_USERNAME}
      POSTGRES_DB: ${DB_DATABASE_NAME}
      POSTGRES_INITDB_ARGS: '--data-checksums'
    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
    healthcheck:
      test: >-
        pg_isready --dbname="$${POSTGRES_DB}" --username="$${POSTGRES_USER}" || exit 1;
        Chksum="$$(psql --dbname="$${POSTGRES_DB}" --username="$${POSTGRES_USER}" --tuples-only --no-align
        --command='SELECT COALESCE(SUM(checksum_failures), 0) FROM pg_stat_database')";
        echo "checksum failure count is $$Chksum";
        [ "$$Chksum" = '0' ] || exit 1
      interval: 5m
      start_interval: 30s
      start_period: 5m
    command: >-
      postgres
      -c shared_preload_libraries=vectors.so
      -c 'search_path="$$user", public, vectors'
      -c logging_collector=on
      -c max_wal_size=2GB
      -c shared_buffers=512MB
      -c wal_compression=on
    restart: always


volumes:
  model-cache:

Thanks for all your help!! :)

@bizottodbt commented on GitHub (Dec 21, 2025): I also have this issue in iOS. The issue started happening way before (sorry don't recall the exact version) Currently running: Server version: 2.4.1 App version: 2.4.1 build.239 **OLD TIMELINE** <img width="660" height="1434" alt="Image" src="https://github.com/user-attachments/assets/70736610-08d1-4f1d-912a-41bc0e4b6f8c" /> **NEW TIMELINE** <img width="660" height="1434" alt="Image" src="https://github.com/user-attachments/assets/46c7a041-7504-4e26-a789-d02cdbfe795e" /> @bo0tzz the issue first happened in version 1.x.x (sorry, don't recall the exact version) I then upgraded to 2.x.x (same here) and the issue persisted, so I let it sync again all my photos (it took some time as you can see by the number of items). It was good for a while and the pictures did not duplicate, what is great, but then it started happening again, and out of a sudden I had 20k+ photos to be backed up, that was when I upgraded to 2.4.1 and found this issue. I also noticed now, when I turn the new timeline, the pictures are being duplicated in the timeline, what worries me, for example: **OLD TIMELINE**: <img width="330" height="243" alt="Image" src="https://github.com/user-attachments/assets/c80e6d61-6c0f-4f56-b15f-c0a482747881" /> **NEW TIMELINE**: <img width="660" height="255" alt="Image" src="https://github.com/user-attachments/assets/c1e650f4-e595-4da8-a9be-744c9884ee08" /> Here are my env and compose files: ```bash # 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 # Bulk data lives in the array UPLOAD_LOCATION=/mnt/user/media/immich/library/upload ENCODED_LOCATION=/mnt/user/media/immich/library/encoded-video #thumbnails and others live in the cache BACKUPS_LOCATION=/mnt/user/services/immich/library/backups LIBRARY_LOCATION=/mnt/user/services/immich/library/library PROFILE_LOCATION=/mnt/user/services/immich/library/profile THUMBS_LOCATION=/mnt/user/services/immich/library/thumbs # The location where your database files are stored 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/Stockholm # 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=postgres DB_DATABASE_NAME=immich ``` ```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} # extends: # file: hwaccel.transcoding.yml # service: cpu # set to one of [nvenc, quicksync, rkmpp, vaapi, vaapi-wsl] for accelerated transcoding devices: - /dev/dri:/dev/dri # required for vaapi and quicksync 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/upload - ${ENCODED_LOCATION}:/usr/src/app/upload/encoded-video - ${BACKUPS_LOCATION}:/usr/src/app/upload/backups - ${LIBRARY_LOCATION}:/usr/src/app/upload/library - ${PROFILE_LOCATION}:/usr/src/app/upload/profile - ${THUMBS_LOCATION}:/usr/src/app/upload/thumbs - /etc/localtime:/etc/localtime:ro env_file: - .env ports: - '2283:2283' depends_on: - redis - database restart: unless-stopped healthcheck: disable: false immich-machine-learning: container_name: immich_machine_learning # 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: - .env restart: unless-stopped healthcheck: disable: false redis: container_name: immich_redis image: docker.io/redis:6.2-alpine@sha256:905c4ee67b8e0aa955331960d2aa745781e6bd89afc44a8584bfd13bc890f0ae healthcheck: test: redis-cli ping || exit 1 restart: always database: container_name: immich_postgres image: docker.io/tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0 environment: POSTGRES_PASSWORD: ${DB_PASSWORD} POSTGRES_USER: ${DB_USERNAME} POSTGRES_DB: ${DB_DATABASE_NAME} POSTGRES_INITDB_ARGS: '--data-checksums' 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 healthcheck: test: >- pg_isready --dbname="$${POSTGRES_DB}" --username="$${POSTGRES_USER}" || exit 1; Chksum="$$(psql --dbname="$${POSTGRES_DB}" --username="$${POSTGRES_USER}" --tuples-only --no-align --command='SELECT COALESCE(SUM(checksum_failures), 0) FROM pg_stat_database')"; echo "checksum failure count is $$Chksum"; [ "$$Chksum" = '0' ] || exit 1 interval: 5m start_interval: 30s start_period: 5m command: >- postgres -c shared_preload_libraries=vectors.so -c 'search_path="$$user", public, vectors' -c logging_collector=on -c max_wal_size=2GB -c shared_buffers=512MB -c wal_compression=on restart: always volumes: model-cache: ``` Thanks for all your help!! :)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/immich#6937
No description provided.