docker icon indicating copy to clipboard operation
docker copied to clipboard

How to use chrome-sandbox to create PDFs

Open MarkTro opened this issue 2 years ago • 0 comments

Hallo, at the moment, I'm struggeling with the pdf creation. I use the image pimcore/pimcore:php8.2-max-latest to have chrome already installed. But in the image isn't chrome installed instead it's "chrome-sandbox" in the folder /usr/lib/chromium. If I try to execute chrome or chrome-sandbox within the container I get an command not found. I guess I have to configure the aboslute path somewhere.

In the Pimcore backend I set up the pdf settings like this: pdf-settings

If I click the "Test" button, I'm getting an error: pdf-error

How can I use the functionality? I couldn't find a documentation how to set up pimcore that I can use the chrome-sandbox. Is it possibile to configure somewhere?

MarkTro avatar Nov 14 '23 13:11 MarkTro