Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Thumbnail generation job fails on startup #10945

Closed
1 of 3 tasks
tig77777 opened this issue Jul 7, 2024 · 0 comments
Closed
1 of 3 tasks

Thumbnail generation job fails on startup #10945

tig77777 opened this issue Jul 7, 2024 · 0 comments

Comments

@tig77777
Copy link

tig77777 commented Jul 7, 2024

The bug

I'm encountering an issue with the Immich where the thumbnail generation job fails upon startup. Below are the details of the problem, error messages, and steps to reproduce the issue.

The OS that Immich Server is running on

Trunas scale, bookworm

Version of Immich Server

v1.107.2

Version of Immich Mobile App

v1.107.2

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

n/a

Your .env content

n/a

Reproduction steps

1. Start the Immich application.
2. Trigger the thumbnail generation job.
3. Observe the application behavior.

Relevant log output

...
2024-07-07T15:13:03.343248100+03:00 �[31m[Nest] 7  - �[39m07/07/2024, 3:13:03 PM �[31m  ERROR�[39m �[33m[Microservices:JobService]�[39m �[31mUnable to run job handler (thumbnailGeneration/generate-preview): Error: ffprobe exited with code 1
2024-07-07T15:13:03.343295103+03:00 ffprobe version 6.0.1-Jellyfin Copyright (c) 2007-2023 the FFmpeg developers
2024-07-07T15:13:03.343310451+03:00   built with gcc 12 (Debian 12.2.0-14)
2024-07-07T15:13:03.343323536+03:00   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 --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-opencl --enable-libdrm --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --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
2024-07-07T15:13:03.343337013+03:00   libavutil      58.  2.100 / 58.  2.100
2024-07-07T15:13:03.343349062+03:00   libavcodec     60.  3.100 / 60.  3.100
2024-07-07T15:13:03.343658627+03:00   libavformat    60.  3.100 / 60.  3.100
2024-07-07T15:13:03.343674238+03:00   libavdevice    60.  1.100 / 60.  1.100
2024-07-07T15:13:03.343688435+03:00   libavfilter     9.  3.100 /  9.  3.100
2024-07-07T15:13:03.343700913+03:00   libswscale      7.  1.100 /  7.  1.100
2024-07-07T15:13:03.343714211+03:00   libswresample   4. 10.100 /  4. 10.100
2024-07-07T15:13:03.343729048+03:00   libpostproc    57.  1.100 / 57.  1.100
2024-07-07T15:13:03.343744936+03:00 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x32746050180] Format mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection possible!
2024-07-07T15:13:03.343760808+03:00 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x32746050180] moov atom not found
2024-07-07T15:13:03.343779057+03:00 /media/photos/data/Camera Uploads Maria/Camera/20170908_085157.mp4: Invalid data found when processing input
2024-07-07T15:13:03.343792091+03:00 �[39m
2024-07-07T15:13:03.345815915+03:00 �[31m[Nest] 7  - �[39m07/07/2024, 3:13:03 PM �[31m  ERROR�[39m �[33m[Microservices:JobService]�[39m �[31mError: ffprobe exited with code 1
2024-07-07T15:13:03.345853170+03:00 ffprobe version 6.0.1-Jellyfin Copyright (c) 2007-2023 the FFmpeg developers
...
2024-07-07T15:13:03.748314575+03:00   built with gcc 12 (Debian 12.2.0-14)
2024-07-07T15:13:03.748321845+03:00   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 --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-opencl --enable-libdrm --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --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
2024-07-07T15:13:03.748328960+03:00   libavutil      58.  2.100 / 58.  2.100
2024-07-07T15:13:03.748335949+03:00   libavcodec     60.  3.100 / 60.  3.100
2024-07-07T15:13:03.748342782+03:00   libavformat    60.  3.100 / 60.  3.100
2024-07-07T15:13:03.748349598+03:00   libavdevice    60.  1.100 / 60.  1.100
2024-07-07T15:13:03.748357525+03:00   libavfilter     9.  3.100 /  9.  3.100
2024-07-07T15:13:03.748365551+03:00   libswscale      7.  1.100 /  7.  1.100
2024-07-07T15:13:03.748372620+03:00   libswresample   4. 10.100 /  4. 10.100
2024-07-07T15:13:03.748379571+03:00   libpostproc    57.  1.100 / 57.  1.100
2024-07-07T15:13:03.748390935+03:00 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2ac98050180] moov atom not found
2024-07-07T15:13:03.748401633+03:00 /media/photos/data/Camera Upload s10/Movies/SamsungKids/MyCamera__1552077262468/20200519_193343.mp4: Invalid data found when processing input
2024-07-07T15:13:03.748411551+03:00 
2024-07-07T15:13:03.748422984+03:00     at ChildProcess.<anonymous> (/usr/src/app/node_modules/fluent-ffmpeg/lib/ffprobe.js:233:22)
2024-07-07T15:13:03.748431923+03:00     at ChildProcess.emit (node:events:519:28)
2024-07-07T15:13:03.748438808+03:00     at ChildProcess._handle.onexit (node:internal/child_process:294:12)�[39m
2024-07-07T15:13:03.748445616+03:00 �[31m[Nest] 7  - �[39m07/07/2024, 3:13:03 PM �[31m  ERROR�[39m �[33m[Microservices:JobService]�[39m �[31mObject:�[39m
2024-07-07T15:13:03.748452393+03:00 {
2024-07-07T15:13:03.748459164+03:00   "id": "ee8f1b9a-d6e9-4cec-af02-0530d923ae79"
2024-07-07T15:13:03.748465919+03:00 }
2024-07-07T15:13:03.748472488+03:00 
2024-07-07T15:13:08.343966020+03:00 �[32m[Nest] 16  - �[39m07/07/2024, 3:13:08 PM �[32m    LOG�[39m �[33m[Api:EventRepository]�[39m �[32mWebsocket Connect:    WoAj-MvlZ5CSzlItAAAB�[39m
2024-07-07T15:13:08.687791787+03:00 �[32m[Nest] 16  - �[39m07/07/2024, 3:13:08 PM �[32m    LOG�[39m �[33m[Api:EventRepository]�[39m �[32mWebsocket Connect:    xWAgzJdPd4DuzXQfAAAD�[39m
2024-07-07T15:13:12.288559422+03:00 �[31m[Nest] 7  - �[39m07/07/2024, 3:13:12 PM �[31m  ERROR�[39m �[33m[Microservices:MediaRepository]�[39m �[31m[NULL @ 0x2dc62170180] Invalid NAL unit size (841952589 > 50728).
2024-07-07T15:13:12.288609331+03:00 [NULL @ 0x2dc62170180] missing picture in access unit with size 50732
2024-07-07T15:13:12.288618768+03:00 Error while decoding stream #0:0: Invalid data found when processing input
2024-07-07T15:13:12.288626092+03:00 [h264 @ 0x2dc62172980] Invalid NAL unit size (346142861 > 61889).
2024-07-07T15:13:12.288634285+03:00 [h264 @ 0x2dc62172980] Error splitting the input into NAL units.
2024-07-07T15:13:12.288644878+03:00 Error while decoding stream #0:0: Invalid data found when processing input
2024-07-07T15:13:12.288655166+03:00 [h264 @ 0x2dc62172d80] Invalid NAL unit size (841952589 > 50728).
2024-07-07T15:13:12.288665776+03:00 [NULL @ 0x2dc62170180] Invalid NAL unit size (480969076 > 68666).
2024-07-07T15:13:12.288676071+03:00 [NULL @ 0x2dc62170180] missing picture in access unit with size 68670
2024-07-07T15:13:12.288683157+03:00 [h264 @ 0x2dc62172d80] Error splitting the input into NAL units.
2024-07-07T15:13:12.288689926+03:00 [NULL @ 0x2dc62170180] Invalid NAL unit size (1540255773 > 48558).
2024-07-07T15:13:12.288696931+03:00 [h264 @ 0x2dc62173180] Invalid NAL unit size (480969076 > 68666).
2024-07-07T15:13:12.288703782+03:00 [h264 @ 0x2dc62173180] Error splitting the input into NAL units.
2024-07-07T15:13:12.288710575+03:00 Error while decoding stream #0:0: Invalid data found when processing input
2024-07-07T15:13:12.288717483+03:00 [NULL @ 0x2dc62170180] missing picture in access unit with size 48562
2024-07-07T15:13:12.288724296+03:00 [NULL @ 0x2dc62170180] Invalid NAL unit size (1423086433 > 64518).
2024-07-07T15:13:12.288731038+03:00 [h264 @ 0x2dc62173580] Invalid NAL unit size (1540255773 > 48558).
2024-07-07T15:13:12.288737802+03:00 [h264 @ 0x2dc62173580] Error splitting the input into NAL units.
2024-07-07T15:13:12.288744945+03:00 Error while decoding stream #0:0: Invalid data found when processing input
2024-07-07T15:13:12.288751788+03:00 [NULL @ 0x2dc62170180] missing picture in access unit with size 64522
2024-07-07T15:13:12.288758586+03:00 Error while decoding stream #0:0: Invalid data found when processing input
2024-07-07T15:13:12.288765368+03:00 [h264 @ 0x2dc62173980] Invalid NAL unit size (1423086433 > 64518).
2024-07-07T15:13:12.288772108+03:00 [h264 @ 0x2dc62173980] Error splitting the input into NAL units.
2024-07-07T15:13:12.288778835+03:00 [NULL @ 0x2dc62170180] Invalid NAL unit size (-90091776 > 47003).
2024-07-07T15:13:12.288785571+03:00 [NULL @ 0x2dc62170180] missing picture in access unit with size 47007
2024-07-07T15:13:12.288792357+03:00 [NULL @ 0x2dc62170180] Invalid NAL unit size (-199121262 > 64204).
2024-07-07T15:13:12.288799157+03:00 [NULL @ 0x2dc62170180] missing picture in access unit with size 64208
2024-07-07T15:13:12.288805867+03:00 [h264 @ 0x2dc62173d80] Invalid NAL unit size (-90091776 > 47003).
2024-07-07T15:13:12.288812685+03:00 [h264 @ 0x2dc62173d80] Error splitting the input into NAL units.
2024-07-07T15:13:12.288819516+03:00 Error while decoding stream #0:0: Invalid data found when processing input
2024-07-07T15:13:12.288826583+03:00     Last message repeated 1 times
2024-07-07T15:13:12.288833357+03:00 [h264 @ 0x2dc62174180] Invalid NAL unit size (-199121262 > 64204).
2024-07-07T15:13:12.288840086+03:00 [h264 @ 0x2dc62174180] Error splitting the input into NAL units.
2024-07-07T15:13:12.288846791+03:00 [NULL @ 0x2dc62170180] Invalid NAL unit size (1309379370 > 50936).
2024-07-07T15:13:12.288853782+03:00 [NULL @ 0x2dc62170180] missing picture in access unit with size 50940
2024-07-07T15:13:12.288860515+03:00 [NULL @ 0x2dc62170180] Invalid NAL unit size (409462368 > 67144).
2024-07-07T15:13:12.288867277+03:00 [h264 @ 0x2dc62174580] Invalid NAL unit size (1309379370 > 50936).
2024-07-07T15:13:12.288874058+03:00 [h264 @ 0x2dc62174580] Error splitting the input into NAL units.
2024-07-07T15:13:12.288881031+03:00 Error while decoding stream #0:0: Invalid data found when processing input
2024-07-07T15:13:12.288887746+03:00 [NULL @ 0x2dc62170180] missing picture in access unit with size 67148
2024-07-07T15:13:12.288895200+03:00 Error while decoding stream #0:0: Invalid data found when processing input
2024-07-07T15:13:12.288902295+03:00 [h264 @ 0x2dc62174980] Invalid NAL unit size (409462368 > 67144).
2024-07-07T15:13:12.288909099+03:00 [h264 @ 0x2dc62174980] Error splitting the input into NAL units.
2024-07-07T15:13:12.288915833+03:00 [NULL @ 0x2dc62170180] Invalid NAL unit size (926178152 > 49652).
2024-07-07T15:13:12.288922515+03:00 [NULL @ 0x2dc62170180] missing picture in access unit with size 49656
2024-07-07T15:13:12.288929332+03:00 Error while decoding stream #0:0: Invalid data found when processing input
2024-07-07T15:13:12.288936044+03:00 [h264 @ 0x2dc62174d80] Invalid NAL unit size (926178152 > 49652).
2024-07-07T15:13:12.288942799+03:00 [h264 @ 0x2dc62174d80] Error splitting the input into NAL units.
2024-07-07T15:13:12.288949544+03:00 Error while decoding stream #0:0: Invalid data found when processing input
2024-07-07T15:13:12.288956477+03:00     Last message repeated 11 times
2024-07-07T15:13:12.288964206+03:00 [Parsed_thumbnail_1 @ 0x2dc62120680] frame id #0 (pts_time=13.000000) selected from a set of 12 images
2024-07-07T15:13:12.288971076+03:00 [Parsed_thumbnail_1 @ 0x2dc62120680] frame id #0 (pts_time=14.000000) selected from a set of 12 images
2024-07-07T15:13:12.288977876+03:00 [Parsed_thumbnail_1 @ 0x2dc62120680] frame id #0 (pts_time=15.000000) selected from a set of 12 images
2024-07-07T15:13:12.288984652+03:00 [Parsed_thumbnail_1 @ 0x2dc62120680] frame id #0 (pts_time=16.000000) selected from a set of 12 images
2024-07-07T15:13:12.288991505+03:00 [Parsed_thumbnail_1 @ 0x2dc62120680] frame id #0 (pts_time=17.000000) selected from a set of 12 images
2024-07-07T15:13:12.288998318+03:00 [Parsed_thumbnail_1 @ 0x2dc62120680] frame id #0 (pts_time=18.000000) selected from a set of 12 images
2024-07-07T15:13:12.289012188+03:00 [Parsed_thumbnail_1 @ 0x2dc62120680] frame id #0 (pts_time=19.000000) selected from a set of 12 images
2024-07-07T15:13:12.289020077+03:00 [Parsed_thumbnail_1 @ 0x2dc62120680] frame id #0 (pts_time=20.000000) selected from a set of 12 images
2024-07-07T15:13:12.289026996+03:00 [Parsed_thumbnail_1 @ 0x2dc62120680] frame id #0 (pts_time=21.000000) selected from a set of 12 images
2024-07-07T15:13:12.289033943+03:00 [swscaler @ 0x2dc623c0000] deprecated pixel format used, make sure you did set range correctly
2024-07-07T15:13:12.289041281+03:00 [auto_scale_0 @ 0x2dc62161f80] w:1920 h:1080 fmt:yuv420p sar:1/1 -> w:1920 h:1080 fmt:yuvj420p sar:1/1 flags:0x00000004
2024-07-07T15:13:12.289051829+03:00 [swscaler @ 0x2dc630da000] deprecated pixel format used, make sure you did set range correctly
2024-07-07T15:13:12.289062656+03:00 [auto_scale_0 @ 0x2dc62161f80] w:1920 h:1080 fmt:yuv420p sar:1/1 -> w:1920 h:1080 fmt:yuvj420p sar:1/1 flags:0x00000004
2024-07-07T15:13:12.289073734+03:00 [swscaler @ 0x2dc62388000] deprecated pixel format used, make sure you did set range correctly
2024-07-07T15:13:12.289080932+03:00 [auto_scale_0 @ 0x2dc62161f80] w:1920 h:1080 fmt:yuv420p sar:1/1 -> w:1920 h:1080 fmt:yuvj420p sar:1/1 flags:0x00000004
2024-07-07T15:13:12.289088810+03:00 Output #0, image2, to 'upload/thumbs/339276c1-cb02-46d8-b98e-724825f5e220/48/b8/48b84107-4739-438f-ab9d-8a70456cd544-preview.jpeg':
2024-07-07T15:13:12.289095835+03:00   Metadata:
2024-07-07T15:13:12.289102967+03:00     major_brand     : mp42
2024-07-07T15:13:12.289109881+03:00     minor_version   : 0
2024-07-07T15:13:12.289116683+03:00     compatible_brands: isommp42
2024-07-07T15:13:12.289123448+03:00     com.android.version: 7.0
2024-07-07T15:13:12.289130242+03:00     encoder         : Lavf60.3.100
2024-07-07T15:13:12.289137055+03:00   Stream #0:0(eng): Video: mjpeg, 1 reference frame, yuvj420p(pc, bt709, progressive), 1920x1080 (0x0) [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 12 fps, 12 tbn (default)
2024-07-07T15:13:12.289143823+03:00     Metadata:
2024-07-07T15:13:12.289150635+03:00       creation_time   : 2017-03-29T05:20:37.000000Z
2024-07-07T15:13:12.289157410+03:00       handler_name    : VideoHandle
2024-07-07T15:13:12.289164228+03:00       vendor_id       : [0][0][0][0]
2024-07-07T15:13:12.289172270+03:00       encoder         : Lavc60.3.100 mjpeg
2024-07-07T15:13:12.289179194+03:00     Side data:
2024-07-07T15:13:12.289185986+03:00       cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: N/A
2024-07-07T15:13:12.289192765+03:00 frame=    0 fps=0.0 q=6.7 size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x    
2024-07-07T15:13:12.289199643+03:00 No more output streams to write to, finishing.
2024-07-07T15:13:12.289206493+03:00 [AVIOContext @ 0x2dc820302c0] Statistics: 143895 bytes written, 0 seeks, 1 writeouts
2024-07-07T15:13:12.289213316+03:00 [out#0/image2 @ 0x2dc62160e40] All streams finished
2024-07-07T15:13:12.289220173+03:00 [out#0/image2 @ 0x2dc62160e40] Terminating muxer thread
2024-07-07T15:13:12.289227012+03:00 frame=    1 fps=0.1 q=6.7 Lsize=N/A time=00:00:00.00 bitrate=N/A speed=   0x    
2024-07-07T15:13:12.289233894+03:00 video:141kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
2024-07-07T15:13:12.289240638+03:00 Input file #0 (/media/photos/data/Camera Uploads Maria/Camera/2017-03-29 09.20.37.mp4):
2024-07-07T15:13:12.289247433+03:00   Input stream #0:0 (video): 1813 packets read (105831242 bytes); 16 frames decoded; 
2024-07-07T15:13:12.289254242+03:00   Input stream #0:1 (audio): 1 packets read (815 bytes); 
2024-07-07T15:13:12.289261053+03:00   Total: 1814 packets (105832057 bytes) demuxed
2024-07-07T15:13:12.289267796+03:00 Output file #0 (upload/thumbs/339276c1-cb02-46d8-b98e-724825f5e220/48/b8/48b84107-4739-438f-ab9d-8a70456cd544-preview.jpeg):
2024-07-07T15:13:12.289274648+03:00   Output stream #0:0 (video): 1 frames encoded; 1 packets muxed (143895 bytes); 
2024-07-07T15:13:12.289281433+03:00   Total: 1 packets (143895 bytes) muxed
2024-07-07T15:13:12.289288174+03:00 [Parsed_fps_0 @ 0x2dc62165f40] 16 frames in, 265 frames out; 1 frames dropped, 250 frames duplicated.
2024-07-07T15:13:12.289294961+03:00 Terminating demuxer thread 0
2024-07-07T15:13:12.289301741+03:00 [AVIOContext @ 0x2dc62180180] Statistics: 106919873 bytes read, 6 seeks
2024-07-07T15:13:12.289308502+03:00 Conversion failed!
2024-07-07T15:13:12.289315289+03:00 �[39m
2024-07-07T15:13:12.289538709+03:00 �[31m[Nest] 7  - �[39m07/07/2024, 3:13:12 PM �[31m  ERROR�[39m �[33m[Microservices:JobService]�[39m �[31mUnable to run job handler (thumbnailGeneration/generate-preview): Error: ffmpeg exited with code 69: Conversion failed!
2024-07-07T15:13:12.289558921+03:00 �[39m
2024-07-07T15:13:12.289576303+03:00 �[31m[Nest] 7  - �[39m07/07/2024, 3:13:12 PM �[31m  ERROR�[39m �[33m[Microservices:JobService]�[39m �[31mError: ffmpeg exited with code 69: Conversion failed!
2024-07-07T15:13:12.289584569+03:00 
2024-07-07T15:13:12.289591661+03:00     at ChildProcess.<anonymous> (/usr/src/app/node_modules/fluent-ffmpeg/lib/processor.js:180:22)
2024-07-07T15:13:12.289598232+03:00     at ChildProcess.emit (node:events:519:28)
2024-07-07T15:13:12.289604848+03:00     at ChildProcess._handle.onexit (node:internal/child_process:294:12)�[39m
2024-07-07T15:13:12.289611529+03:00 �[31m[Nest] 7  - �[39m07/07/2024, 3:13:12 PM �[31m  ERROR�[39m �[33m[Microservices:JobService]�[39m �[31mObject:�[39m
2024-07-07T15:13:12.289618153+03:00 {
2024-07-07T15:13:12.289624762+03:00   "id": "48b84107-4739-438f-ab9d-8a70456cd544"
2024-07-07T15:13:12.289631318+03:00 }
2024-07-07T15:13:12.289637659+03:00 
2024-07-07T15:13:13.660254875+03:00 �[31m[Nest] 7  - �[39m07/07/2024, 3:13:13 PM �[31m  ERROR�[39m �[33m[Microservices:JobService]�[39m �[31mUnable to run job handler (thumbnailGeneration/generate-person-thumbnail): Error: extract_area: bad extract area�[39m
2024-07-07T15:13:13.660658018+03:00 �[31m[Nest] 7  - �[39m07/07/2024, 3:13:13 PM �[31m  ERROR�[39m �[33m[Microservices:JobService]�[39m �[31mError: extract_area: bad extract area
2024-07-07T15:13:13.660682529+03:00     at Sharp.toFile (/usr/src/app/node_modules/sharp/lib/output.js:89:19)
2024-07-07T15:13:13.660692284+03:00     at MediaRepository.generateThumbnail (/usr/src/app/dist/repositories/media.repository.js:69:14)
2024-07-07T15:13:13.660699103+03:00     at PersonService.handleGeneratePersonThumbnail (/usr/src/app/dist/services/person.service.js:422:36)
2024-07-07T15:13:13.660705756+03:00     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2024-07-07T15:13:13.660716311+03:00     at async /usr/src/app/dist/services/job.service.js:148:36
2024-07-07T15:13:13.660727177+03:00     at async Worker.processJob (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:394:28)
2024-07-07T15:13:13.660734210+03:00     at async Worker.retryIfFailed (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:581:24)�[39m
2024-07-07T15:13:13.660741142+03:00 �[31m[Nest] 7  - �[39m07/07/2024, 3:13:13 PM �[31m  ERROR�[39m �[33m[Microservices:JobService]�[39m �[31mObject:�[39m
2024-07-07T15:13:13.660747714+03:00 {
2024-07-07T15:13:13.660754515+03:00   "id": "87f009f2-f636-4167-8bdb-b65e6ec1377c"
2024-07-07T15:13:13.660761150+03:00 }
2024-07-07T15:13:13.660767566+03:00 
2024-07-07T15:13:13.871636111+03:00 �[31m[Nest] 7  - �[39m07/07/2024, 3:13:13 PM �[31m  ERROR�[39m �[33m[Microservices:JobService]�[39m �[31mUnable to run job handler (thumbnailGeneration/generate-person-thumbnail): Error: extract_area: bad extract area�[39m
2024-07-07T15:13:13.873248270+03:00 �[31m[Nest] 7  - �[39m07/07/2024, 3:13:13 PM �[31m  ERROR�[39m �[33m[Microservices:JobService]�[39m �[31mError: extract_area: bad extract area
2024-07-07T15:13:13.873277586+03:00     at Sharp.toFile (/usr/src/app/node_modules/sharp/lib/output.js:89:19)
2024-07-07T15:13:13.873286690+03:00     at MediaRepository.generateThumbnail (/usr/src/app/dist/repositories/media.repository.js:69:14)
2024-07-07T15:13:13.873293862+03:00     at PersonService.handleGeneratePersonThumbnail (/usr/src/app/dist/services/person.service.js:422:36)
2024-07-07T15:13:13.873301256+03:00     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2024-07-07T15:13:13.873308579+03:00     at async /usr/src/app/dist/services/job.service.js:148:36
2024-07-07T15:13:13.873315497+03:00     at async Worker.processJob (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:394:28)
2024-07-07T15:13:13.873322305+03:00     at async Worker.retryIfFailed (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:581:24)�[39m
2024-07-07T15:13:13.873329480+03:00 �[31m[Nest] 7  - �[39m07/07/2024, 3:13:13 PM �[31m  ERROR�[39m �[33m[Microservices:JobService]�[39m �[31mObject:�[39m
2024-07-07T15:13:13.873336261+03:00 {
2024-07-07T15:13:13.873343650+03:00   "id": "8ce2650a-f351-458b-883a-7ad0477a2f03"
2024-07-07T15:13:13.873350536+03:00 }
2024-07-07T15:13:13.873357188+03:00

Additional information

It seems the issue is particularly triggered by the size of the panorama image files, which are over 200MB. Adjustments in handling large files or enhancing the image processing capabilities might be required.
immich_immich-5f4d8d5f95-v6c4l_immich.log

@immich-app immich-app locked and limited conversation to collaborators Jul 12, 2024
@bo0tzz bo0tzz converted this issue into discussion #11053 Jul 12, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant