aboutsummaryrefslogtreecommitdiffstats
path: root/src/b
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2024-07-02 14:14:33 +0200
committerRomain Gonçalves <me@rgoncalves.se>2024-07-02 14:14:33 +0200
commitbd4a9fd003409ac70dbb15ce9e1432ae17183eed (patch)
treeb743070e4782e83a8f0d7e4ddfbeac3072ee5e27 /src/b
parent0cd1ac2807b48fa084e14d02e67797ced67f88ae (diff)
downloadrgoncalves.se-bd4a9fd003409ac70dbb15ce9e1432ae17183eed.tar.gz
feat(blog): add ffmpeg precisions
Diffstat (limited to 'src/b')
-rw-r--r--src/b/2024-07-01-openbsd-nextcloud-memories-exiftool.md10
1 files 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).
```
---
remember that computers suck.