Open timreeves opened 1 year ago
I saw more of these errors this morning:
[05-Feb-2023 01:37:35] WARNING: [pool owncloud.example.org] child 24294 said into stderr: "sh: 1: flatpak: not found"
[05-Feb-2023 01:37:35] WARNING: [pool owncloud.example.org] child 24294 said into stderr: "sh: 1: kitinerary-extractor: not found"
[05-Feb-2023 01:37:37] WARNING: [pool owncloud.example.org] child 24248 said into stderr: "/var/www/vhosts/example/owncloud.example/apps/mail/vendor/christophwurst/kitinerary-bin/src/../bin/kitinerary-extractor: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /var/www/vhosts/example/owncloud.example.org/apps/mail/vendor/christophwurst/kitinerary-bin/src/../bin/kitinerary-extractor)"
[05-Feb-2023 01:37:37] WARNING: [pool owncloud.sat-chit-ananda.org] child 24248 said into stderr: "/var/www/vhosts/example.org/owncloud.example.org/apps/mail/vendor/christophwurst/kitinerary-bin/src/../bin/kitinerary-extractor: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.35' not found (required by /var/www/vhosts/example.org/owncloud.example.org/apps/mail/vendor/christophwurst/kitinerary-bin/src/../bin/kitinerary-extractor)"
[05-Feb-2023 01:37:37] WARNING: [pool owncloud.sat-chit-ananda.org] child 24248 said into stderr: "/var/www/vhosts/example.org/owncloud.example.org/apps/mail/vendor/christophwurst/kitinerary-bin/src/../bin/kitinerary-extract or: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /var/www/vhosts/example/owncloud.example.org/apps/mail/vendor/christophwurst/kitinerary-bin/src/../bin/kitinerary-extractor)"
[05-Feb-2023 01:37:37] WARNING: [pool owncloud.example.org] child 24248 said into stderr: "/var/www/vhosts/example/owncloud.example.org/apps/mail/vendor/christophwurst/kitinerary-bin/src/../bin/kitinerary-extract or: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /var/www/vhosts/example.org/own cloud.example.org/apps/mail/vendor/christophwurst/kitinerary-bin/src/../bin/kitinerary-extractor)"
I'm wondering why tests for multiple versions are being made and each one causing a warning. Also, testing for all those versions on Debian 10 is pointless, the installed standard package is 2.28-10+deb10u2.
I've just updated to NC 25.0.3, but hardly imagine that will change anything here...
Am I the only freak who runs PHP without any messages suppressed?
Same error here with NC 25.0.5 installed with Podman:
echo "" | /var/www/html/custom_apps/mail/vendor/christophwurst/kitinerary-bin/src/../bin/kitinerary-extractor
/var/www/html/custom_apps/mail/vendor/christophwurst/kitinerary-bin/src/../bin/kitinerary-extractor: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.35' not found (required by /var/www/html/custom_apps/mail/vendor/christophwurst/kitinerary-bin/src/../bin/kitinerary-extractor)
/var/www/html/custom_apps/mail/vendor/christophwurst/kitinerary-bin/src/../bin/kitinerary-extractor: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /var/www/html/custom_apps/mail/vendor/christophwurst/kitinerary-bin/src/../bin/kitinerary-extractor)
/var/www/html/custom_apps/mail/vendor/christophwurst/kitinerary-bin/src/../bin/kitinerary-extractor: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /var/www/html/custom_apps/mail/vendor/christophwurst/kitinerary-bin/src/../bin/kitinerary-extractor)
This must be a compilation issue with the binary
Yes, I also think is a compile issue. I'll try to compile it against Debian Bullseye, the one nextcloud:stable-fpm is based on. I'll post my results...
See also https://github.com/ChristophWurst/kitinerary-bin/pull/2#issuecomment-1259083969 for the binary is built generically
See also ChristophWurst/kitinerary-bin#2 (comment) for the binary is built generically
I'm sorry but I'm unable to even build that image, it fails on ruby install... :disappointed:
That is unfortunate. I don't know any other way to build the binary.
See also https://invent.kde.org/vkrause/kitinerary-static-build/-/issues/1#note_597789 and https://invent.kde.org/pim/kitinerary/-/tree/master/scripts, the KDE CI can meanwhile produce those binaries with a minimum requirement of GLIBC 2.17.
Maybe we should look at a way to automatically update Nextcloud's binary that way? Would also allow to benefit from fixes and improvements much quicker.
If we can automate the process as a Github action it would be relatively easy to also automate updates and releases of https://github.com/ChristophWurst/kitinerary-bin
See also https://invent.kde.org/vkrause/kitinerary-static-build/-/issues/1#note_597789 and https://invent.kde.org/pim/kitinerary/-/tree/master/scripts, the KDE CI can meanwhile produce those binaries with a minimum requirement of GLIBC 2.17.
Maybe we should look at a way to automatically update Nextcloud's binary that way? Would also allow to benefit from fixes and improvements much quicker.
I can confirm that using this git, the output that previously was:
echo "" | /var/www/html/custom_apps/mail/vendor/christophwurst/kitinerary-bin/src/../bin/kitinerary-extractor
/var/www/html/custom_apps/mail/vendor/christophwurst/kitinerary-bin/src/../bin/kitinerary-extractor: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.35' not found (required by /var/www/html/custom_apps/mail/vendor/christophwurst/kitinerary-bin/src/../bin/kitinerary-extractor)
/var/www/html/custom_apps/mail/vendor/christophwurst/kitinerary-bin/src/../bin/kitinerary-extractor: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /var/www/html/custom_apps/mail/vendor/christophwurst/kitinerary-bin/src/../bin/kitinerary-extractor)
/var/www/html/custom_apps/mail/vendor/christophwurst/kitinerary-bin/src/../bin/kitinerary-extractor: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /var/www/html/custom_apps/mail/vendor/christophwurst/kitinerary-bin/src/../bin/kitinerary-extractor)
now is:
# echo "" | /var/www/html/custom_apps/mail/vendor/christophwurst/kitinerary-bin/src/../bin/kitinerary-extractor
[
]
on the same container.
I've obtained the kitinerary-extractor
using the following commands:
# On the host
podman run -it --rm centos:centos7
# In build container
cd /root/
yum install -y git
git clone https://invent.kde.org/pim/kitinerary.git
cd kitinerary/
export CI_PROJECT_PATH=pim/kitinerary
export BUILD_ROOT=/builds
export STAGING_ROOT=/builds/staging
scripts/setup-centos.sh
source /opt/rh/rh-git227/enable
source /opt/rh/devtoolset-11/enable
scripts/build-openssl.sh
scripts/build-iso-codes.sh
scripts/build-static-qt.sh
scripts/build-cmake-modules.sh
scripts/collect-data-files.sh
# On the host again but on another terminal to keep container running
podman cp [BUILD CONTAINER NAME / ID]:/builds/pim/kitinerary/build/bin/kitinerary-extractor ./
# And copy the file inside container
podman exec [ NEXTCLOUD CONTAINER NAME / ID] mv /var/www/html/custom_apps/mail/vendor/christophwurst/kitinerary-bin/src/../bin/kitinerary-extractor /var/www/html/custom_apps/mail/vendor/christophwurst/kitinerary-bin/src/../bin/kitinerary-extractor_orig
podman cp ./kitinerary-extractor [ NEXTCLOUD CONTAINER NAME / ID]:/var/www/html/custom_apps/mail/vendor/christophwurst/kitinerary-bin/src/../bin/
Thank you very much @vkrause for the tip! :smiley::thumbsup::thumbsup::thumbsup:
Hi guys,
Is there any plans to fix it? Bug still present in 28.0.1
facing same issue here on 27.1.5 with all-in-one image
Steps to reproduce
Simply use the mail app
Expected behavior
No PHP Warning
Actual behavior
[14-Jan-2023 12:20:21] WARNING: [pool owncloud.example.one] child 19025 said into stderr: "/var/www/vhosts/example.one/owncloud.example.one/apps/mail/vendor/christophwurst/kitinerary-bin/src/../bin/kitinerary-extractor: /lib/x86_64-linux-gnu/libm.so.6: version
GLIBC_2.29' not found (required by /var/www/vhosts/example.one/owncloud.example.one/apps/mail/vendor/christophwurst/kitinerary-bin/src/../bin/kitinerary-extractor)" [14-Jan-2023 12:20:21] WARNING: [pool owncloud.example.one] child 19025 said into stderr: "/var/www/vhosts/example.one/owncloud.example.one/apps/mail/vendor/christophwurst/kitinerary-bin/src/../bin/kitinerary-extractor: /lib/x86_64-linux-gnu/libm.so.6: version
GLIBC_2.35' not found (required by /var/www/vhosts/example.one/owncloud.example.one/apps/mail/vendor/ch ristophwurst/kitinerary-bin/src/../bin/kitinerary-extractor)" [14-Jan-2023 12:20:21] WARNING: [pool owncloud.example.one] child 19025 said into stderr: "/var/www/vhosts/example.one/owncloud.example.one/apps/mail/vendor/christophwurst/kitinerary-bin/src/../bin/kitinerary-extractor: /lib/x86_64-linux-gnu/libc.so.6: versionGLIBC_2.34' not found (required by /var/www/vhosts/example.one/owncloud.example.one/apps/mail/vendor/christophwurst/kitinerary-bin/src/../bin/kitinerary-extractor)" [14-Jan-2023 12:20:21] WARNING: [pool owncloud.example.one] child 19025 said into stderr: "/var/www/vhosts/example.one/owncloud.example.one/apps/mail/vendor/christophwurst/kitinerary-bin/src/../bin/kitinerary-extractor: /lib/x86_64-linux-gnu/libc.so.6: version
GLIBC_2.33' not found (required by /var/www/vhosts/example.one/owncloud.example.one/apps/mail/vendor/christophwurst/kitinerary-bin/src/../bin/kitinerary-extractor)" [14-Jan-2023 12:20:21] WARNING: [pool owncloud.example.one] child 19025 said into stderr: "sh: 1: flatpak: not found" [14-Jan-2023 12:20:21] WARNING: [pool owncloud.example.one] child 19025 said into stderr: "sh: 1: kitinerary-extractor: nMail app version
2.2.2
Mailserver or service
Postfix
Operating system
Debian 10
PHP engine version
PHP 8.1
Web server
Nginx
Database
MariaDB
Additional info
I'm seeing this problem since installing latest Nextcloud 25.0.2, and the latest version of the mail app. I'm seeing it on both installations that I manage, the other one runs PHP 8.0.