Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image duplication not working - v1.106.1 #10122

Closed
2 of 3 tasks
schnobbc opened this issue Jun 11, 2024 · 1 comment
Closed
2 of 3 tasks

Image duplication not working - v1.106.1 #10122

schnobbc opened this issue Jun 11, 2024 · 1 comment

Comments

@schnobbc
Copy link

The bug

Hello,

I upgraded to v1.106.1, I ran the Duplication detection job as a admin user. I then logged into my normal user where the pictures exist and went to Utilities > Review duplicate's.

When I go to trash one of the duplicates I get the following error in the GUI:
"Forbidden Resource (Immich Server Error)

In the Docker logs I get the following error:
WARN [Api:AuthGuard~4ng59idq] Denied access to admin only route: /api/system-config

The OS that Immich Server is running on

Ubuntu 20.x

Version of Immich Server

v1.106.1

Version of Immich Mobile App

v1.106.0

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

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:3001
    depends_on:
      - redis
      - database
    restart: always

  immich-machine-learning:
    container_name: immich_machine_learning
    image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
    volumes:
      - /opt/dockerdata/immich/data/model-cache:/cache
    env_file:
      - .env
    restart: always

  redis:
    container_name: immich_redis
    image: registry.hub.docker.com/library/redis:6.2-alpine@sha256:51d6c56749a4243096327e3fb964a48ed92254357108449cb6e23999c37773c5
    restart: always

  database:
    container_name: immich_postgres
    image: registry.hub.docker.com/tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0
    environment:
      POSTGRES_PASSWORD: ${DB_PASSWORD}
      POSTGRES_USER: ${DB_USERNAME}
      POSTGRES_DB: ${DB_DATABASE_NAME}
    volumes:
      - ${DB_DATA_LOCATION}:/var/lib/postgresql/data
    restart: always

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=/opt/dockerdata/immich/data/app

# The Immich version to use. You can pin this to a specific version like "v1.71.0"
IMMICH_VERSION="v1.106.1"

# Connection secret for postgres. You should change it to a random password
DB_PASSWORD=<PASSWORD>

# The values below this line do not need to be changed
###################################################################################
DB_HOSTNAME=immich_postgres
DB_USERNAME=postgres
DB_DATABASE_NAME=immich
DB_DATA_LOCATION=/opt/dockerdata/immich/data/pgdata
REDIS_HOSTNAME=immich_redis

Reproduction steps

1. Login as an Admin
2. Run the duplication detector job
3. Login as a normal user
4. Try to delete a duplicate from Utilities > Review Duplicates

Relevant log output

[Nest] 17  - 06/11/2024, 11:49:26 AM    WARN [Api:AuthGuard~7idnlhts] Denied access to admin only route: /api/system-config
[Nest] 17  - 06/11/2024, 11:49:28 AM    WARN [Api:AuthGuard~97hldj5j] Denied access to admin only route: /api/system-config
[Nest] 17  - 06/11/2024, 11:49:37 AM    WARN [Api:AuthGuard~25ilcnuq] Denied access to admin only route: /api/system-config

Additional information

No response

@bo0tzz
Copy link
Member

bo0tzz commented Jun 11, 2024

Dupe of #10113

@bo0tzz bo0tzz closed this as not planned Won't fix, can't repro, duplicate, stale Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants