Skip to content

wkhtmltopdf not found in image.  #134

Closed as not planned
Closed as not planned
@soflane

Description

@soflane

linuxserver.io

After digging a bit, I found that the package wkhtmltopdf is not available for Alpine version 3.16, and make the apk add wkhtmltopdf command in the dockerfile fail

Expected Behavior

Current Behavior

Steps to Reproduce

  1. Run the container with the environment variable WKHTMLTOPDF=/usr/bin/wkhtmltopdf
  2. try to export a page in bookstack

Environment

OS: Debian 11
CPU architecture: x86_64
How docker service was installed: Official docker script

Command used to create docker container (run/create/compose/screenshot)

Docker run

Docker logs

There is no output in the docker itself, but when trying to export a page to PDF in bookstack I get the error that the binary wkhtmltopdf is not found.

The exit status code '127' says something went wrong: stderr: "sh: /usr/bin/wkhtmltopdf: not found " stdout: "" command: /usr/bin/wkhtmltopdf --lowquality --page-size 'A4' --outline --print-media-type '/tmp/knp_snappy6322017b115a82.05430218.html' '/tmp/knp_snappy6322017b1166b6.69407541.pdf'.

Sorry if my bug report is not clear enough, don't hesitate to make me correct some things !

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions