From bd4a9fd003409ac70dbb15ce9e1432ae17183eed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Tue, 2 Jul 2024 14:14:33 +0200 Subject: feat(blog): add ffmpeg precisions --- src/b/2024-07-01-openbsd-nextcloud-memories-exiftool.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/b/2024-07-01-openbsd-nextcloud-memories-exiftool.md b/src/b/2024-07-01-openbsd-nextcloud-memories-exiftool.md index c9dc4ff..15f2f7f 100644 --- a/src/b/2024-07-01-openbsd-nextcloud-memories-exiftool.md +++ b/src/b/2024-07-01-openbsd-nextcloud-memories-exiftool.md @@ -18,13 +18,19 @@ However there are some quirks that needs to be fixed after a fresh install. Copy the ffmpeg, ffprobe and perl binaries in the */var/www* chroot, preserving their directory structure. Same for each of their libraries, retrieved with ldd. -Copy the libdata perl5 directory in the */var/www* chroot. +Copy the libdata perl5 directory in the */var/www* chroot: ``` mkdir /var/www/usr/local/libdata cp -r /usr/local/libdata/perl5 /var/www/usr/local/libdata ``` +Append the library path for ffmpeg and ffmprobe in the */etc/php-fpm.conf*: + +``` +env[LD_LIBRARY_PATH] = /usr/local/lib:/usr/X11R6/lib +``` + ### Filecache template If for some reasons you can not preview the details of a file from Memories or @@ -52,7 +58,7 @@ following lines *(thanks ### Automation Most of these steps are automated at -[roles/nextcloud/tasks/dependencies.yml](https://git.rgoncalves.se/_infrastructure/rules/tree/roles/nextcloud/tasks/dependencies.yml) +[roles/nextcloud/tasks/dependencies.yml](https://git.rgoncalves.se/_infrastructure/rules/tree/roles/nextcloud/tasks/dependencies.yml). ``` --- -- cgit v1.2.3