Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

How to use chrome-sandbox to create PDFs #146

Open
MarkTro opened this issue Nov 14, 2023 · 0 comments
Open

How to use chrome-sandbox to create PDFs #146

MarkTro opened this issue Nov 14, 2023 · 0 comments

Comments

@MarkTro
Copy link

MarkTro commented Nov 14, 2023

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?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant