-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Open
Description
I have searched the existing issues, both open and closed, to make sure this is not a duplicate report.
- Yes
The bug
I did some major moves of my external photo library files/folders, in addition to a cleanup, all outside of the immich app. So a lot of photos are now showing as not found in immich.
I went to 'Trash' (in Chrome/windows) and expected to be able to remove all of these from the immich DB using the 'Empty trash' button. This only deleted photos I had marked for deletion inside immich, non of the external library photos were removed from the DB.
I've found, however, that if I select multiple such photos and then click 'Permanently delete' this does indeed remove them, but there's too many photos for me to select them all in one go.
The OS that Immich Server is running on
Ubuntu 24.04.3 LTS
Version of Immich Server
v2.3.1
Version of Immich Mobile App
v2.3.1
Platform with the issue
- Server
- Web
- Mobile
Device make and model
n/a
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
- /mnt/home:/mnt/home
- ${UPLOAD_LOCATION}:/usr/src/app/upload
- /etc/localtime:/etc/localtime:ro
networks:
- web
- immich
env_file:
- .env
expose:
- 2283/tcp
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
networks:
- immich
volumes:
- model-cache:/cache
env_file:
- .env
restart: always
healthcheck:
disable: falseYour .env content
# 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=/mnt/home/Photos/immich
# 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/London
# 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=--REDACTED--
# The values below this line do not need to be changed
###################################################################################
DB_USERNAME=postgres
DB_DATABASE_NAME=immichReproduction steps
- Move/delete files in external library (outside of immich app) (and rescan library in immich)
- Go to 'Trash' in web browser
- Go 'Empty Trash'
- See no such files are deleted from the DB (for me I only have these such images left in my 'Trash' and when I go 'Empty Trash' it comes back 'Permanently deleted 0 assets')
Relevant log output
Additional information
No response
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
To triage