-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Description
I have searched the existing issues, both open and closed, to make sure this is not a duplicate report.
- Yes
The bug
When I want to update the contents of a shared link by deleting some pictures everything seems fine, and the view gets updated by removing the said pictures. But when reloading the page it goes back to the state where it was before.
When viewing the link contents from an unauthenticated session nothing changes there either.
When checking docker compose logs no new log entries appeared during the process.
The OS that Immich Server is running on
Debian 12
Version of Immich Server
v1.142.1
Version of Immich Mobile App
v1.142.1
Platform with the issue
- Server
- Web
- Mobile
Device make and model
No response
Your docker-compose.yml content
#
# 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}
volumes:
- ${UPLOAD_LOCATION}:/usr/src/app/upload
- /etc/localtime:/etc/localtime:ro
env_file:
- .env
#ports:
# - 2283:2283
depends_on:
- redis
- database
restart: always
networks:
- default
- proxy
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
redis:
container_name: immich_redis
image: registry.hub.docker.com/library/redis:6.2-alpine@sha256:84882e87b54734154586e5f8abd4dce69fe7311315e2fc6d67c29614c8de2672
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-checksum'
DB_STORAGE_TYPE: 'HDD'
volumes:
- ${DB_DATA_LOCATION}:/var/lib/postgresql/data
restart: always
volumes:
model-cache:
networks:
default:
proxy:
name: reverse_proxy
external: true
Your .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=./library
# The location where your database files are stored
DB_DATA_LOCATION=./postgres
# 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
DB_PASSWORD=<redacted>
# The values below this line do not need to be changed
###################################################################################
DB_USERNAME=postgres
DB_DATABASE_NAME=immich
Reproduction steps
- Start a web app session
- Select a few pictures
- Click on the share icon on the top right to create a new link to share
- Create link with the default settings
- Go to the shared link in the authenticated session
- Select one or more pictures and press on the trash icon that appeared on the top right to delete the selected pictures
- Notice that deletion seemed successfull
- Reload page
- Notice that the state reverted to the same as it was before the deletion...
Relevant log output
# Request as fetch command, copied from browser development tools network tab
fetch("https://immich.myserver.com/api/shared-links/817657e6-1386-431e-89a4-e377611638f6/assets?key=D7AkwJd0WznuZZYpZsZpWArNYqgXCOOLJILaA72BY06cHKt0CEMIbMxWHatwwFrRNwc", {
"headers": {
"accept": "application/json",
"accept-language": "de;q=0.5",
"cache-control": "no-cache",
"content-type": "application/json",
"pragma": "no-cache",
"priority": "u=1, i",
"sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Brave\";v=\"140\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Linux\"",
"sec-fetch-dest": "empty",
"sec-fetch-mode": "cors",
"sec-fetch-site": "same-origin",
"sec-gpc": "1"
},
"referrer": "https://immich.myserver.com/share/D7AkwJd0WznuZZYpZsZpWArNYqgXCOOLJILaA72BY06cHKt0CEMIbMxWHatwwFrRNwc",
"body": "{\"assetIds\":[\"26865f94-798b-4989-b5e5-aaf676b87c14\"]}",
"method": "DELETE",
"mode": "cors",
"credentials": "include"
});
# Response
[{"assetId":"26865f94-798b-4989-b5e5-aaf676b87c14","success":true}]
Additional information
No response
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Ready