immich
immich copied to clipboard
partner sharing photos trigger error when trying to put into a locked folder
I have searched the existing issues, both open and closed, to make sure this is not a duplicate report.
- [x] Yes
The bug
Hi, this is a little bit related to #18587 but is a very different thing.
I see photos shared by partner. When I try to put them in a locked folder I see
Error Not found or no asset.update access (Immich Server Error)
I imagine that this is not supported but perhaps a more user friendly error message would be due as selecting photos it is not obvious which ones are partner shares and which are not.
So I would suggest 2 kind of fixes/improvements:
- lock the images that can be locked and for the rest, show a proper error message explaining why they are not
- support locked images sharing between accounts
I'm not sure how the latter can be implemented. Ideally though it should be possible to have shared locked albums. Photos that are not visible in timeline but visible to user and the accounts user shared with.
The OS that Immich Server is running on
Fedora 42
Version of Immich Server
v1.134.0
Version of Immich Mobile App
v1.134.0
Platform with the issue
- [x] Server
- [x] Web
- [ ] Mobile
Your docker-compose.yml content
I have converted the compose items into systemd services. Using quadlet for a systemd user services with rootless podman. But basically it is the v1.121.0 version of the compose converted with some a little change in how postgres env variables are handled (but the database works fine, it is accessible and shows healthy check status).
;/etc/containers/systemd/users/1002/immich-redis.container
[Container]
ContainerName=immich_redis
Network=immich
NetworkAlias=redis
HealthCmd=redis-cli ping || exit 1
Image=docker.io/valkey/valkey:8-bookworm@sha256:42cba146593a5ea9a622002c1b7cba5da7be248650cbb64ecb9c6c33d29794b1
[Service]
TimeoutStartSec=900
Restart=always
;/etc/containers/systemd/users/1002/immich-pgsql.container
[Container]
ContainerName=immich_postgres
Environment=POSTGRES_INITDB_ARGS=--data-checksums
EnvironmentFile=/media/toshsec/containers_services_data/immich/pgsql.env
Network=immich
NetworkAlias=postgres
Image=ghcr.io/immich-app/postgres:14-vectorchord0.3.0-pgvectors0.2.0
Volume=/media/toshsec/containers_services_data/immich/postgresql/data:/var/lib/postgresql/data,Z
[Service]
TimeoutStartSec=900
Restart=always
/etc/containers/systemd/users/1002/immich-machine-learning.container
[Container]
ContainerName=immich_machine_learning
Image=ghcr.io/immich-app/immich-machine-learning:v1.134.0-openvino
GroupAdd=keep-groups
AddDevice=/dev/dri:/dev/dri
Network=immich,podman
DNS=none
NetworkAlias=immich-machine-learning
Volume=immich-model-cache.volume:/cache
[Service]
TimeoutStartSec=900
Restart=always
;/etc/containers/systemd/users/1002/immich-server.container
[Unit]
Requires=immich-redis.service immich-pgsql.service
After=immich-redis.service immich-pgsql.service
Wants=immich-machine-learning
[Container]
ContainerName=immich_server
EnvironmentFile=/media/toshsec/containers_services_data/immich/immich.env
Image=ghcr.io/immich-app/immich-server:v1.134.0
PublishPort=8102:2283
Network=immich
StopTimeout=900
GroupAdd=keep-groups
AddDevice=/dev/dri:/dev/dri
Volume=/media/toshsec/containers_services_data/immich/library:/usr/src/app/upload:Z
Volume=/etc/localtime:/etc/localtime:ro
[Install]
WantedBy=multi-user.target default.target
[Service]
TimeoutStartSec=900
TimeoutStopSec=950
Restart=always
Your .env content
#immich.env
DB_PASSWORD=REDACTED
DB_HOSTNAME=postgres
DB_USERNAME=postgres
DB_DATABASE_NAME=immich
#pgsql.env
POSTGRES_PASSWORD=REDACTED
POSTGRES_USER=postgres
POSTGRES_DB=immich
Reproduction steps
- select images to add to locked folder (some or all must be partner shared)
- click to add them
Relevant log output
Additional information
No response