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

Empty Recycle Bin strange behavior #11057

Closed
1 of 3 tasks
aetasoul opened this issue Jul 12, 2024 · 11 comments · Fixed by #12751
Closed
1 of 3 tasks

Empty Recycle Bin strange behavior #11057

aetasoul opened this issue Jul 12, 2024 · 11 comments · Fixed by #12751
Assignees

Comments

@aetasoul
Copy link
Contributor

aetasoul commented Jul 12, 2024

The bug

Trying to delete all the photo from the recycle bin but seems to be impossible.
I had deleted some elements that now are in the recycle bin and I have to press multiple times "Empty Recycle Bin" and refresh the page.
The photo comes from my mobile phone with auto backup on.
There is no file from an external library.

Press "Empty Recycle Bin" seems to delete all
image
image

Now refresh the page
image

Press again "Empty Recycle Bin"
image
image

Refresh again
image

Press again "Empty Recycle Bin"
image
image

Refresh again
image

Press again "Empty Recycle Bin"
image
image

Refresh again
image

The OS that Immich Server is running on

Ubuntu 22.04.4 LTS

Version of Immich Server

v1.108.0

Version of Immich Mobile App

v1.108.0 build 148

Platform with the issue

  • Server
  • Web
  • Mobile

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}
    # extends:
    #   file: hwaccel.transcoding.yml
    #   service: cpu # set to one of [nvenc, quicksync, rkmpp, vaapi, vaapi-wsl] for accelerated transcoding
    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
    # 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: docker.io/redis:6.2-alpine@sha256:328fe6a5822256d065debb36617a8169dbfbd77b797c525288e465f56c1d392b
    healthcheck:
      test: redis-cli ping || exit 1
    restart: always

  database:
    container_name: immich_postgres
    image: docker.io/tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0
    environment:
      POSTGRES_PASSWORD: ${DB_PASSWORD}
      POSTGRES_USER: ${DB_USERNAME}
      POSTGRES_DB: ${DB_DATABASE_NAME}
      POSTGRES_INITDB_ARGS: '--data-checksums'
    volumes:
      - ${DB_DATA_LOCATION}:/var/lib/postgresql/data
    healthcheck:
      test: pg_isready --dbname='${DB_DATABASE_NAME}' --username='${DB_USERNAME}' || exit 1; Chksum="$$(psql --dbname='${DB_DATABASE_NAME}' --username='${DB_USERNAME}' --tuples-only --no-align --command='SELECT COALESCE(SUM(checksum_failures), 0) FROM pg_stat_database')"; echo "checksum failure count is $$Chksum"; [ "$$Chksum" = '0' ] || exit 1
      interval: 5m
      start_interval: 30s
      start_period: 5m
    command: ["postgres", "-c" ,"shared_preload_libraries=vectors.so", "-c", 'search_path="$$user", public, vectors', "-c", "logging_collector=on", "-c", "max_wal_size=2GB", "-c", "shared_buffers=512MB", "-c", "wal_compression=on"]
    restart: always

volumes:
  model-cache:

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=MY_RANDOM_PASSWORD_AS_SUGGESTED

# The values below this line do not need to be changed
###################################################################################
DB_USERNAME=postgres
DB_DATABASE_NAME=immich

Reproduction steps

1. Go to the trash page
2. Press "Empty Recycle Bin"
3. Confirm
4. Refresh the page

Relevant log output

Using docker logs immich_server there is no error.

Checking the chrome dev tools network tab I see the DELETE request:

Request URL: http://example.com:2283/api/assets
Request method: DELETE
Status Code: 204 No Content
Request Payload:
image

There is nothing in the response tab. Double click on the network line: {"message":"Cannot GET /api/assets","error":"Not Found","statusCode":404,"correlationId":"..."}

Additional information

This problem seems to happend not only with the "Empty Recycle Bin" button.
Select one day from the trash page
image

Press the "Delete Permanently" button
image
image

Refresh the page
image

and so on

@bo0tzz
Copy link
Member

bo0tzz commented Jul 12, 2024

The deletion is not instant, but gets processed in a background job. If you press the empty bin button only once and then wait a bit, does it still happen?

@aetasoul
Copy link
Contributor Author

Let me check

@aetasoul
Copy link
Contributor Author

Yeah same problem also waiting some times

Network tab of chrome dev tools:

URL: http://example.com:2283/api/trash/empty
Method: POST
Response: 204 No Content

double click open a page with this content: {"message":"Cannot GET /api/trash/empty","error":"Not Found","statusCode":404,"correlationId":"..."}

With debug log enabled:

[Nest] 17  - 07/12/2024, 5:19:52 PM   DEBUG [Api:LoggingInterceptor~4v3y9a4d] POST /api/trash/empty 204 17.99ms ::ffff:10.10.0.1
root@srvimmich:~#

Any way to check the bg job to check if is doing is job?

@bo0tzz
Copy link
Member

bo0tzz commented Jul 12, 2024

Is that the only line logged?

@aetasoul
Copy link
Contributor Author

aetasoul commented Jul 12, 2024

[Nest] 17  - 07/12/2024, 5:19:20 PM   DEBUG [Api:LoggingInterceptor~yumz9od5] GET /api/server-info/about 200 55.39ms ::ffff:10.10.0.1
[Nest] 17  - 07/12/2024, 5:19:40 PM     LOG [Api:EventRepository] Websocket Disconnect: 9Z1h20eFs49wuztAAADz
[Nest] 17  - 07/12/2024, 5:19:40 PM   DEBUG [Api:LoggingInterceptor~nxb6fjje] GET /api/server-info/storage 200 0.19ms ::ffff:10.10.0.1
[Nest] 17  - 07/12/2024, 5:19:40 PM   DEBUG [Api:LoggingInterceptor~4onfp5zo] POST /api/assets/exist 200 2.29ms ::ffff:10.10.0.1
[Nest] 17  - 07/12/2024, 5:19:40 PM   DEBUG [Api:LoggingInterceptor~zmhj9y8u] GET /api/assets/device/c450f6fca65be3607d78e0875181629dbbf98b3800d5e59f3b34ed717ea60e1c 200 1.51ms ::ffff:10.10.0.1
[Nest] 17  - 07/12/2024, 5:19:52 PM   DEBUG [Api:LoggingInterceptor~4v3y9a4d] POST /api/trash/empty 204 17.99ms ::ffff:10.10.0.1
[Nest] 17  - 07/12/2024, 5:22:14 PM   DEBUG [Api:HttpExceptionFilter~mip6b6ac] HttpException(404) {"message":"Cannot GET /api/trash/empty","error":"Not Found","statusCode":404}
[Nest] 17  - 07/12/2024, 5:22:51 PM     LOG [Api:EventRepository] Websocket Disconnect: HBm5u2rhFGTWouBVAADx
[Nest] 17  - 07/12/2024, 5:22:51 PM   DEBUG [Api:LoggingInterceptor~sp1gg2qh] GET /custom.css 200 13.53ms ::ffff:10.10.0.1
[Nest] 17  - 07/12/2024, 5:22:51 PM   DEBUG [Api:LoggingInterceptor~fywk4yag] GET /api/users/me 200 0.22ms ::ffff:10.10.0.1
[Nest] 17  - 07/12/2024, 5:22:51 PM   DEBUG [Api:LoggingInterceptor~1k2pltah] GET /api/users/me/preferences 200 0.16ms ::ffff:10.10.0.1
[Nest] 17  - 07/12/2024, 5:22:51 PM     LOG [Api:EventRepository] Websocket Connect:    rKvNwqMzpFgj0B5PAAD1
[Nest] 17  - 07/12/2024, 5:22:51 PM   DEBUG [Api:EventRepository] Server event: websocket.connect (send)
[Nest] 17  - 07/12/2024, 5:22:51 PM   DEBUG [Api:LoggingInterceptor~6brua4h5] GET /api/server-info/features 200 5.16ms ::ffff:10.10.0.1
[Nest] 17  - 07/12/2024, 5:22:51 PM   DEBUG [Api:LoggingInterceptor~oo01rpqv] GET /api/server-info/config 200 5.87ms ::ffff:10.10.0.1
[Nest] 17  - 07/12/2024, 5:22:52 PM   DEBUG [Api:LoggingInterceptor~0t1uplxr] GET /api/server-info/storage 200 1.60ms ::ffff:10.10.0.1
[Nest] 17  - 07/12/2024, 5:22:52 PM   DEBUG [Api:LoggingInterceptor~a2umf0ow] GET /api/timeline/buckets?isTrashed=true&size=MONTH 200 5.57ms ::ffff:10.10.0.1
[Nest] 17  - 07/12/2024, 5:22:52 PM   DEBUG [Api:LoggingInterceptor~xn0f28ih] GET /api/timeline/bucket?isTrashed=true&size=MONTH&timeBucket=2024-07-01T00%3A00%3A00.000Z 200 7.58ms ::ffff:10.10.0.1
[Nest] 17  - 07/12/2024, 5:22:52 PM   DEBUG [Api:LoggingInterceptor~5aunhp49] GET /api/server-info/about 200 206.03ms ::ffff:10.10.0.1
[Nest] 17  - 07/12/2024, 5:22:54 PM     LOG [Api:EventRepository] Websocket Disconnect: rKvNwqMzpFgj0B5PAAD1
[Nest] 17  - 07/12/2024, 5:22:54 PM   DEBUG [Api:LoggingInterceptor~mftlqrhd] GET /custom.css 200 4.75ms ::ffff:10.10.0.1
[Nest] 17  - 07/12/2024, 5:22:54 PM   DEBUG [Api:LoggingInterceptor~91rc9chk] GET /api/users/me 200 0.19ms ::ffff:10.10.0.1
[Nest] 17  - 07/12/2024, 5:22:54 PM   DEBUG [Api:LoggingInterceptor~ijdv53js] GET /api/users/me/preferences 200 0.15ms ::ffff:10.10.0.1
[Nest] 17  - 07/12/2024, 5:22:54 PM   DEBUG [Api:LoggingInterceptor~fq5r9h1h] GET /api/server-info/features 200 4.37ms ::ffff:10.10.0.1
[Nest] 17  - 07/12/2024, 5:22:54 PM     LOG [Api:EventRepository] Websocket Connect:    Dyi2q1zOel2Z8KdwAAD3
[Nest] 17  - 07/12/2024, 5:22:54 PM   DEBUG [Api:LoggingInterceptor~hmh3ox2k] GET /api/server-info/config 200 7.06ms ::ffff:10.10.0.1
[Nest] 17  - 07/12/2024, 5:22:54 PM   DEBUG [Api:EventRepository] Server event: websocket.connect (send)

Tested it another time:

[Nest] 17  - 07/12/2024, 5:34:31 PM     LOG [Api:SystemConfigService~gi162yis] LogLevel=debug (set via system config)
[Nest] 17  - 07/12/2024, 5:34:31 PM   DEBUG [Api:LoggingInterceptor~gi162yis] PUT /api/system-config 200 36.01ms ::ffff:10.10.0.1
[Nest] 17  - 07/12/2024, 5:34:31 PM   DEBUG [Api:LoggingInterceptor~0ayxio4l] GET /api/server-info/features 200 4.77ms ::ffff:10.10.0.1
[Nest] 17  - 07/12/2024, 5:34:31 PM   DEBUG [Api:LoggingInterceptor~x0tltulb] GET /api/server-info/config 200 5.41ms ::ffff:10.10.0.1
[Nest] 17  - 07/12/2024, 5:34:37 PM   DEBUG [Api:LoggingInterceptor~4d5fusvq] GET /api/server-info/storage 200 0.30ms ::ffff:10.10.0.1
[Nest] 17  - 07/12/2024, 5:34:37 PM   DEBUG [Api:LoggingInterceptor~gruon1km] GET /api/timeline/buckets?isArchived=false&size=MONTH&withPartners=true&withStacked=true 200 8.08ms ::ffff:10.10.0.1
[Nest] 17  - 07/12/2024, 5:34:37 PM   DEBUG [Api:LoggingInterceptor~8w5fz5kr] GET /api/timeline/bucket?isArchived=false&size=MONTH&timeBucket=2024-06-01T00%3A00%3A00.000Z&withPartners=true&withStacked=true 200 12.60ms ::ffff:10.10.0.1
[Nest] 17  - 07/12/2024, 5:34:37 PM   DEBUG [Api:LoggingInterceptor~93vel8a4] GET /api/assets/memory-lane?day=12&month=7 200 5.60ms ::ffff:10.10.0.1
[Nest] 17  - 07/12/2024, 5:34:37 PM   DEBUG [Api:LoggingInterceptor~dqtnh8wr] GET /api/server-info/about 200 62.74ms ::ffff:10.10.0.1
[Nest] 17  - 07/12/2024, 5:34:38 PM   DEBUG [Api:LoggingInterceptor~gjg57fmh] GET /api/timeline/buckets?isTrashed=true&size=MONTH 200 2.80ms ::ffff:10.10.0.1
[Nest] 17  - 07/12/2024, 5:34:38 PM   DEBUG [Api:LoggingInterceptor~8rg2ebql] GET /api/server-info/storage 200 4.88ms ::ffff:10.10.0.1
[Nest] 17  - 07/12/2024, 5:34:38 PM   DEBUG [Api:LoggingInterceptor~s9hjqsws] GET /api/timeline/bucket?isTrashed=true&size=MONTH&timeBucket=2024-07-01T00%3A00%3A00.000Z 200 12.39ms ::ffff:10.10.0.1
[Nest] 17  - 07/12/2024, 5:34:38 PM   DEBUG [Api:LoggingInterceptor~8a8ixwiy] GET /api/server-info/about 200 56.65ms ::ffff:10.10.0.1
[Nest] 17  - 07/12/2024, 5:34:41 PM   DEBUG [Api:LoggingInterceptor~x3ucm8u9] POST /api/trash/empty 204 4.36ms ::ffff:10.10.0.1
[Nest] 17  - 07/12/2024, 5:40:55 PM     LOG [Api:EventRepository] Websocket Disconnect: BTuOBOTQJiG93rCgAAEF
[Nest] 17  - 07/12/2024, 5:40:55 PM   DEBUG [Api:LoggingInterceptor~23an8or1] GET /custom.css 200 15.41ms ::ffff:10.10.0.1
[Nest] 17  - 07/12/2024, 5:40:55 PM   DEBUG [Api:LoggingInterceptor~i9z2eowy] GET /api/users/me 200 0.19ms ::ffff:10.10.0.1
[Nest] 17  - 07/12/2024, 5:40:55 PM   DEBUG [Api:LoggingInterceptor~66vdl3wd] GET /api/users/me/preferences 200 0.17ms ::ffff:10.10.0.1
[Nest] 17  - 07/12/2024, 5:40:55 PM   DEBUG [Api:LoggingInterceptor~kzwz9ujs] GET /api/server-info/features 200 5.90ms ::ffff:10.10.0.1
[Nest] 17  - 07/12/2024, 5:40:55 PM     LOG [Api:EventRepository] Websocket Connect:    BcT8ziwlUhzDnH9tAAEJ
[Nest] 17  - 07/12/2024, 5:40:55 PM   DEBUG [Api:LoggingInterceptor~7jrg4mx7] GET /api/server-info/config 200 10.98ms ::ffff:10.10.0.1
[Nest] 17  - 07/12/2024, 5:40:55 PM   DEBUG [Api:EventRepository] Server event: websocket.connect (send)
[Nest] 17  - 07/12/2024, 5:40:55 PM   DEBUG [Api:LoggingInterceptor~rr0hckha] GET /api/server-info/storage 200 0.73ms ::ffff:10.10.0.1
[Nest] 17  - 07/12/2024, 5:40:55 PM   DEBUG [Api:LoggingInterceptor~k27wghhf] GET /api/timeline/buckets?isTrashed=true&size=MONTH 200 4.33ms ::ffff:10.10.0.1
[Nest] 17  - 07/12/2024, 5:40:56 PM   DEBUG [Api:LoggingInterceptor~8ij7vzmq] GET /api/timeline/bucket?isTrashed=true&size=MONTH&timeBucket=2024-07-01T00%3A00%3A00.000Z 200 7.26ms ::ffff:10.10.0.1
[Nest] 17  - 07/12/2024, 5:40:56 PM   DEBUG [Api:LoggingInterceptor~lfiu5npp] GET /api/server-info/about 200 211.58ms ::ffff:10.10.0.1
root@srvimmich:~# docker logs immich_server

@bo0tzz
Copy link
Member

bo0tzz commented Jul 12, 2024

Can you restart the immich-server container and then post the full startup logs?

@aetasoul
Copy link
Contributor Author

Detected CPU Cores: 4
Starting api worker
Starting microservices worker
[Nest] 7  - 07/12/2024, 5:53:41 PM     LOG [Microservices:EventRepository] Initialized websocket server
[Nest] 7  - 07/12/2024, 5:53:41 PM     LOG [Microservices:SystemConfigService] LogLevel=debug (set via system config)
[Nest] 7  - 07/12/2024, 5:53:41 PM     LOG [Microservices:MapRepository] Initializing metadata repository
[Nest] 7  - 07/12/2024, 5:53:41 PM     LOG [Microservices:MetadataService] Initialized local reverse geocoder
[Nest] 7  - 07/12/2024, 5:53:41 PM   DEBUG [Microservices:JobService] Registering thumbnailGeneration with a concurrency of 3
[Nest] 7  - 07/12/2024, 5:53:41 PM   DEBUG [Microservices:JobService] Registering metadataExtraction with a concurrency of 5
[Nest] 7  - 07/12/2024, 5:53:41 PM   DEBUG [Microservices:JobService] Registering videoConversion with a concurrency of 1
[Nest] 7  - 07/12/2024, 5:53:41 PM   DEBUG [Microservices:JobService] Registering faceDetection with a concurrency of 2
[Nest] 7  - 07/12/2024, 5:53:41 PM   DEBUG [Microservices:JobService] Registering facialRecognition with a concurrency of 1
[Nest] 7  - 07/12/2024, 5:53:41 PM   DEBUG [Microservices:JobService] Registering smartSearch with a concurrency of 2
[Nest] 7  - 07/12/2024, 5:53:41 PM   DEBUG [Microservices:JobService] Registering duplicateDetection with a concurrency of 1
[Nest] 7  - 07/12/2024, 5:53:41 PM   DEBUG [Microservices:JobService] Registering backgroundTask with a concurrency of 5
[Nest] 7  - 07/12/2024, 5:53:41 PM   DEBUG [Microservices:JobService] Registering storageTemplateMigration with a concurrency of 1
[Nest] 7  - 07/12/2024, 5:53:41 PM   DEBUG [Microservices:JobService] Registering migration with a concurrency of 5
[Nest] 7  - 07/12/2024, 5:53:41 PM   DEBUG [Microservices:JobService] Registering search with a concurrency of 5
[Nest] 7  - 07/12/2024, 5:53:41 PM   DEBUG [Microservices:JobService] Registering sidecar with a concurrency of 5
[Nest] 7  - 07/12/2024, 5:53:41 PM   DEBUG [Microservices:JobService] Registering library with a concurrency of 5
[Nest] 7  - 07/12/2024, 5:53:41 PM   DEBUG [Microservices:JobService] Registering notifications with a concurrency of 5
[Nest] 7  - 07/12/2024, 5:53:41 PM     LOG [Microservices:ServerService] Feature Flags: {
  "smartSearch": true,
  "facialRecognition": true,
  "duplicateDetection": true,
  "map": true,
  "reverseGeocoding": true,
  "sidecar": true,
  "search": true,
  "trash": true,
  "oauth": false,
  "oauthAutoLaunch": false,
  "passwordLogin": true,
  "configFile": false,
  "email": false
}
[Nest] 7  - 07/12/2024, 5:53:41 PM   DEBUG [Microservices:VersionService] Running version check
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:EventRepository] Initialized websocket server
[Nest] 7  - 07/12/2024, 5:53:41 PM     LOG [Microservices:NestFactory] Starting Nest application...
[Nest] 7  - 07/12/2024, 5:53:41 PM     LOG [Microservices:InstanceLoader] BullModule dependencies initialized
[Nest] 7  - 07/12/2024, 5:53:41 PM     LOG [Microservices:InstanceLoader] OpenTelemetryModule dependencies initialized
[Nest] 7  - 07/12/2024, 5:53:41 PM     LOG [Microservices:InstanceLoader] TypeOrmModule dependencies initialized
[Nest] 7  - 07/12/2024, 5:53:41 PM     LOG [Microservices:InstanceLoader] OpenTelemetryCoreModule dependencies initialized
[Nest] 7  - 07/12/2024, 5:53:41 PM     LOG [Microservices:InstanceLoader] ConfigHostModule dependencies initialized
[Nest] 7  - 07/12/2024, 5:53:41 PM     LOG [Microservices:InstanceLoader] DiscoveryModule dependencies initialized
[Nest] 7  - 07/12/2024, 5:53:41 PM     LOG [Microservices:InstanceLoader] ClsModule dependencies initialized
[Nest] 7  - 07/12/2024, 5:53:41 PM     LOG [Microservices:InstanceLoader] ConfigModule dependencies initialized
[Nest] 7  - 07/12/2024, 5:53:41 PM     LOG [Microservices:InstanceLoader] EventEmitterModule dependencies initialized
[Nest] 7  - 07/12/2024, 5:53:41 PM     LOG [Microservices:InstanceLoader] BullModule dependencies initialized
[Nest] 7  - 07/12/2024, 5:53:41 PM     LOG [Microservices:InstanceLoader] BullModule dependencies initialized
[Nest] 7  - 07/12/2024, 5:53:41 PM     LOG [Microservices:InstanceLoader] TypeOrmCoreModule dependencies initialized
[Nest] 7  - 07/12/2024, 5:53:41 PM     LOG [Microservices:InstanceLoader] TypeOrmModule dependencies initialized
[Nest] 7  - 07/12/2024, 5:53:41 PM     LOG [Microservices:InstanceLoader] MicroservicesModule dependencies initialized
[Nest] 7  - 07/12/2024, 5:53:41 PM   DEBUG [Microservices:ClsModule] Mounting ClsMiddleware to *
[Nest] 7  - 07/12/2024, 5:53:41 PM     LOG [Microservices:NestApplication] Nest application successfully started
[Nest] 7  - 07/12/2024, 5:53:41 PM     LOG [Microservices:Bootstrap]Immich Microservices is running [v1.108.0] [PRODUCTION]
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:SystemConfigService] LogLevel=debug (set via system config)
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:ServerService] Feature Flags: {
  "smartSearch": true,
  "facialRecognition": true,
  "duplicateDetection": true,
  "map": true,
  "reverseGeocoding": true,
  "sidecar": true,
  "search": true,
  "trash": true,
  "oauth": false,
  "oauthAutoLaunch": false,
  "passwordLogin": true,
  "configFile": false,
  "email": false
}
[Nest] 17  - 07/12/2024, 5:53:41 PM   DEBUG [Api:VersionService] Running version check
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:NestFactory] Starting Nest application...
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:InstanceLoader] BullModule dependencies initialized
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:InstanceLoader] OpenTelemetryModule dependencies initialized
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:InstanceLoader] TypeOrmModule dependencies initialized
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:InstanceLoader] OpenTelemetryCoreModule dependencies initialized
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:InstanceLoader] ConfigHostModule dependencies initialized
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:InstanceLoader] DiscoveryModule dependencies initialized
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:InstanceLoader] ClsModule dependencies initialized
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:InstanceLoader] ConfigModule dependencies initialized
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:InstanceLoader] EventEmitterModule dependencies initialized
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:InstanceLoader] ScheduleModule dependencies initialized
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:InstanceLoader] BullModule dependencies initialized
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:InstanceLoader] BullModule dependencies initialized
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:InstanceLoader] TypeOrmCoreModule dependencies initialized
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:InstanceLoader] TypeOrmModule dependencies initialized
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:InstanceLoader] ApiModule dependencies initialized
[Nest] 17  - 07/12/2024, 5:53:41 PM   DEBUG [Api:ClsModule] Mounting ClsMiddleware to *
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RoutesResolver] APIKeyController {/api/api-keys}:
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/api-keys, POST} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/api-keys, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/api-keys/:id, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/api-keys/:id, PUT} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/api-keys/:id, DELETE} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RoutesResolver] ActivityController {/api/activities}:
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/activities, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/activities/statistics, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/activities, POST} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/activities/:id, DELETE} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RoutesResolver] AlbumController {/api/albums}:
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/albums/count, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/albums, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/albums, POST} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/albums/:id, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/albums/:id, PATCH} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/albums/:id, DELETE} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/albums/:id/assets, PUT} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/albums/:id/assets, DELETE} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/albums/:id/users, PUT} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/albums/:id/user/:userId, PUT} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/albums/:id/user/:userId, DELETE} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RoutesResolver] AppController {/api}:
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/.well-known/immich, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/custom.css, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RoutesResolver] AssetController {/api/assets}:
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/assets/memory-lane, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/assets/random, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/assets/device/:deviceId, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/assets/statistics, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/assets/jobs, POST} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/assets, PUT} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/assets, DELETE} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/assets/stack/parent, PUT} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/assets/:id, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/assets/:id, PUT} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RoutesResolver] AssetMediaController {/api/assets}:
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/assets, POST} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/assets/:id/original, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/assets/:id/original, PUT} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/assets/:id/thumbnail, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/assets/:id/video/playback, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/assets/exist, POST} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/assets/bulk-upload-check, POST} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RoutesResolver] AuditController {/api/audit}:
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/audit/deletes, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RoutesResolver] AuthController {/api/auth}:
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/auth/login, POST} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/auth/admin-sign-up, POST} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/auth/validateToken, POST} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/auth/change-password, POST} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/auth/logout, POST} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RoutesResolver] DownloadController {/api/download}:
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/download/info, POST} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/download/archive, POST} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RoutesResolver] DuplicateController {/api/duplicates}:
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/duplicates, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RoutesResolver] FaceController {/api/faces}:
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/faces, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/faces/:id, PUT} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RoutesResolver] JobController {/api/jobs}:
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/jobs, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/jobs/:id, PUT} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RoutesResolver] LibraryController {/api/libraries}:
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/libraries, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/libraries, POST} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/libraries/:id, PUT} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/libraries/:id, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/libraries/:id/validate, POST} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/libraries/:id, DELETE} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/libraries/:id/statistics, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/libraries/:id/scan, POST} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/libraries/:id/removeOffline, POST} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RoutesResolver] MapController {/api/map}:
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/map/markers, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/map/style.json, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RoutesResolver] MemoryController {/api/memories}:
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/memories, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/memories, POST} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/memories/:id, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/memories/:id, PUT} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/memories/:id, DELETE} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/memories/:id/assets, PUT} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/memories/:id/assets, DELETE} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RoutesResolver] NotificationController {/api/notifications}:
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/notifications/test-email, POST} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RoutesResolver] OAuthController {/api/oauth}:
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/oauth/mobile-redirect, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/oauth/authorize, POST} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/oauth/callback, POST} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/oauth/link, POST} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/oauth/unlink, POST} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RoutesResolver] PartnerController {/api/partners}:
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/partners, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/partners/:id, POST} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/partners/:id, PUT} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/partners/:id, DELETE} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RoutesResolver] PersonController {/api/people}:
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/people, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/people, POST} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/people, PUT} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/people/:id, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/people/:id, PUT} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/people/:id/statistics, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/people/:id/thumbnail, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/people/:id/assets, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/people/:id/reassign, PUT} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/people/:id/merge, POST} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RoutesResolver] ReportController {/api/reports}:
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/reports, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/reports/checksum, POST} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/reports/fix, POST} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RoutesResolver] SearchController {/api/search}:
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/search/metadata, POST} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/search/smart, POST} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/search/explore, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/search/person, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/search/places, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/search/cities, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/search/suggestions, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RoutesResolver] ServerController {/api/server}:
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/server/about, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/server/storage, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/server/ping, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/server/version, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/server/features, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/server/theme, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/server/config, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/server/statistics, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/server/media-types, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/server/license, PUT} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/server/license, DELETE} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/server/license, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RoutesResolver] ServerInfoController {/api/server-info}:
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/server-info/about, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/server-info/storage, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/server-info/ping, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/server-info/version, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/server-info/features, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/server-info/theme, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/server-info/config, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/server-info/statistics, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/server-info/media-types, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RoutesResolver] SessionController {/api/sessions}:
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/sessions, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/sessions, DELETE} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/sessions/:id, DELETE} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RoutesResolver] SharedLinkController {/api/shared-links}:
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/shared-links, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/shared-links/me, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/shared-links/:id, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/shared-links, POST} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/shared-links/:id, PATCH} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/shared-links/:id, DELETE} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/shared-links/:id/assets, PUT} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/shared-links/:id/assets, DELETE} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RoutesResolver] SyncController {/api/sync}:
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/sync/full-sync, POST} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/sync/delta-sync, POST} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RoutesResolver] SystemConfigController {/api/system-config}:
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/system-config, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/system-config/defaults, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/system-config, PUT} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/system-config/storage-template-options, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RoutesResolver] SystemMetadataController {/api/system-metadata}:
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/system-metadata/admin-onboarding, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/system-metadata/admin-onboarding, POST} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/system-metadata/reverse-geocoding-state, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RoutesResolver] TagController {/api/tags}:
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/tags, POST} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/tags, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/tags/:id, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/tags/:id, PATCH} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/tags/:id, DELETE} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/tags/:id/assets, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/tags/:id/assets, PUT} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/tags/:id/assets, DELETE} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RoutesResolver] TimelineController {/api/timeline}:
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/timeline/buckets, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/timeline/bucket, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RoutesResolver] TrashController {/api/trash}:
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/trash/empty, POST} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/trash/restore, POST} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/trash/restore/assets, POST} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RoutesResolver] UserAdminController {/api/admin/users}:
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/admin/users, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/admin/users, POST} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/admin/users/:id, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/admin/users/:id, PUT} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/admin/users/:id, DELETE} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/admin/users/:id/preferences, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/admin/users/:id/preferences, PUT} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/admin/users/:id/restore, POST} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RoutesResolver] UserController {/api/users}:
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/users, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/users/me, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/users/me, PUT} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/users/me/preferences, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/users/me/preferences, PUT} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/users/me/license, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/users/me/license, PUT} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/users/me/license, DELETE} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/users/:id, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/users/profile-image, POST} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/users/profile-image, DELETE} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:RouterExplorer] Mapped {/api/users/:id/profile-image, GET} route
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:NestApplication] Nest application successfully started
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:Bootstrap]Immich Server is listening on http://[::1]:3001 [v1.108.0] [PRODUCTION]
[Nest] 17  - 07/12/2024, 5:53:41 PM     LOG [Api:EventRepository] Websocket Connect:    _n3xMk3GPD4SV3H5AAAB
[Nest] 17  - 07/12/2024, 5:53:41 PM   DEBUG [Api:EventRepository] Server event: websocket.connect (send)

@m4ntic0r
Copy link

Deleting recycle bin is strange. I had to clean 20-30k duplicates multiple times and when everything was in trash and i deleted all at once, it can take some time. i waited, server load goes to zero, but always at the end there are 162 or 1xx photos left in trash. Press delete all again and images are deleted. Have this every time when deleting a lot of images.

@bunubbv
Copy link
Contributor

bunubbv commented Jul 13, 2024

Even if I delete a few photos, they reappear upon refreshing. I had to delete each photo individually from the photo viewer.

@jrasm91
Copy link
Contributor

jrasm91 commented Sep 17, 2024

This is actually a pretty interesting bug. The problem is we're updating the isTrashed status while pagination through the results. Basically:

  • Take first 1,000 assets
  • Queue job to delete them
  • Take next 1,000 assets ie skip 1000, take next 1,000. (woops - we're skipping 1,000, but 100 of them have already been deleted.

@jrasm91
Copy link
Contributor

jrasm91 commented Sep 17, 2024

Oh, and this also impacts restoring assets as well. I believe if you select all assets and hit "delete 1,xxx" or "restore 1,xxx" that would work fine since it has all the IDs ahead of time.

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

Successfully merging a pull request may close this issue.

5 participants