-
-
Notifications
You must be signed in to change notification settings - Fork 391
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Imagick install is failing randomly #739
Comments
It's rather hard to understand what's going wrong with such a big Here's what I've done to test your issue:
So, I can't replicate the issue... |
Thank you and I will try to reproduce it using the 1. and 2. step you have posted. And one small feature request - can https://github.com/mvorisek/image-php/blob/d357b3e47e7a91500ad1656eb2d764854bc0a5bd/log.txt#L13 the full URL be displayed by the installer and possibly also the pecl command? Before I submit this issue, it was quite hard for me to understand what is called, |
@mlocati now I looked into your examples more in depth. Please my |
You can write a very detailed log by using the IPE_DEBUG=1 install-php-extensions imagick |
It seems Repro Dockerfile:
Repro command: |
can confirm, this works temporary for PHP 8.3 FROM php:8-apache
COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/
COPY --from=composer /usr/bin/composer /usr/local/bin/
ENV DEBIAN_FRONTEND=noninteractive
RUN apt update && \
apt install --no-install-recommends -y ssl-cert unzip && \
apt clean all && \
a2enmod ssl && \
install-php-extensions ast apcu xdebug intl mysqli opcache pdo_mysql zip Imagick/imagick@master
|
It worked, thanks! |
Error description
Please see the Dockerfile below for a reproducible case.
Initially reported as Imagick issue - Imagick/imagick#582 - but I am not sure where the problem is. Maybe some race condition in the installer?
If you cannot reproduce it on the first run, please change the echo value in the Dockerfile and rerun the repro Dockerfile at least several times, as the issue is sometime present, sometime not. I can reproduce it using the Dockerfile localy in at least in 1 run of 10.
Minimal Dockerfile
The repro Dockerfile is failing with:
here is a diff of a failing log vs. passing one: mvorisek/image-php@d357b3e (from exactly the same Dockerfile)
The text was updated successfully, but these errors were encountered: