immich-app / immich

High performance self-hosted photo and video management solution.
https://immich.app
GNU Affero General Public License v3.0
51.07k stars 2.7k forks source link

Thumbnail Generation Failure: Error: ffprobe exited with code 1 #14023

Open sgoggins opened 6 hours ago

sgoggins commented 6 hours ago

The bug

Everything works until scanning locally mounted directories of existing images. When generating "missing thumbnails" the immich_server process goes into an endless restarting circle that can only be exited by shutting down the container and restarting it. The error, below, occurs each time missing thumbnails are requested.

024-11-08 13:34:55 [Nest] 7  - 11/08/2024, 7:34:55 PM     LOG [Microservices:StorageService] Successfully verified system mount folder checks
2024-11-08 13:34:55 [Nest] 7  - 11/08/2024, 7:34:55 PM     LOG [Microservices:LibraryService] Starting to watch library 03fadc69-44a6-44ed-87ca-8329ccf130b5 with import path(s) /ed/gpix
2024-11-08 13:34:55 [Nest] 17  - 11/08/2024, 7:34:55 PM     LOG [Api:EventRepository] Initialized websocket server
2024-11-08 13:34:56 [Nest] 7  - 11/08/2024, 7:34:56 PM     LOG [Microservices:LibraryService] Starting to watch library b8c6bb1a-68a9-4317-8675-2efbd1e9586f with import path(s) /ed/gpix.sean
2024-11-08 13:34:56 [Nest] 17  - 11/08/2024, 7:34:56 PM     LOG [Api:ServerService] Feature Flags: {
2024-11-08 13:34:56   "smartSearch": true,
2024-11-08 13:34:56   "facialRecognition": true,
2024-11-08 13:34:56   "duplicateDetection": true,
2024-11-08 13:34:56   "map": true,
2024-11-08 13:34:56   "reverseGeocoding": true,
2024-11-08 13:34:56   "importFaces": true,
2024-11-08 13:34:56   "sidecar": true,
2024-11-08 13:34:56   "search": true,
2024-11-08 13:34:56   "trash": true,
2024-11-08 13:34:56   "oauth": false,
2024-11-08 13:34:56   "oauthAutoLaunch": false,
2024-11-08 13:34:56   "passwordLogin": true,
2024-11-08 13:34:56   "configFile": false,
2024-11-08 13:34:56   "email": false
2024-11-08 13:34:56 }
2024-11-08 13:34:56 [Nest] 17  - 11/08/2024, 7:34:56 PM     LOG [Api:StorageService] Verifying system mount folder checks, current state: {"mountChecks":{"thumbs":true,"upload":true,"backups":true,"library":true,"profile":true,"encoded-video":true}}
2024-11-08 13:34:56 [Nest] 17  - 11/08/2024, 7:34:56 PM     LOG [Api:StorageService] Successfully verified system mount folder checks
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Unable to run job handler (thumbnailGeneration/generate-thumbnails): Error: ffprobe exited with code 1
2024-11-08 13:35:34 ffprobe version 7.0.2-Jellyfin Copyright (c) 2007-2024 the FFmpeg developers
2024-11-08 13:35:34   built with gcc 12 (Debian 12.2.0-14)
2024-11-08 13:35:34   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=arm64 --cross-prefix=/usr/bin/aarch64-linux-gnu- --toolchain=hardened --enable-cross-compile --enable-rkmpp --enable-rkrga
2024-11-08 13:35:34   libavutil      59.  8.100 / 59.  8.100
2024-11-08 13:35:34   libavcodec     61.  3.100 / 61.  3.100
2024-11-08 13:35:34   libavformat    61.  1.100 / 61.  1.100
2024-11-08 13:35:34   libavdevice    61.  1.100 / 61.  1.100
2024-11-08 13:35:34   libavfilter    10.  1.100 / 10.  1.100
2024-11-08 13:35:34   libswscale      8.  1.100 /  8.  1.100
2024-11-08 13:35:34   libswresample   5.  1.100 /  5.  1.100
2024-11-08 13:35:34   libpostproc    58.  1.100 / 58.  1.100
2024-11-08 13:35:34 /ed/gpix.sean/20190904-wg-augur.mp4: Resource deadlock avoided
2024-11-08 13:35:34 
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Error: ffprobe exited with code 1
2024-11-08 13:35:34 ffprobe version 7.0.2-Jellyfin Copyright (c) 2007-2024 the FFmpeg developers
2024-11-08 13:35:34   built with gcc 12 (Debian 12.2.0-14)
2024-11-08 13:35:34   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=arm64 --cross-prefix=/usr/bin/aarch64-linux-gnu- --toolchain=hardened --enable-cross-compile --enable-rkmpp --enable-rkrga
2024-11-08 13:35:34   libavutil      59.  8.100 / 59.  8.100
2024-11-08 13:35:34   libavcodec     61.  3.100 / 61.  3.100
2024-11-08 13:35:34   libavformat    61.  1.100 / 61.  1.100
2024-11-08 13:35:34   libavdevice    61.  1.100 / 61.  1.100
2024-11-08 13:35:34   libavfilter    10.  1.100 / 10.  1.100
2024-11-08 13:35:34   libswscale      8.  1.100 /  8.  1.100
2024-11-08 13:35:34   libswresample   5.  1.100 /  5.  1.100
2024-11-08 13:35:34   libpostproc    58.  1.100 / 58.  1.100
2024-11-08 13:35:34 /ed/gpix.sean/20190904-wg-augur.mp4: Resource deadlock avoided
2024-11-08 13:35:34 
2024-11-08 13:35:34     at ChildProcess.<anonymous> (/usr/src/app/node_modules/fluent-ffmpeg/lib/ffprobe.js:233:22)
2024-11-08 13:35:34     at ChildProcess.emit (node:events:518:28)
2024-11-08 13:35:34     at ChildProcess._handle.onexit (node:internal/child_process:293:12)
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Object:
2024-11-08 13:35:34 {
2024-11-08 13:35:34   "id": "e5ee712b-1d9f-437f-8846-755d124dcd39"
2024-11-08 13:35:34 }
2024-11-08 13:35:34 
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Unable to run job handler (thumbnailGeneration/generate-thumbnails): Error: Input file contains unsupported image format
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Error: Input file contains unsupported image format
2024-11-08 13:35:34     at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)
2024-11-08 13:35:34     at MediaRepository.decodeImage (/usr/src/app/dist/repositories/media.repository.js:56:68)
2024-11-08 13:35:34     at MediaService.generateImageThumbnails (/usr/src/app/dist/services/media.service.js:157:63)
2024-11-08 13:35:34     at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
2024-11-08 13:35:34     at async MediaService.handleGenerateThumbnails (/usr/src/app/dist/services/media.service.js:108:25)
2024-11-08 13:35:34     at async JobService.onJobStart (/usr/src/app/dist/services/job.service.js:148:28)
2024-11-08 13:35:34     at async EventRepository.onEvent (/usr/src/app/dist/repositories/event.repository.js:122:13)
2024-11-08 13:35:34     at async Worker.processJob (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:394:28)
2024-11-08 13:35:34     at async Worker.retryIfFailed (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:581:24)
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Object:
2024-11-08 13:35:34 {
2024-11-08 13:35:34   "id": "916b9ec9-0f65-4e01-a161-79bd3dd9abf3"
2024-11-08 13:35:34 }
2024-11-08 13:35:34 
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Unable to run job handler (thumbnailGeneration/generate-thumbnails): Error: Input file contains unsupported image format
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Error: Input file contains unsupported image format
2024-11-08 13:35:34     at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)
2024-11-08 13:35:34     at MediaRepository.decodeImage (/usr/src/app/dist/repositories/media.repository.js:56:68)
2024-11-08 13:35:34     at MediaService.generateImageThumbnails (/usr/src/app/dist/services/media.service.js:157:63)
2024-11-08 13:35:34     at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
2024-11-08 13:35:34     at async MediaService.handleGenerateThumbnails (/usr/src/app/dist/services/media.service.js:108:25)
2024-11-08 13:35:34     at async JobService.onJobStart (/usr/src/app/dist/services/job.service.js:148:28)
2024-11-08 13:35:34     at async EventRepository.onEvent (/usr/src/app/dist/repositories/event.repository.js:122:13)
2024-11-08 13:35:34     at async Worker.processJob (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:394:28)
2024-11-08 13:35:34     at async Worker.retryIfFailed (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:581:24)
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Object:
2024-11-08 13:35:34 {
2024-11-08 13:35:34   "id": "85aadcae-a729-4ca0-9b08-c6a34f85bec9"
2024-11-08 13:35:34 }
2024-11-08 13:35:34 
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Unable to run job handler (thumbnailGeneration/generate-thumbnails): Error: Input file contains unsupported image format
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Error: Input file contains unsupported image format
2024-11-08 13:35:34     at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)
2024-11-08 13:35:34     at MediaRepository.decodeImage (/usr/src/app/dist/repositories/media.repository.js:56:68)
2024-11-08 13:35:34     at MediaService.generateImageThumbnails (/usr/src/app/dist/services/media.service.js:157:63)
2024-11-08 13:35:34     at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
2024-11-08 13:35:34     at async MediaService.handleGenerateThumbnails (/usr/src/app/dist/services/media.service.js:108:25)
2024-11-08 13:35:34     at async JobService.onJobStart (/usr/src/app/dist/services/job.service.js:148:28)
2024-11-08 13:35:34     at async EventRepository.onEvent (/usr/src/app/dist/repositories/event.repository.js:122:13)
2024-11-08 13:35:34     at async Worker.processJob (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:394:28)
2024-11-08 13:35:34     at async Worker.retryIfFailed (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:581:24)
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Object:
2024-11-08 13:35:34 {
2024-11-08 13:35:34   "id": "4761add8-79a1-44c9-9675-b0db131fd19f"
2024-11-08 13:35:34 }
2024-11-08 13:35:34 
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Unable to run job handler (thumbnailGeneration/generate-thumbnails): Error: Input file contains unsupported image format
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Error: Input file contains unsupported image format
2024-11-08 13:35:34     at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)
2024-11-08 13:35:34     at MediaRepository.decodeImage (/usr/src/app/dist/repositories/media.repository.js:56:68)
2024-11-08 13:35:34     at MediaService.generateImageThumbnails (/usr/src/app/dist/services/media.service.js:157:63)
2024-11-08 13:35:34     at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
2024-11-08 13:35:34     at async MediaService.handleGenerateThumbnails (/usr/src/app/dist/services/media.service.js:108:25)
2024-11-08 13:35:34     at async JobService.onJobStart (/usr/src/app/dist/services/job.service.js:148:28)
2024-11-08 13:35:34     at async EventRepository.onEvent (/usr/src/app/dist/repositories/event.repository.js:122:13)
2024-11-08 13:35:34     at async Worker.processJob (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:394:28)
2024-11-08 13:35:34     at async Worker.retryIfFailed (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:581:24)
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Object:
2024-11-08 13:35:34 {
2024-11-08 13:35:34   "id": "0e584aca-9b67-421b-a0d5-b77015efc8ac"
2024-11-08 13:35:34 }
2024-11-08 13:35:34 
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Unable to run job handler (thumbnailGeneration/generate-thumbnails): Error: Input file contains unsupported image format
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Error: Input file contains unsupported image format
2024-11-08 13:35:34     at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)
2024-11-08 13:35:34     at MediaRepository.decodeImage (/usr/src/app/dist/repositories/media.repository.js:56:68)
2024-11-08 13:35:34     at MediaService.generateImageThumbnails (/usr/src/app/dist/services/media.service.js:157:63)
2024-11-08 13:35:34     at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
2024-11-08 13:35:34     at async MediaService.handleGenerateThumbnails (/usr/src/app/dist/services/media.service.js:108:25)
2024-11-08 13:35:34     at async JobService.onJobStart (/usr/src/app/dist/services/job.service.js:148:28)
2024-11-08 13:35:34     at async EventRepository.onEvent (/usr/src/app/dist/repositories/event.repository.js:122:13)
2024-11-08 13:35:34     at async Worker.processJob (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:394:28)
2024-11-08 13:35:34     at async Worker.retryIfFailed (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:581:24)
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Object:
2024-11-08 13:35:34 {
2024-11-08 13:35:34   "id": "5429ee67-58de-4fd1-ac70-8be9b0e99f7d"
2024-11-08 13:35:34 }
2024-11-08 13:35:34 
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Unable to run job handler (thumbnailGeneration/generate-thumbnails): Error: Input file contains unsupported image format
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Error: Input file contains unsupported image format
2024-11-08 13:35:34     at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)
2024-11-08 13:35:34     at MediaRepository.decodeImage (/usr/src/app/dist/repositories/media.repository.js:56:68)
2024-11-08 13:35:34     at MediaService.generateImageThumbnails (/usr/src/app/dist/services/media.service.js:157:63)
2024-11-08 13:35:34     at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
2024-11-08 13:35:34     at async MediaService.handleGenerateThumbnails (/usr/src/app/dist/services/media.service.js:108:25)
2024-11-08 13:35:34     at async JobService.onJobStart (/usr/src/app/dist/services/job.service.js:148:28)
2024-11-08 13:35:34     at async EventRepository.onEvent (/usr/src/app/dist/repositories/event.repository.js:122:13)
2024-11-08 13:35:34     at async Worker.processJob (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:394:28)
2024-11-08 13:35:34     at async Worker.retryIfFailed (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:581:24)
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Object:
2024-11-08 13:35:34 {
2024-11-08 13:35:34   "id": "abe97491-d3fe-4ade-8c41-c8254c9ccebd"
2024-11-08 13:35:34 }
2024-11-08 13:35:34 
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Unable to run job handler (thumbnailGeneration/generate-thumbnails): Error: Input file contains unsupported image format
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Error: Input file contains unsupported image format
2024-11-08 13:35:34     at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)
2024-11-08 13:35:34     at MediaRepository.decodeImage (/usr/src/app/dist/repositories/media.repository.js:56:68)
2024-11-08 13:35:34     at MediaService.generateImageThumbnails (/usr/src/app/dist/services/media.service.js:157:63)
2024-11-08 13:35:34     at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
2024-11-08 13:35:34     at async MediaService.handleGenerateThumbnails (/usr/src/app/dist/services/media.service.js:108:25)
2024-11-08 13:35:34     at async JobService.onJobStart (/usr/src/app/dist/services/job.service.js:148:28)
2024-11-08 13:35:34     at async EventRepository.onEvent (/usr/src/app/dist/repositories/event.repository.js:122:13)
2024-11-08 13:35:34     at async Worker.processJob (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:394:28)
2024-11-08 13:35:34     at async Worker.retryIfFailed (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:581:24)
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Object:
2024-11-08 13:35:34 {
2024-11-08 13:35:34   "id": "0a5cef28-4d17-41a6-8735-d916aa037fde"
2024-11-08 13:35:34 }
2024-11-08 13:35:34 
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Unable to run job handler (thumbnailGeneration/generate-thumbnails): Error: Input file contains unsupported image format
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Error: Input file contains unsupported image format
2024-11-08 13:35:34     at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)
2024-11-08 13:35:34     at MediaRepository.decodeImage (/usr/src/app/dist/repositories/media.repository.js:56:68)
2024-11-08 13:35:34     at MediaService.generateImageThumbnails (/usr/src/app/dist/services/media.service.js:157:63)
2024-11-08 13:35:34     at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
2024-11-08 13:35:34     at async MediaService.handleGenerateThumbnails (/usr/src/app/dist/services/media.service.js:108:25)
2024-11-08 13:35:34     at async JobService.onJobStart (/usr/src/app/dist/services/job.service.js:148:28)
2024-11-08 13:35:34     at async EventRepository.onEvent (/usr/src/app/dist/repositories/event.repository.js:122:13)
2024-11-08 13:35:34     at async Worker.processJob (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:394:28)
2024-11-08 13:35:34     at async Worker.retryIfFailed (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:581:24)
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Object:
2024-11-08 13:35:34 {
2024-11-08 13:35:34   "id": "1240acfb-a849-4b25-8f0a-2043c8855acc"
2024-11-08 13:35:34 }
2024-11-08 13:35:34 
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Unable to run job handler (thumbnailGeneration/generate-thumbnails): Error: Input file contains unsupported image format
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Error: Input file contains unsupported image format
2024-11-08 13:35:34     at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)
2024-11-08 13:35:34     at MediaRepository.decodeImage (/usr/src/app/dist/repositories/media.repository.js:56:68)
2024-11-08 13:35:34     at MediaService.generateImageThumbnails (/usr/src/app/dist/services/media.service.js:157:63)
2024-11-08 13:35:34     at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
2024-11-08 13:35:34     at async MediaService.handleGenerateThumbnails (/usr/src/app/dist/services/media.service.js:108:25)
2024-11-08 13:35:34     at async JobService.onJobStart (/usr/src/app/dist/services/job.service.js:148:28)
2024-11-08 13:35:34     at async EventRepository.onEvent (/usr/src/app/dist/repositories/event.repository.js:122:13)
2024-11-08 13:35:34     at async Worker.processJob (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:394:28)
2024-11-08 13:35:34     at async Worker.retryIfFailed (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:581:24)
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Object:
2024-11-08 13:35:34 {
2024-11-08 13:35:34   "id": "e9f5cdd4-0400-4acd-9beb-2d4e13fb5a47"
2024-11-08 13:35:34 }
2024-11-08 13:35:34 
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Unable to run job handler (thumbnailGeneration/generate-thumbnails): Error: Input file contains unsupported image format
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Error: Input file contains unsupported image format
2024-11-08 13:35:34     at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)
2024-11-08 13:35:34     at MediaRepository.decodeImage (/usr/src/app/dist/repositories/media.repository.js:56:68)
2024-11-08 13:35:34     at MediaService.generateImageThumbnails (/usr/src/app/dist/services/media.service.js:157:63)
2024-11-08 13:35:34     at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
2024-11-08 13:35:34     at async MediaService.handleGenerateThumbnails (/usr/src/app/dist/services/media.service.js:108:25)
2024-11-08 13:35:34     at async JobService.onJobStart (/usr/src/app/dist/services/job.service.js:148:28)
2024-11-08 13:35:34     at async EventRepository.onEvent (/usr/src/app/dist/repositories/event.repository.js:122:13)
2024-11-08 13:35:34     at async Worker.processJob (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:394:28)
2024-11-08 13:35:34     at async Worker.retryIfFailed (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:581:24)
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Object:
2024-11-08 13:35:34 {
2024-11-08 13:35:34   "id": "72c8a13a-66b2-4111-83c7-a2392fc8f898"
2024-11-08 13:35:34 }
2024-11-08 13:35:34 
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Unable to run job handler (thumbnailGeneration/generate-thumbnails): Error: Input file contains unsupported image format
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Error: Input file contains unsupported image format
2024-11-08 13:35:34     at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)
2024-11-08 13:35:34     at MediaRepository.decodeImage (/usr/src/app/dist/repositories/media.repository.js:56:68)
2024-11-08 13:35:34     at MediaService.generateImageThumbnails (/usr/src/app/dist/services/media.service.js:157:63)
2024-11-08 13:35:34     at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
2024-11-08 13:35:34     at async MediaService.handleGenerateThumbnails (/usr/src/app/dist/services/media.service.js:108:25)
2024-11-08 13:35:34     at async JobService.onJobStart (/usr/src/app/dist/services/job.service.js:148:28)
2024-11-08 13:35:34     at async EventRepository.onEvent (/usr/src/app/dist/repositories/event.repository.js:122:13)
2024-11-08 13:35:34     at async Worker.processJob (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:394:28)
2024-11-08 13:35:34     at async Worker.retryIfFailed (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:581:24)
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Object:
2024-11-08 13:35:34 {
2024-11-08 13:35:34   "id": "857c9595-edcb-41ff-b940-bc89174184ed"
2024-11-08 13:35:34 }
2024-11-08 13:35:34 

This is my docker-compose.yml:

#
# 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
      - /Volumes/super_54/Sync/immich-app/gpix/:/ed/gpix:ro
      - /Volumes/super_54/Sync/immich-app/gpix.sean/:/ed/gpix.sean:ro
      - /Volumes/super_54/Sync/immich-app/immich-config.json:/Volumes/super_54/Sync/immich-app/immich-config.json
    env_file:
      - .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:
      - .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:

The OS that Immich Server is running on

OSX

Version of Immich Server

v1.120.1

Version of Immich Mobile App

n/a

Platform with the issue

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
      - /Volumes/super_54/Sync/immich-app/gpix/:/ed/gpix:ro
      - /Volumes/super_54/Sync/immich-app/gpix.sean/:/ed/gpix.sean:ro
      - /Volumes/super_54/Sync/immich-app/immich-config.json:/Volumes/super_54/Sync/immich-app/immich-config.json
    env_file:
      - .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:
      - .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

# You can find documentation for all the supported env variables at https://immich.app/docs/install/environment-variables
#IMMICH_CONFIG_FILE=/Volumes/super_54/Sync/immich-app/immich-config.json
# The location where your uploaded files are stored
UPLOAD_LOCATION=./library
# The location where your database files are stored
DB_DATA_LOCATION=./postgres

