wkhtmltopdf doesn't work without an X server
- Status
- Closed
- Subject
- wkhtmltopdf doesn't work without an X server
- Version
- 6.x
7.x - Category
- Error
- Documentation (or Advocacy)
- Feature
- PDF
Print - Resolution status
- Fixed or Solved
- Submitted by
- chrisbaume
- Lastmod by
- Marc Laporte
- Rating
- Description
- When I tried using wkhtmltopdf for PDF export, all I got was 0 byte files. I turns out this is because the system running wkhtmltopdf must have an X server installed to work. This is not the case with my headless server, and I imagine that most web servers do not run X.
- Solution
- Either make a note in the documentation that you must run an X server alongside wkhtmltopdf, check this when the PDF option is enabled in the admin panel, or check to see if wkhtmltopdf is returning 0 byte files and handle appropriately.
- Importance
- 2
- Priority
- 10
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 3954
- Created
- Wednesday 27 July, 2011 13:01:22 UTC
by chrisbaume - LastModif
- Friday 13 January, 2012 00:14:47 UTC