• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Forwarded to devs ImageMagick 6.9.13-25 breaks PDF reading

pleskpanel

Regular Pleskian
Username:

TITLE

ImageMagick 6.9.13-25 breaks PDF reading

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

AlmaLinux 9.5 (Teal Serval), Plesk Obsidian 18.0.68 Update #2

PROBLEM DESCRIPTION

Latest release of ImageMagick 6.9.13-25 updated via YUM breaks PDF reading and returns an error. This is the stock version that comes from the EPEL library.

STEPS TO REPRODUCE

Try running a PHP script to read anything about a PDF file:

Code:
$pdfMain = new \Imagick( dirname(__FILE__) . '/test.pdf' );
    $numberPages = $pdfMain->getNumberImages();

    printf( '<pre>%1$s</pre>', print_r( $numberPages, 1 ) );
    die( 'end' );

ACTUAL RESULT

Fatal error: Uncaught ImagickException: Failed to read the file

EXPECTED RESULT

Should read a PDF file

ANY ADDITIONAL INFORMATION

  • Bug started with latest release of ImageMagick 6.9.13-25
  • Checked that there were no custom exceptions set in the policy xml file
  • Attempted to add a manual PDF coder read|write policy and following a full server restart, to no avail
  • No other ImageMagick versions installed
  • Attempted removing/reinstalling both GhostScript as well as ImageMagick (all default settings) via YUM as these worked until the latest release

YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Confirm bug
 
Thank you for the update and confirmation. I believe this won't be classified as a Plesk bug as EPEL is considered third-party repository. Nevertheless, I forwarded the report for further review by our engineers and I will provide more details as soon as possible.
 
Owh wow, i thought i was the only 1, i have the excact same problem, alle my sites stopped working with PDF feature of imagick.

how can i fix this, revert this version quickly?
yesterday the problems keep coming from my customers, yes i have auto update plesk enabled.


[***@*** ~]$ rpm -q ImageMagick
ImageMagick-6.9.13.25-1.el8.x86_64
 
Back
Top