Closed philipp1992 closed 2 years ago
Your console output looks fine to me.
Did you install+enable ffi in the docker image, and not just in the running container? It only works when everything is set up before FPM has started.
If that doesn't fix it:
phpinfo()
in the website to check that output on the website also shows that FFI is fine.Hi Erik The error message appears right after kicking download and enable on the nextcloud ui and it won't install at all.
I've added the apt install commands to the kubernetes poststart lifecycle hook so I didn't modify the dockerfile directly.
Von meinem iPhone gesendet
Am 31.01.2022 um 03:08 schrieb Erik van Velzen @.***>:
Your console output looks fine to me.
Did you install+enable ffi in the docker image, and not just in the running container? It only works when everything is set up before FPM has started.
If that doesn't fix it:
insert a call to phpinfo() in the website to check that output on the website also shows that FFI is fine. post (part of) your Dockerfile — Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.
I find on https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/
there is no guarantee that the hook will execute before the container ENTRYPOINT.
Starting fpm takes like 0.2 seconds but updating+installing via apt takes like 4 seconds. So it seems that is your problem.
A solution for your problem is to reload fpm by sending the USR2 signal after installing libffi:
sudo kill -USR2 <pid>
But I'd recommend installing it in the image.
Closing the issue for now unless new actionable information comes up.
hello, running nextcloud on kubernetes with php-fpm. Ive installed the ffi via apt accordingly and added the lines to the php.ini, but when i try to install the app, it fails with
Would really appreciate if someone can point me to the right directory on how to fix this. kind regards Philipp