-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Description
I have searched the existing issues, both open and closed, to make sure this is not a duplicate report.
- Yes
The bug
Since updating to the beta timeline I my sync is not working properly anymore. It never hashed all assets and I get lots of errors like the one posted below.
After each recent release I have tried a combination of the following steps:
- Logging out and back in
- Clearing the file cache
- Resetting the SQLite Database
- Deleting and reinstalling the app
None of these steps resolved the issue, I still have a never ending hashing job (currently at 15972 of 61525 assets, not increasing).
Syncing does not work properly (ready for upload are 0) and the list of remainders is very high
iCloud Photos is enabled and "Optimize Storage" is enabled (meaning Immich needs to download them for hashing and syncing).
I looked at some similar tickets (notably #22407, #22248, #20899, #21022) but none of them seem to be the exact same issue.
Let me know if you need any further information or tests to investigate the issue.
The OS that Immich Server is running on
Ubuntu 24.10
Version of Immich Server
v2.0.0
Version of Immich Mobile App
v2.0.0 build.229
Platform with the issue
- Server
- Web
- Mobile
Device make and model
iPhone 16 Pro - iOS 26
Your docker-compose.yml content
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
- /mnt/mpb-filer/Media/Photos/Renders:/home/user/ext/renders:ro
- /mnt/mpb-filer/Media/Photos/Years:/home/user/ext/years:ro
- /mnt/mpb-filer/Media/Photos/Topics:/home/user/ext/topics:r
- /mnt/mpb-filer/Media/Photos/Import:/home/user/ext/import:ro
- /etc/localtime:/etc/localtime: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, 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: always
healthcheck:
disable: false
redis:
container_name: immich_redis
image: docker.io/valkey/valkey:8-bookworm@sha256:ff21bc0f8194dc9c105b769aeabf9585fea6a8ed649c0781caeac5cb3c247884
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
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
immich-public-proxy:
image: alangrainger/immich-public-proxy:latest
container_name: immich-public-proxy
restart: always
ports:
- "3003:3000"
environment:
- IMMICH_URL=http://immich_server:2283
healthcheck:
test: curl -s http://localhost:3003/share/healthcheck -o /dev/null || exit 1
start_period: 10s
timeout: 5s
depends_on:
- immich-server
volumes:
model-cache:
Your .env content
UPLOAD_LOCATION=/mnt/mpb-filer/Media/Photos/Immich
DB_DATA_LOCATION=/srv/docker/immich/postgres
TZ=Europe/Zurich
IMMICH_VERSION=release
DB_PASSWORD=postgres
DB_USERNAME=postgres
DB_DATABASE_NAME=immich
Reproduction steps
- Enable Sync
- Wait for assets to be synced
Relevant log output
Entries like this:
Failed to hash asset with id: E5D09705-01C3-4B5B-83FE-54654ADC5347/L0/001, name: D0BB77BE-3E5F-49B6-B9A2-D9D933717C22.JPG, createdAt: 2016-12-01 12:07:12.000Z, from album: Album Name. Error: Asset not found in library
And entries like this:
Failed to hash asset with id: 3DB65B0D-A958-433E-8DB3-E6BDFA90405B/L0/001, name: IMG_0418.JPG, createdAt: 2020-06-19 16:41:10.000Z, from album: Album Name. Error: Failed to hash asset: Der Vorgang konnte nicht abgeschlossen werden. (PHPhotosErrorDomain-Fehler 3169.)
Additional information
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status