# To set a timezone, uncomment the next line and change Etc/UTC to a TZ identifier from this list: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List
# TZ=Etc/UTC

# 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
# Please use only the characters `A-Za-z0-9`, without special characters or spaces
DB_PASSWORD=postgres

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

Reproduction steps

1. 2. 3. ...

Relevant log output

024-11-08 13:34:55 [Nest] 7  - 11/08/2024, 7:34:55 PM     LOG [Microservices:StorageService] Successfully verified system mount folder checks
2024-11-08 13:34:55 [Nest] 7  - 11/08/2024, 7:34:55 PM     LOG [Microservices:LibraryService] Starting to watch library 03fadc69-44a6-44ed-87ca-8329ccf130b5 with import path(s) /ed/gpix
2024-11-08 13:34:55 [Nest] 17  - 11/08/2024, 7:34:55 PM     LOG [Api:EventRepository] Initialized websocket server
2024-11-08 13:34:56 [Nest] 7  - 11/08/2024, 7:34:56 PM     LOG [Microservices:LibraryService] Starting to watch library b8c6bb1a-68a9-4317-8675-2efbd1e9586f with import path(s) /ed/gpix.sean
2024-11-08 13:34:56 [Nest] 17  - 11/08/2024, 7:34:56 PM     LOG [Api:ServerService] Feature Flags: {
2024-11-08 13:34:56   "smartSearch": true,
2024-11-08 13:34:56   "facialRecognition": true,
2024-11-08 13:34:56   "duplicateDetection": true,
2024-11-08 13:34:56   "map": true,
2024-11-08 13:34:56   "reverseGeocoding": true,
2024-11-08 13:34:56   "importFaces": true,
2024-11-08 13:34:56   "sidecar": true,
2024-11-08 13:34:56   "search": true,
2024-11-08 13:34:56   "trash": true,
2024-11-08 13:34:56   "oauth": false,
2024-11-08 13:34:56   "oauthAutoLaunch": false,
2024-11-08 13:34:56   "passwordLogin": true,
2024-11-08 13:34:56   "configFile": false,
2024-11-08 13:34:56   "email": false
2024-11-08 13:34:56 }
2024-11-08 13:34:56 [Nest] 17  - 11/08/2024, 7:34:56 PM     LOG [Api:StorageService] Verifying system mount folder checks, current state: {"mountChecks":{"thumbs":true,"upload":true,"backups":true,"library":true,"profile":true,"encoded-video":true}}
2024-11-08 13:34:56 [Nest] 17  - 11/08/2024, 7:34:56 PM     LOG [Api:StorageService] Successfully verified system mount folder checks
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Unable to run job handler (thumbnailGeneration/generate-thumbnails): Error: ffprobe exited with code 1
2024-11-08 13:35:34 ffprobe version 7.0.2-Jellyfin Copyright (c) 2007-2024 the FFmpeg developers
2024-11-08 13:35:34   built with gcc 12 (Debian 12.2.0-14)
2024-11-08 13:35:34   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=arm64 --cross-prefix=/usr/bin/aarch64-linux-gnu- --toolchain=hardened --enable-cross-compile --enable-rkmpp --enable-rkrga
2024-11-08 13:35:34   libavutil      59.  8.100 / 59.  8.100
2024-11-08 13:35:34   libavcodec     61.  3.100 / 61.  3.100
2024-11-08 13:35:34   libavformat    61.  1.100 / 61.  1.100
2024-11-08 13:35:34   libavdevice    61.  1.100 / 61.  1.100
2024-11-08 13:35:34   libavfilter    10.  1.100 / 10.  1.100
2024-11-08 13:35:34   libswscale      8.  1.100 /  8.  1.100
2024-11-08 13:35:34   libswresample   5.  1.100 /  5.  1.100
2024-11-08 13:35:34   libpostproc    58.  1.100 / 58.  1.100
2024-11-08 13:35:34 /ed/gpix.sean/20190904-wg-augur.mp4: Resource deadlock avoided
2024-11-08 13:35:34 
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Error: ffprobe exited with code 1
2024-11-08 13:35:34 ffprobe version 7.0.2-Jellyfin Copyright (c) 2007-2024 the FFmpeg developers
2024-11-08 13:35:34   built with gcc 12 (Debian 12.2.0-14)
2024-11-08 13:35:34   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=arm64 --cross-prefix=/usr/bin/aarch64-linux-gnu- --toolchain=hardened --enable-cross-compile --enable-rkmpp --enable-rkrga
2024-11-08 13:35:34   libavutil      59.  8.100 / 59.  8.100
2024-11-08 13:35:34   libavcodec     61.  3.100 / 61.  3.100
2024-11-08 13:35:34   libavformat    61.  1.100 / 61.  1.100
2024-11-08 13:35:34   libavdevice    61.  1.100 / 61.  1.100
2024-11-08 13:35:34   libavfilter    10.  1.100 / 10.  1.100
2024-11-08 13:35:34   libswscale      8.  1.100 /  8.  1.100
2024-11-08 13:35:34   libswresample   5.  1.100 /  5.  1.100
2024-11-08 13:35:34   libpostproc    58.  1.100 / 58.  1.100
2024-11-08 13:35:34 /ed/gpix.sean/20190904-wg-augur.mp4: Resource deadlock avoided
2024-11-08 13:35:34 
2024-11-08 13:35:34     at ChildProcess.<anonymous> (/usr/src/app/node_modules/fluent-ffmpeg/lib/ffprobe.js:233:22)
2024-11-08 13:35:34     at ChildProcess.emit (node:events:518:28)
2024-11-08 13:35:34     at ChildProcess._handle.onexit (node:internal/child_process:293:12)
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Object:
2024-11-08 13:35:34 {
2024-11-08 13:35:34   "id": "e5ee712b-1d9f-437f-8846-755d124dcd39"
2024-11-08 13:35:34 }
2024-11-08 13:35:34 
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Unable to run job handler (thumbnailGeneration/generate-thumbnails): Error: Input file contains unsupported image format
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Error: Input file contains unsupported image format
2024-11-08 13:35:34     at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)
2024-11-08 13:35:34     at MediaRepository.decodeImage (/usr/src/app/dist/repositories/media.repository.js:56:68)
2024-11-08 13:35:34     at MediaService.generateImageThumbnails (/usr/src/app/dist/services/media.service.js:157:63)
2024-11-08 13:35:34     at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
2024-11-08 13:35:34     at async MediaService.handleGenerateThumbnails (/usr/src/app/dist/services/media.service.js:108:25)
2024-11-08 13:35:34     at async JobService.onJobStart (/usr/src/app/dist/services/job.service.js:148:28)
2024-11-08 13:35:34     at async EventRepository.onEvent (/usr/src/app/dist/repositories/event.repository.js:122:13)
2024-11-08 13:35:34     at async Worker.processJob (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:394:28)
2024-11-08 13:35:34     at async Worker.retryIfFailed (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:581:24)
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Object:
2024-11-08 13:35:34 {
2024-11-08 13:35:34   "id": "916b9ec9-0f65-4e01-a161-79bd3dd9abf3"
2024-11-08 13:35:34 }
2024-11-08 13:35:34 
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Unable to run job handler (thumbnailGeneration/generate-thumbnails): Error: Input file contains unsupported image format
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Error: Input file contains unsupported image format
2024-11-08 13:35:34     at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)
2024-11-08 13:35:34     at MediaRepository.decodeImage (/usr/src/app/dist/repositories/media.repository.js:56:68)
2024-11-08 13:35:34     at MediaService.generateImageThumbnails (/usr/src/app/dist/services/media.service.js:157:63)
2024-11-08 13:35:34     at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
2024-11-08 13:35:34     at async MediaService.handleGenerateThumbnails (/usr/src/app/dist/services/media.service.js:108:25)
2024-11-08 13:35:34     at async JobService.onJobStart (/usr/src/app/dist/services/job.service.js:148:28)
2024-11-08 13:35:34     at async EventRepository.onEvent (/usr/src/app/dist/repositories/event.repository.js:122:13)
2024-11-08 13:35:34     at async Worker.processJob (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:394:28)
2024-11-08 13:35:34     at async Worker.retryIfFailed (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:581:24)
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Object:
2024-11-08 13:35:34 {
2024-11-08 13:35:34   "id": "85aadcae-a729-4ca0-9b08-c6a34f85bec9"
2024-11-08 13:35:34 }
2024-11-08 13:35:34 
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Unable to run job handler (thumbnailGeneration/generate-thumbnails): Error: Input file contains unsupported image format
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Error: Input file contains unsupported image format
2024-11-08 13:35:34     at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)
2024-11-08 13:35:34     at MediaRepository.decodeImage (/usr/src/app/dist/repositories/media.repository.js:56:68)
2024-11-08 13:35:34     at MediaService.generateImageThumbnails (/usr/src/app/dist/services/media.service.js:157:63)
2024-11-08 13:35:34     at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
2024-11-08 13:35:34     at async MediaService.handleGenerateThumbnails (/usr/src/app/dist/services/media.service.js:108:25)
2024-11-08 13:35:34     at async JobService.onJobStart (/usr/src/app/dist/services/job.service.js:148:28)
2024-11-08 13:35:34     at async EventRepository.onEvent (/usr/src/app/dist/repositories/event.repository.js:122:13)
2024-11-08 13:35:34     at async Worker.processJob (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:394:28)
2024-11-08 13:35:34     at async Worker.retryIfFailed (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:581:24)
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Object:
2024-11-08 13:35:34 {
2024-11-08 13:35:34   "id": "4761add8-79a1-44c9-9675-b0db131fd19f"
2024-11-08 13:35:34 }
2024-11-08 13:35:34 
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Unable to run job handler (thumbnailGeneration/generate-thumbnails): Error: Input file contains unsupported image format
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Error: Input file contains unsupported image format
2024-11-08 13:35:34     at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)
2024-11-08 13:35:34     at MediaRepository.decodeImage (/usr/src/app/dist/repositories/media.repository.js:56:68)
2024-11-08 13:35:34     at MediaService.generateImageThumbnails (/usr/src/app/dist/services/media.service.js:157:63)
2024-11-08 13:35:34     at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
2024-11-08 13:35:34     at async MediaService.handleGenerateThumbnails (/usr/src/app/dist/services/media.service.js:108:25)
2024-11-08 13:35:34     at async JobService.onJobStart (/usr/src/app/dist/services/job.service.js:148:28)
2024-11-08 13:35:34     at async EventRepository.onEvent (/usr/src/app/dist/repositories/event.repository.js:122:13)
2024-11-08 13:35:34     at async Worker.processJob (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:394:28)
2024-11-08 13:35:34     at async Worker.retryIfFailed (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:581:24)
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Object:
2024-11-08 13:35:34 {
2024-11-08 13:35:34   "id": "0e584aca-9b67-421b-a0d5-b77015efc8ac"
2024-11-08 13:35:34 }
2024-11-08 13:35:34 
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Unable to run job handler (thumbnailGeneration/generate-thumbnails): Error: Input file contains unsupported image format
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Error: Input file contains unsupported image format
2024-11-08 13:35:34     at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)
2024-11-08 13:35:34     at MediaRepository.decodeImage (/usr/src/app/dist/repositories/media.repository.js:56:68)
2024-11-08 13:35:34     at MediaService.generateImageThumbnails (/usr/src/app/dist/services/media.service.js:157:63)
2024-11-08 13:35:34     at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
2024-11-08 13:35:34     at async MediaService.handleGenerateThumbnails (/usr/src/app/dist/services/media.service.js:108:25)
2024-11-08 13:35:34     at async JobService.onJobStart (/usr/src/app/dist/services/job.service.js:148:28)
2024-11-08 13:35:34     at async EventRepository.onEvent (/usr/src/app/dist/repositories/event.repository.js:122:13)
2024-11-08 13:35:34     at async Worker.processJob (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:394:28)
2024-11-08 13:35:34     at async Worker.retryIfFailed (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:581:24)
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Object:
2024-11-08 13:35:34 {
2024-11-08 13:35:34   "id": "5429ee67-58de-4fd1-ac70-8be9b0e99f7d"
2024-11-08 13:35:34 }
2024-11-08 13:35:34 
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Unable to run job handler (thumbnailGeneration/generate-thumbnails): Error: Input file contains unsupported image format
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Error: Input file contains unsupported image format
2024-11-08 13:35:34     at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)
2024-11-08 13:35:34     at MediaRepository.decodeImage (/usr/src/app/dist/repositories/media.repository.js:56:68)
2024-11-08 13:35:34     at MediaService.generateImageThumbnails (/usr/src/app/dist/services/media.service.js:157:63)
2024-11-08 13:35:34     at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
2024-11-08 13:35:34     at async MediaService.handleGenerateThumbnails (/usr/src/app/dist/services/media.service.js:108:25)
2024-11-08 13:35:34     at async JobService.onJobStart (/usr/src/app/dist/services/job.service.js:148:28)
2024-11-08 13:35:34     at async EventRepository.onEvent (/usr/src/app/dist/repositories/event.repository.js:122:13)
2024-11-08 13:35:34     at async Worker.processJob (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:394:28)
2024-11-08 13:35:34     at async Worker.retryIfFailed (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:581:24)
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Object:
2024-11-08 13:35:34 {
2024-11-08 13:35:34   "id": "abe97491-d3fe-4ade-8c41-c8254c9ccebd"
2024-11-08 13:35:34 }
2024-11-08 13:35:34 
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Unable to run job handler (thumbnailGeneration/generate-thumbnails): Error: Input file contains unsupported image format
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Error: Input file contains unsupported image format
2024-11-08 13:35:34     at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)
2024-11-08 13:35:34     at MediaRepository.decodeImage (/usr/src/app/dist/repositories/media.repository.js:56:68)
2024-11-08 13:35:34     at MediaService.generateImageThumbnails (/usr/src/app/dist/services/media.service.js:157:63)
2024-11-08 13:35:34     at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
2024-11-08 13:35:34     at async MediaService.handleGenerateThumbnails (/usr/src/app/dist/services/media.service.js:108:25)
2024-11-08 13:35:34     at async JobService.onJobStart (/usr/src/app/dist/services/job.service.js:148:28)
2024-11-08 13:35:34     at async EventRepository.onEvent (/usr/src/app/dist/repositories/event.repository.js:122:13)
2024-11-08 13:35:34     at async Worker.processJob (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:394:28)
2024-11-08 13:35:34     at async Worker.retryIfFailed (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:581:24)
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Object:
2024-11-08 13:35:34 {
2024-11-08 13:35:34   "id": "0a5cef28-4d17-41a6-8735-d916aa037fde"
2024-11-08 13:35:34 }
2024-11-08 13:35:34 
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Unable to run job handler (thumbnailGeneration/generate-thumbnails): Error: Input file contains unsupported image format
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Error: Input file contains unsupported image format
2024-11-08 13:35:34     at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)
2024-11-08 13:35:34     at MediaRepository.decodeImage (/usr/src/app/dist/repositories/media.repository.js:56:68)
2024-11-08 13:35:34     at MediaService.generateImageThumbnails (/usr/src/app/dist/services/media.service.js:157:63)
2024-11-08 13:35:34     at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
2024-11-08 13:35:34     at async MediaService.handleGenerateThumbnails (/usr/src/app/dist/services/media.service.js:108:25)
2024-11-08 13:35:34     at async JobService.onJobStart (/usr/src/app/dist/services/job.service.js:148:28)
2024-11-08 13:35:34     at async EventRepository.onEvent (/usr/src/app/dist/repositories/event.repository.js:122:13)
2024-11-08 13:35:34     at async Worker.processJob (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:394:28)
2024-11-08 13:35:34     at async Worker.retryIfFailed (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:581:24)
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Object:
2024-11-08 13:35:34 {
2024-11-08 13:35:34   "id": "1240acfb-a849-4b25-8f0a-2043c8855acc"
2024-11-08 13:35:34 }
2024-11-08 13:35:34 
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Unable to run job handler (thumbnailGeneration/generate-thumbnails): Error: Input file contains unsupported image format
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Error: Input file contains unsupported image format
2024-11-08 13:35:34     at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)
2024-11-08 13:35:34     at MediaRepository.decodeImage (/usr/src/app/dist/repositories/media.repository.js:56:68)
2024-11-08 13:35:34     at MediaService.generateImageThumbnails (/usr/src/app/dist/services/media.service.js:157:63)
2024-11-08 13:35:34     at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
2024-11-08 13:35:34     at async MediaService.handleGenerateThumbnails (/usr/src/app/dist/services/media.service.js:108:25)
2024-11-08 13:35:34     at async JobService.onJobStart (/usr/src/app/dist/services/job.service.js:148:28)
2024-11-08 13:35:34     at async EventRepository.onEvent (/usr/src/app/dist/repositories/event.repository.js:122:13)
2024-11-08 13:35:34     at async Worker.processJob (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:394:28)
2024-11-08 13:35:34     at async Worker.retryIfFailed (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:581:24)
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Object:
2024-11-08 13:35:34 {
2024-11-08 13:35:34   "id": "e9f5cdd4-0400-4acd-9beb-2d4e13fb5a47"
2024-11-08 13:35:34 }
2024-11-08 13:35:34 
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Unable to run job handler (thumbnailGeneration/generate-thumbnails): Error: Input file contains unsupported image format
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Error: Input file contains unsupported image format
2024-11-08 13:35:34     at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)
2024-11-08 13:35:34     at MediaRepository.decodeImage (/usr/src/app/dist/repositories/media.repository.js:56:68)
2024-11-08 13:35:34     at MediaService.generateImageThumbnails (/usr/src/app/dist/services/media.service.js:157:63)
2024-11-08 13:35:34     at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
2024-11-08 13:35:34     at async MediaService.handleGenerateThumbnails (/usr/src/app/dist/services/media.service.js:108:25)
2024-11-08 13:35:34     at async JobService.onJobStart (/usr/src/app/dist/services/job.service.js:148:28)
2024-11-08 13:35:34     at async EventRepository.onEvent (/usr/src/app/dist/repositories/event.repository.js:122:13)
2024-11-08 13:35:34     at async Worker.processJob (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:394:28)
2024-11-08 13:35:34     at async Worker.retryIfFailed (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:581:24)
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Object:
2024-11-08 13:35:34 {
2024-11-08 13:35:34   "id": "72c8a13a-66b2-4111-83c7-a2392fc8f898"
2024-11-08 13:35:34 }
2024-11-08 13:35:34 
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Unable to run job handler (thumbnailGeneration/generate-thumbnails): Error: Input file contains unsupported image format
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Error: Input file contains unsupported image format
2024-11-08 13:35:34     at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)
2024-11-08 13:35:34     at MediaRepository.decodeImage (/usr/src/app/dist/repositories/media.repository.js:56:68)
2024-11-08 13:35:34     at MediaService.generateImageThumbnails (/usr/src/app/dist/services/media.service.js:157:63)
2024-11-08 13:35:34     at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
2024-11-08 13:35:34     at async MediaService.handleGenerateThumbnails (/usr/src/app/dist/services/media.service.js:108:25)
2024-11-08 13:35:34     at async JobService.onJobStart (/usr/src/app/dist/services/job.service.js:148:28)
2024-11-08 13:35:34     at async EventRepository.onEvent (/usr/src/app/dist/repositories/event.repository.js:122:13)
2024-11-08 13:35:34     at async Worker.processJob (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:394:28)
2024-11-08 13:35:34     at async Worker.retryIfFailed (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:581:24)
2024-11-08 13:35:34 [Nest] 7  - 11/08/2024, 7:35:34 PM   ERROR [Microservices:JobService] Object:
2024-11-08 13:35:34 {
2024-11-08 13:35:34   "id": "857c9595-edcb-41ff-b940-bc89174184ed"
2024-11-08 13:35:34 }
2024-11-08 13:35:34

Additional information

No response

alextran1502 commented 5 hours ago

Do you a sample of the file that thumbnail cannot be generated?