Closed MoSattler closed 4 months ago
Same issue here. looks like using tag 1.107.1
is a workaround for now. 1.107.2
aka latest
introduced this issue.
Sorry guys, please run this inside your container until the image is re-built with the fix:
ldconfig /usr/lib/jellyfin-ffmpeg/lib && \
ln -s /usr/lib/jellyfin-ffmpeg/ffmpeg /usr/bin && \
ln -s /usr/lib/jellyfin-ffmpeg/ffprobe /usr/bin
@martabal no worries, thank you for the hot-fix. Appreciate your work here!
Should be fixed. Can you try with the latest update?
Yes, works now!
@martabal This is still not working with latest
. I ensured I pulled latest and scanned external library.
[Nest] 309 - 07/04/2024, 6:57:58 AM ERROR [Microservices:JobService] Unable to run job handler (metadataExtraction/metadata-extraction): Error: Cannot find ffprobe
[Nest] 309 - 07/04/2024, 6:57:58 AM ERROR [Microservices:JobService] Error: Cannot find ffprobe
at /app/immich/server/node_modules/fluent-ffmpeg/lib/ffprobe.js:145:31
at proto._getFfprobePath (/app/immich/server/node_modules/fluent-ffmpeg/lib/capabilities.js:144:14)
at proto.ffprobe (/app/immich/server/node_modules/fluent-ffmpeg/lib/ffprobe.js:141:10)
at FfmpegCommand.ffprobe (/app/immich/server/node_modules/fluent-ffmpeg/lib/fluent-ffmpeg.js:221:20)
at node:internal/util:431:7
at new Promise (<anonymous>)
at node:internal/util:417:12
at MediaRepository.probe (/app/immich/server/dist/repositories/media.repository.js:72:31)
at MetadataService.handleMetadataExtraction (/app/immich/server/dist/services/metadata.service.js:186:65)
at async /app/immich/server/dist/services/job.service.js:148:36
[Nest] 309 - 07/04/2024, 6:57:58 AM ERROR [Microservices:JobService] Object:
{
"id": "263370e2-04a5-4e16-b458-66e9a1d3d680",
"source": "upload"
}
Also, tried the below commands as a workaround, which did work in the previous image, but no longer works in latest.
Sorry guys, please run this inside your container until the image is re-built with the fix:
ldconfig /usr/lib/jellyfin-ffmpeg/lib && \ ln -s /usr/lib/jellyfin-ffmpeg/ffmpeg /usr/bin && \ ln -s /usr/lib/jellyfin-ffmpeg/ffprobe /usr/bin && \
Ok, it looks like the :latest
image didn't build with the base-image changes but :openvino
and :cuda
did as I can see the symlinks in /usr/bin
:
lrwxrwxrwx 1 root root 31 Jul 3 12:22 ffmpeg -> /usr/lib/jellyfin-ffmpeg/ffmpeg
lrwxrwxrwx 1 root root 32 Jul 3 12:22 ffprobe -> /usr/lib/jellyfin-ffmpeg/ffprobe
@hydazz Did you build the :latest
image with the updated base-image?
@seanob86 I just tested it and it works fine. Can you restart Immich and retry the command without the last && \
?
Thanks it’s working now. Not sure what fixed it. Have had other issues on my server since having power cut.
I did run those commands without && \
before and at the time didn’t work so i just stopped immich. Resolved the other issues on the server and started immich and worked without issuing those commands again. So i’m assuming it’s working now since I ran those commands previously before i stopped immich.
@hydazz Did you build the :latest image with the updated base-image?
It should have been rebuilt with the other branches
Fresh install of the immich image gives me this error: