Hi,
I have a problem with export to pdf in prod environment
any one have an idea about this issue
Hi,
I have a problem with export to pdf in prod environment
any one have an idea about this issue
I could try and assist, but you do not describe the problem you are having
if you use ubuntu server 20.04 or 18.04 you must download wkhtmltopdf from github ( the correct version ) and copy this on _lib/prod/third/wk…/linux_amd64 ( this solved for mi )
There’s a lot of solutions in this forum for that problem.
i have centos 7
is the same path ?
thank you that’s work
Sorry… no human being can SEE your funny gif.
First possible Solution.
Production environment. → PDF SERVER IP - use the dns name.
In /etc/hosts yoou must declare it.
~~
OR:
wkhtmlpdf 0.12.4 should work with centos7
but try wkhtmltopdf 0.12.6
you must copy the correct version from …/_lib/prod_third/wkhtmltopdf/centos8 to …amd64…
it’s already solved by fregnella
thank you anyway gomi, i appreciate your help
Hi, I’m new in this, and i have almost the same problem. I can’t generate PDF from grid applications. The hosting server runs Centos 7.
I Tried in windows and have no problem, but our service provider servers runs Centos 7.
i go to github and download the wkhtmltopdf-0.12.6.zip, also wkhtmltox-0.12.6-1.centos7.x86_64.rpm
how do i install it? or how can i get it?
the file doesn’t have the wkhtmltopdf-amd64 inside the package…
hector download the binary from github and rename it
Hi, what finally worked? I’ve tried everything and can’t fix the error.
I have vps centos 7, php 7.3, SC 9.7.015.
Hi Claudio,
downlaod the last version of wkhtmltopdf
wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox-0.12.6-1.centos7.x86_64.rpm
and install it
sudo rpm -i wkhtmltox-0.12.6-1.centos7.x86_64.rpm
and next replace the recent version the old version that you have in scriptcase library
cp /usr/local/bin/wkhtmltopdf /_lib/prod/third/wkhtmltopdf/linux-amd64/
I hope my answer resolve your issue
i forgot, after cp /usr/local/bin/wkhtmltopdf /_lib/prod/third/wkhtmltopdf/linux-amd you need to rename the copied file as wkhtmltopdf-amd64
solved, thank you very much for the help.