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 database are not updated / not all images from external source imported #14575

Open
3 tasks
gailta opened this issue Dec 8, 2024 · 3 comments
Open
3 tasks

Comments

@gailta
Copy link

gailta commented Dec 8, 2024

The bug

  1. The generating of thumbnails stops because of corrupted files on external library
  2. i manually delete the corrupted files
  3. but if i renew the library, the delete files are still in the database

finally, some thousands photos are not imported in the thumbnail database, because of the import stops always on the corrupted files, which are already deleted

The OS that Immich Server is running on

Linux Mint 21.3

Version of Immich Server

v1.122.1

Version of Immich Mobile App

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:
      # Do not edit the next line. If you want to change the media storage location on your system, edit the value of UPLOAD_LOCATION in the .env file
      - ${UPLOAD_LOCATION}:/usr/src/app/upload
      - /etc/localtime:/etc/localtime:ro
      - /media/video/video/Daten/Fotos:/media/video/video/Daten/Fotos:ro
      - /media/webs/TB4/video/Daten/Alex/HandyBackup/:/media/webs/TB4/video/Daten/Alex/HandyBackup/:ro
    env_file:
      - stack.env
    ports:
      - '2283:2283'
    depends_on:
      - redis
      - database
    restart: always
    healthcheck:
      disable: false

  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:
      - stack.env
    restart: always
    healthcheck:
      disable: false

  redis:
    container_name: immich_redis
    image: docker.io/redis:6.2-alpine@sha256:2ba50e1ac3a0ea17b736ce9db2b0a9f6f8b85d4c27d5f5accc6a416d8f42c6d5
    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:
      # Do not edit the next line. If you want to change the database storage location on your system, edit the value of DB_DATA_LOCATION in the .env file
      - ${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

-

Reproduction steps

..

Relevant log output

No response

Additional information

No response

@etnoy
Copy link
Contributor

etnoy commented Dec 8, 2024

Can you try to post a log file?

@gailta
Copy link
Author

gailta commented Dec 8, 2024

if i try to generate new thumbnails, then i get the following error.
But for example the last file, with the ID "7f8c6c36-1fec-4167-adcf-da1274d4bc85" is already deleted (deleted means, the original file on the external folder is deleted).

`[Nest] 7 - 12/08/2024, 11:48:01 PM ERROR [Microservices:JobService] Unable to run job handler (thumbnailGeneration/generate-thumbnails): Error: VipsJpeg: ./lib/jpegli/decode_scan.cc:539: Failed to decode DCT block

[Nest] 7 - 12/08/2024, 11:48:01 PM ERROR [Microservices:JobService] Error: VipsJpeg: ./lib/jpegli/decode_scan.cc:539: Failed to decode DCT block

at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)

at MediaRepository.decodeImage (/usr/src/app/dist/repositories/media.repository.js:57:68)

at MediaService.generateImageThumbnails (/usr/src/app/dist/services/media.service.js:158:63)

at process.processTicksAndRejections (node:internal/process/task_queues:105:5)

at async MediaService.handleGenerateThumbnails (/usr/src/app/dist/services/media.service.js:108:25)

at async JobService.onJobStart (/usr/src/app/dist/services/job.service.js:148:28)

at async EventRepository.onEvent (/usr/src/app/dist/repositories/event.repository.js:134:13)

at async Worker.processJob (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:394:28)

at async Worker.retryIfFailed (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:581:24)

[Nest] 7 - 12/08/2024, 11:48:01 PM ERROR [Microservices:JobService] Object:

{

"id": "9b1f29e1-417a-4dd8-8767-0683b7791ad4"

}

[Nest] 7 - 12/08/2024, 11:48:01 PM ERROR [Microservices:JobService] Unable to run job handler (thumbnailGeneration/generate-thumbnails): Error: VipsJpeg: ./lib/jpegli/decode_scan.cc:535: Incomplete scan detected.

VipsJpeg: ./lib/jpegli/decode_marker.cc:60: Duplicate SOF marker.

[Nest] 7 - 12/08/2024, 11:48:01 PM ERROR [Microservices:JobService] Error: VipsJpeg: ./lib/jpegli/decode_scan.cc:535: Incomplete scan detected.

VipsJpeg: ./lib/jpegli/decode_marker.cc:60: Duplicate SOF marker.

at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)

at MediaRepository.decodeImage (/usr/src/app/dist/repositories/media.repository.js:57:68)

at MediaService.generateImageThumbnails (/usr/src/app/dist/services/media.service.js:158:63)

at process.processTicksAndRejections (node:internal/process/task_queues:105:5)

at async MediaService.handleGenerateThumbnails (/usr/src/app/dist/services/media.service.js:108:25)

at async JobService.onJobStart (/usr/src/app/dist/services/job.service.js:148:28)

at async EventRepository.onEvent (/usr/src/app/dist/repositories/event.repository.js:134:13)

at async Worker.processJob (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:394:28)

at async Worker.retryIfFailed (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:581:24)

[Nest] 7 - 12/08/2024, 11:48:01 PM ERROR [Microservices:JobService] Object:

{

"id": "6ea71293-a99a-4f1a-9b02-1210fa1a6a0f"

}

[Nest] 7 - 12/08/2024, 11:48:01 PM ERROR [Microservices:JobService] Unable to run job handler (thumbnailGeneration/generate-thumbnails): Error: Input file contains unsupported image format

[Nest] 7 - 12/08/2024, 11:48:01 PM ERROR [Microservices:JobService] Error: Input file contains unsupported image format

at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)

at MediaRepository.decodeImage (/usr/src/app/dist/repositories/media.repository.js:57:68)

at MediaService.generateImageThumbnails (/usr/src/app/dist/services/media.service.js:158:63)

at process.processTicksAndRejections (node:internal/process/task_queues:105:5)

at async MediaService.handleGenerateThumbnails (/usr/src/app/dist/services/media.service.js:108:25)

at async JobService.onJobStart (/usr/src/app/dist/services/job.service.js:148:28)

at async EventRepository.onEvent (/usr/src/app/dist/repositories/event.repository.js:134:13)

at async Worker.processJob (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:394:28)

at async Worker.retryIfFailed (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:581:24)

[Nest] 7 - 12/08/2024, 11:48:01 PM ERROR [Microservices:JobService] Object:

{

"id": "f07a57de-f727-4beb-9f38-58ddddf2d25f"

}

[Nest] 7 - 12/08/2024, 11:48:01 PM ERROR [Microservices:JobService] Unable to run job handler (thumbnailGeneration/generate-thumbnails): Error: Input file contains unsupported image format

[Nest] 7 - 12/08/2024, 11:48:01 PM ERROR [Microservices:JobService] Error: Input file contains unsupported image format

at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)

at MediaRepository.decodeImage (/usr/src/app/dist/repositories/media.repository.js:57:68)

at MediaService.generateImageThumbnails (/usr/src/app/dist/services/media.service.js:158:63)

at process.processTicksAndRejections (node:internal/process/task_queues:105:5)

at async MediaService.handleGenerateThumbnails (/usr/src/app/dist/services/media.service.js:108:25)

at async JobService.onJobStart (/usr/src/app/dist/services/job.service.js:148:28)

at async EventRepository.onEvent (/usr/src/app/dist/repositories/event.repository.js:134:13)

at async Worker.processJob (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:394:28)

at async Worker.retryIfFailed (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:581:24)

[Nest] 7 - 12/08/2024, 11:48:01 PM ERROR [Microservices:JobService] Object:

{

"id": "8093928f-71f9-45b3-a600-2e56b48e7251"

}

[Nest] 7 - 12/08/2024, 11:48:01 PM ERROR [Microservices:JobService] Unable to run job handler (thumbnailGeneration/generate-thumbnails): Error: ffprobe exited with code 1

ffprobe version 7.0.2-Jellyfin Copyright (c) 2007-2024 the FFmpeg developers

built with gcc 12 (Debian 12.2.0-14)

configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto=auto --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-opencl --enable-libdrm --enable-libxml2 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libharfbuzz --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libdav1d --enable-libsvtav1 --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-vaapi --enable-amf --enable-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc

libavutil 59. 8.100 / 59. 8.100

libavcodec 61. 3.100 / 61. 3.100

libavformat 61. 1.100 / 61. 1.100

libavdevice 61. 1.100 / 61. 1.100

libavfilter 10. 1.100 / 10. 1.100

libswscale 8. 1.100 / 8. 1.100

libswresample 5. 1.100 / 5. 1.100

libpostproc 58. 1.100 / 58. 1.100

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x342aa060180] Format mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection possible!

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x342aa060180] moov atom not found

/media/webs/TB4/video/Daten/Alex/HandyBackup/SDCard/Camera/VID_20230714_143414.mp4: Invalid data found when processing input

[Nest] 7 - 12/08/2024, 11:48:01 PM ERROR [Microservices:JobService] Error: ffprobe exited with code 1

ffprobe version 7.0.2-Jellyfin Copyright (c) 2007-2024 the FFmpeg developers

built with gcc 12 (Debian 12.2.0-14)

configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto=auto --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-opencl --enable-libdrm --enable-libxml2 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libharfbuzz --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libdav1d --enable-libsvtav1 --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-vaapi --enable-amf --enable-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc

libavutil 59. 8.100 / 59. 8.100

libavcodec 61. 3.100 / 61. 3.100

libavformat 61. 1.100 / 61. 1.100

libavdevice 61. 1.100 / 61. 1.100

libavfilter 10. 1.100 / 10. 1.100

libswscale 8. 1.100 / 8. 1.100

libswresample 5. 1.100 / 5. 1.100

libpostproc 58. 1.100 / 58. 1.100

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x342aa060180] Format mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection possible!

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x342aa060180] moov atom not found

/media/webs/TB4/video/Daten/Alex/HandyBackup/SDCard/Camera/VID_20230714_143414.mp4: Invalid data found when processing input

at ChildProcess.<anonymous> (/usr/src/app/node_modules/fluent-ffmpeg/lib/ffprobe.js:233:22)

at ChildProcess.emit (node:events:518:28)

at ChildProcess._handle.onexit (node:internal/child_process:293:12)

[Nest] 7 - 12/08/2024, 11:48:01 PM ERROR [Microservices:JobService] Object:

{

"id": "67a6190f-312d-4a91-9a56-f0c933ea72f2"

}

[Nest] 7 - 12/08/2024, 11:48:02 PM ERROR [Microservices:JobService] Unable to run job handler (thumbnailGeneration/generate-thumbnails): Error: VipsJpeg: ./lib/jpegli/decode_scan.cc:539: Failed to decode DCT block

[Nest] 7 - 12/08/2024, 11:48:02 PM ERROR [Microservices:JobService] Error: VipsJpeg: ./lib/jpegli/decode_scan.cc:539: Failed to decode DCT block

at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)

at MediaRepository.decodeImage (/usr/src/app/dist/repositories/media.repository.js:57:68)

at MediaService.generateImageThumbnails (/usr/src/app/dist/services/media.service.js:158:63)

at process.processTicksAndRejections (node:internal/process/task_queues:105:5)

at async MediaService.handleGenerateThumbnails (/usr/src/app/dist/services/media.service.js:108:25)

at async JobService.onJobStart (/usr/src/app/dist/services/job.service.js:148:28)

at async EventRepository.onEvent (/usr/src/app/dist/repositories/event.repository.js:134:13)

at async Worker.processJob (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:394:28)

at async Worker.retryIfFailed (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:581:24)

[Nest] 7 - 12/08/2024, 11:48:02 PM ERROR [Microservices:JobService] Object:

{

"id": "9884d10c-14f4-4ec7-9afe-44d3bbc743bd"

}

[Nest] 7 - 12/08/2024, 11:48:02 PM ERROR [Microservices:JobService] Unable to run job handler (thumbnailGeneration/generate-thumbnails): Error: VipsJpeg: ./lib/jpegli/decode_scan.cc:539: Failed to decode DCT block

[Nest] 7 - 12/08/2024, 11:48:02 PM ERROR [Microservices:JobService] Error: VipsJpeg: ./lib/jpegli/decode_scan.cc:539: Failed to decode DCT block

at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)

at MediaRepository.decodeImage (/usr/src/app/dist/repositories/media.repository.js:57:68)

at MediaService.generateImageThumbnails (/usr/src/app/dist/services/media.service.js:158:63)

at process.processTicksAndRejections (node:internal/process/task_queues:105:5)

at async MediaService.handleGenerateThumbnails (/usr/src/app/dist/services/media.service.js:108:25)

at async JobService.onJobStart (/usr/src/app/dist/services/job.service.js:148:28)

at async EventRepository.onEvent (/usr/src/app/dist/repositories/event.repository.js:134:13)

at async Worker.processJob (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:394:28)

at async Worker.retryIfFailed (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:581:24)

[Nest] 7 - 12/08/2024, 11:48:02 PM ERROR [Microservices:JobService] Object:

{

"id": "6c3e9ba3-1345-4880-9ebe-a96adcbfdd6d"

}

[Nest] 7 - 12/08/2024, 11:48:02 PM ERROR [Microservices:JobService] Unable to run job handler (thumbnailGeneration/generate-thumbnails): Error: VipsJpeg: ./lib/jpegli/decode_scan.cc:539: Failed to decode DCT block

[Nest] 7 - 12/08/2024, 11:48:02 PM ERROR [Microservices:JobService] Error: VipsJpeg: ./lib/jpegli/decode_scan.cc:539: Failed to decode DCT block

at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)

at MediaRepository.decodeImage (/usr/src/app/dist/repositories/media.repository.js:57:68)

at MediaService.generateImageThumbnails (/usr/src/app/dist/services/media.service.js:158:63)

at process.processTicksAndRejections (node:internal/process/task_queues:105:5)

at async MediaService.handleGenerateThumbnails (/usr/src/app/dist/services/media.service.js:108:25)

at async JobService.onJobStart (/usr/src/app/dist/services/job.service.js:148:28)

at async EventRepository.onEvent (/usr/src/app/dist/repositories/event.repository.js:134:13)

at async Worker.processJob (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:394:28)

at async Worker.retryIfFailed (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:581:24)

[Nest] 7 - 12/08/2024, 11:48:02 PM ERROR [Microservices:JobService] Object:

{

"id": "42c0836f-0b6f-4f4b-9083-5e98f1fc332b"

}

[Nest] 7 - 12/08/2024, 11:48:03 PM ERROR [Microservices:JobService] Unable to run job handler (thumbnailGeneration/generate-thumbnails): Error: Input file contains unsupported image format

[Nest] 7 - 12/08/2024, 11:48:03 PM ERROR [Microservices:JobService] Error: Input file contains unsupported image format

at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)

at MediaRepository.decodeImage (/usr/src/app/dist/repositories/media.repository.js:57:68)

at MediaService.generateImageThumbnails (/usr/src/app/dist/services/media.service.js:158:63)

at process.processTicksAndRejections (node:internal/process/task_queues:105:5)

at async MediaService.handleGenerateThumbnails (/usr/src/app/dist/services/media.service.js:108:25)

at async JobService.onJobStart (/usr/src/app/dist/services/job.service.js:148:28)

at async EventRepository.onEvent (/usr/src/app/dist/repositories/event.repository.js:134:13)

at async Worker.processJob (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:394:28)

at async Worker.retryIfFailed (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:581:24)

[Nest] 7 - 12/08/2024, 11:48:03 PM ERROR [Microservices:JobService] Object:

{

"id": "154c0053-89bf-4d29-b12d-c5e0f89acdab"

}

[Nest] 7 - 12/08/2024, 11:48:03 PM ERROR [Microservices:JobService] Unable to run job handler (thumbnailGeneration/generate-thumbnails): Error: No video streams found for asset 5743b125-350e-4e9a-8aa2-8a98ceb409df

[Nest] 7 - 12/08/2024, 11:48:03 PM ERROR [Microservices:JobService] Error: No video streams found for asset 5743b125-350e-4e9a-8aa2-8a98ceb409df

at MediaService.generateVideoThumbnails (/usr/src/app/dist/services/media.service.js:181:19)

at async MediaService.handleGenerateThumbnails (/usr/src/app/dist/services/media.service.js:105:25)

at async JobService.onJobStart (/usr/src/app/dist/services/job.service.js:148:28)

at async EventRepository.onEvent (/usr/src/app/dist/repositories/event.repository.js:134:13)

at async Worker.processJob (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:394:28)

at async Worker.retryIfFailed (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:581:24)

[Nest] 7 - 12/08/2024, 11:48:03 PM ERROR [Microservices:JobService] Object:

{

"id": "5743b125-350e-4e9a-8aa2-8a98ceb409df"

}

[Nest] 7 - 12/08/2024, 11:48:03 PM ERROR [Microservices:JobService] Unable to run job handler (thumbnailGeneration/generate-thumbnails): Error: Input file contains unsupported image format

[Nest] 7 - 12/08/2024, 11:48:03 PM ERROR [Microservices:JobService] Error: Input file contains unsupported image format

at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)

at MediaRepository.decodeImage (/usr/src/app/dist/repositories/media.repository.js:57:68)

at MediaService.generateImageThumbnails (/usr/src/app/dist/services/media.service.js:158:63)

at process.processTicksAndRejections (node:internal/process/task_queues:105:5)

at async MediaService.handleGenerateThumbnails (/usr/src/app/dist/services/media.service.js:108:25)

at async JobService.onJobStart (/usr/src/app/dist/services/job.service.js:148:28)

at async EventRepository.onEvent (/usr/src/app/dist/repositories/event.repository.js:134:13)

at async Worker.processJob (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:394:28)

at async Worker.retryIfFailed (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:581:24)

[Nest] 7 - 12/08/2024, 11:48:03 PM ERROR [Microservices:JobService] Object:

{

"id": "3bd0696d-dc3c-4ec0-a9c7-a329d0a24478"

}

[Nest] 7 - 12/08/2024, 11:48:03 PM ERROR [Microservices:JobService] Unable to run job handler (thumbnailGeneration/generate-thumbnails): Error: Input file contains unsupported image format

[Nest] 7 - 12/08/2024, 11:48:03 PM ERROR [Microservices:JobService] Error: Input file contains unsupported image format

at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)

at MediaRepository.decodeImage (/usr/src/app/dist/repositories/media.repository.js:57:68)

at MediaService.generateImageThumbnails (/usr/src/app/dist/services/media.service.js:158:63)

at process.processTicksAndRejections (node:internal/process/task_queues:105:5)

at async MediaService.handleGenerateThumbnails (/usr/src/app/dist/services/media.service.js:108:25)

at async JobService.onJobStart (/usr/src/app/dist/services/job.service.js:148:28)

at async EventRepository.onEvent (/usr/src/app/dist/repositories/event.repository.js:134:13)

at async Worker.processJob (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:394:28)

at async Worker.retryIfFailed (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:581:24)

[Nest] 7 - 12/08/2024, 11:48:03 PM ERROR [Microservices:JobService] Object:

{

"id": "7f8c6c36-1fec-4167-adcf-da1274d4bc85"

}

`

@gailta
Copy link
Author

gailta commented Dec 8, 2024

If i update the library, i just get the log:

`[Nest] 17 - 12/08/2024, 11:53:18 PM WARN [Api:JobRepository~xpt9kbgt] Unable to set queue concurrency, worker not found: 'thumbnailGeneration'

[Nest] 17 - 12/08/2024, 11:53:18 PM WARN [Api:JobRepository~xpt9kbgt] Unable to set queue concurrency, worker not found: 'metadataExtraction'

[Nest] 17 - 12/08/2024, 11:53:18 PM WARN [Api:JobRepository~xpt9kbgt] Unable to set queue concurrency, worker not found: 'videoConversion'

[Nest] 17 - 12/08/2024, 11:53:18 PM WARN [Api:JobRepository~xpt9kbgt] Unable to set queue concurrency, worker not found: 'faceDetection'

[Nest] 17 - 12/08/2024, 11:53:18 PM WARN [Api:JobRepository~xpt9kbgt] Unable to set queue concurrency, worker not found: 'facialRecognition'

[Nest] 17 - 12/08/2024, 11:53:18 PM WARN [Api:JobRepository~xpt9kbgt] Unable to set queue concurrency, worker not found: 'smartSearch'

[Nest] 17 - 12/08/2024, 11:53:18 PM WARN [Api:JobRepository~xpt9kbgt] Unable to set queue concurrency, worker not found: 'duplicateDetection'

[Nest] 17 - 12/08/2024, 11:53:18 PM WARN [Api:JobRepository~xpt9kbgt] Unable to set queue concurrency, worker not found: 'backgroundTask'

[Nest] 17 - 12/08/2024, 11:53:18 PM WARN [Api:JobRepository~xpt9kbgt] Unable to set queue concurrency, worker not found: 'storageTemplateMigration'

[Nest] 17 - 12/08/2024, 11:53:18 PM WARN [Api:JobRepository~xpt9kbgt] Unable to set queue concurrency, worker not found: 'migration'

[Nest] 17 - 12/08/2024, 11:53:18 PM WARN [Api:JobRepository~xpt9kbgt] Unable to set queue concurrency, worker not found: 'search'

[Nest] 17 - 12/08/2024, 11:53:18 PM WARN [Api:JobRepository~xpt9kbgt] Unable to set queue concurrency, worker not found: 'sidecar'

[Nest] 17 - 12/08/2024, 11:53:18 PM WARN [Api:JobRepository~xpt9kbgt] Unable to set queue concurrency, worker not found: 'library'

[Nest] 17 - 12/08/2024, 11:53:18 PM WARN [Api:JobRepository~xpt9kbgt] Unable to set queue concurrency, worker not found: 'notifications'

[Nest] 17 - 12/08/2024, 11:53:18 PM WARN [Api:JobRepository~xpt9kbgt] Unable to set queue concurrency, worker not found: 'backupDatabase'`

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