Skip to content

How to use chrome-sandbox to create PDFs #146

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Affected capability

    None yet

    Platform Version

    None yet

    Galaxy

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions