Thanks to visit codestin.com
Credit goes to github.com

Skip to content

How to use chrome-sandbox to create PDFs #146

@MarkTro

Description

@MarkTro

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions