Skip to content
This repository has been archived by the owner on Jan 2, 2023. It is now read-only.

I can't make it work on AWS rails app #4816

Open
belarba opened this issue Sep 3, 2020 · 1 comment
Open

I can't make it work on AWS rails app #4816

belarba opened this issue Sep 3, 2020 · 1 comment

Comments

@belarba
Copy link

belarba commented Sep 3, 2020

On my machine it works fine (using gem 'wkhtmltopdf-binary-edge', '0.12.6.0').
But I'm not able to make it works on my AWs server.

On AWS I changed the gem to gem 'wkhtmltopdf-binary'
I updated the wicked_pdf initializer to use the use_xvfb: true

But I get this error:

RuntimeError (Failed to execute:

["/usr/bin/xvfb-run", "/usr/local/bundle/bin/wkhtmltopdf", "--encoding", "utf8", "--orientation", "Landscape", "file:////tmp/wicked_pdf20200903-1020-1ul2zdw.html", "/tmp/wicked_pdf_generated_file20200903-1020-sjwtr2.pdf"] | ["/usr/bin/xvfb-run",

Error: PDF could not be generated!

Command Error: ):

Any clues?

@msniec
Copy link

msniec commented Dec 17, 2021

Hi
Did you find any solution? I'm facing the same problem

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants