Errors when deleting Photos / Videos

✅ Selecting a single image on the Photos tab and deleting works successfully. ❌ Selecting multiple images on the Photos tab and deleting gives me the below error. Photos do not delete.
Error
Forbidden
(Immich Server Error)
Error
Forbidden
(Immich Server Error)
❌ Click on an image to view it, select the delete button and it gives me the below error. Photos do delete despite receiving an error.
Error
Error deleting this asset, check console for more details
Error
Error deleting this asset, check console for more details
I am struggling to find where any logs are stored, and not seeing any details in any of the docker container consoles. OS: UnRaid
8 Replies
MattFaz
MattFazOP2y ago
Docker Compose file:
version: "3.8"

services:
immich-server:
container_name: immich_server
image: ghcr.io/immich-app/immich-server:release
entrypoint: ["/bin/sh", "./start-server.sh"]
volumes:
- ${UPLOAD_LOCATION}:/usr/src/app/upload
env_file:
- .env
environment:
- NODE_ENV=production
depends_on:
- redis
- typesense
restart: always

immich-microservices:
container_name: immich_microservices
image: ghcr.io/immich-app/immich-server:release
entrypoint: ["/bin/sh", "./start-microservices.sh"]
volumes:
- ${UPLOAD_LOCATION}:/usr/src/app/upload
env_file:
- .env
environment:
- NODE_ENV=production
depends_on:
- redis
- typesense
restart: always

immich-machine-learning:
container_name: immich_machine_learning
image: ghcr.io/immich-app/immich-machine-learning:release
volumes:
- ${UPLOAD_LOCATION}:/usr/src/app/upload
- model-cache:/cache
env_file:
- .env
environment:
- NODE_ENV=production
restart: always

immich-web:
container_name: immich_web
image: ghcr.io/immich-app/immich-web:release
entrypoint: ["/bin/sh", "./entrypoint.sh"]
env_file:
- .env
restart: always

typesense:
container_name: immich_typesense
image: typesense/typesense:0.24.0
environment:
- TYPESENSE_API_KEY=${TYPESENSE_API_KEY}
- TYPESENSE_DATA_DIR=/data
logging:
driver: none
volumes:
- tsdata:/data
restart: always

redis:
container_name: immich_redis
image: redis:6.2
restart: always

immich-proxy:
container_name: immich_proxy
image: ghcr.io/immich-app/immich-proxy:release
environment:
- IMMICH_SERVER_URL
- IMMICH_WEB_URL
ports:
- 2283:8080
logging:
driver: none
depends_on:
- immich-server
restart: always

volumes:
pgdata:
model-cache:
tsdata:
version: "3.8"

services:
immich-server:
container_name: immich_server
image: ghcr.io/immich-app/immich-server:release
entrypoint: ["/bin/sh", "./start-server.sh"]
volumes:
- ${UPLOAD_LOCATION}:/usr/src/app/upload
env_file:
- .env
environment:
- NODE_ENV=production
depends_on:
- redis
- typesense
restart: always

immich-microservices:
container_name: immich_microservices
image: ghcr.io/immich-app/immich-server:release
entrypoint: ["/bin/sh", "./start-microservices.sh"]
volumes:
- ${UPLOAD_LOCATION}:/usr/src/app/upload
env_file:
- .env
environment:
- NODE_ENV=production
depends_on:
- redis
- typesense
restart: always

immich-machine-learning:
container_name: immich_machine_learning
image: ghcr.io/immich-app/immich-machine-learning:release
volumes:
- ${UPLOAD_LOCATION}:/usr/src/app/upload
- model-cache:/cache
env_file:
- .env
environment:
- NODE_ENV=production
restart: always

immich-web:
container_name: immich_web
image: ghcr.io/immich-app/immich-web:release
entrypoint: ["/bin/sh", "./entrypoint.sh"]
env_file:
- .env
restart: always

typesense:
container_name: immich_typesense
image: typesense/typesense:0.24.0
environment:
- TYPESENSE_API_KEY=${TYPESENSE_API_KEY}
- TYPESENSE_DATA_DIR=/data
logging:
driver: none
volumes:
- tsdata:/data
restart: always

redis:
container_name: immich_redis
image: redis:6.2
restart: always

immich-proxy:
container_name: immich_proxy
image: ghcr.io/immich-app/immich-proxy:release
environment:
- IMMICH_SERVER_URL
- IMMICH_WEB_URL
ports:
- 2283:8080
logging:
driver: none
depends_on:
- immich-server
restart: always

volumes:
pgdata:
model-cache:
tsdata:
.env File:
DB_HOSTNAME=192.168.0.25
DB_USERNAME=xxxx
DB_PASSWORD=xxxx
DB_DATABASE_NAME=immich

DB_PORT=5432

REDIS_HOSTNAME=immich_redis

# REDIS_PORT=6379
# REDIS_DBINDEX=0
# REDIS_PASSWORD=
# REDIS_SOCKET=

UPLOAD_LOCATION=/mnt/user/images/immich

TYPESENSE_API_KEY=xxxx

# TYPESENSE_ENABLED=false
# DISABLE_REVERSE_GEOCODING=false
# REVERSE_GEOCODING_PRECISION=3

PUBLIC_LOGIN_PAGE_MESSAGE=

IMMICH_WEB_URL=http://immich-web:3000
IMMICH_SERVER_URL=http://immich-server:3001
IMMICH_MACHINE_LEARNING_URL=http://immich-machine-learning:3003

#IMMICH_API_URL_EXTERNAL=http://localhost:3001
DB_HOSTNAME=192.168.0.25
DB_USERNAME=xxxx
DB_PASSWORD=xxxx
DB_DATABASE_NAME=immich

DB_PORT=5432

REDIS_HOSTNAME=immich_redis

# REDIS_PORT=6379
# REDIS_DBINDEX=0
# REDIS_PASSWORD=
# REDIS_SOCKET=

UPLOAD_LOCATION=/mnt/user/images/immich

TYPESENSE_API_KEY=xxxx

# TYPESENSE_ENABLED=false
# DISABLE_REVERSE_GEOCODING=false
# REVERSE_GEOCODING_PRECISION=3

PUBLIC_LOGIN_PAGE_MESSAGE=

IMMICH_WEB_URL=http://immich-web:3000
IMMICH_SERVER_URL=http://immich-server:3001
IMMICH_MACHINE_LEARNING_URL=http://immich-machine-learning:3003

#IMMICH_API_URL_EXTERNAL=http://localhost:3001
MattFaz
MattFazOP2y ago
No description
No description
Alex Tran
Alex Tran2y ago
which version are you using? Look like you have a pretty outdated docker-compose file
Davis
Davis2y ago
I’ve had this exact issue as well. But it’s still able to delete the image & video.
MattFaz
MattFazOP2y ago
@Alex Immich Server version 1.6
No description
MattFaz
MattFazOP2y ago
I created the containers a long time ago and since then have just done updates. So docker-compose file hasn't changed in ages
bo0tzz
bo0tzz2y ago
There's occasional changes you should make, as well as other things you should be aware of. We recommend you check the release notes before you update
MattFaz
MattFazOP2y ago
I’ll rebuild it with the latest files 🙂

Did you find this page helpful?