Last active
January 17, 2019 03:18
-
-
Save akhdaniel/3427a32453424a9fdfba2d36b1e5ca1e to your computer and use it in GitHub Desktop.
odoo wkhtmltopdf centos
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I found out that the packaged versions do not work (even the most recent) | |
The solution is to download and install the packaged version then do a manual install of a different version so you get the libraries from the packaged version and use the executables only from version 12.4 | |
After this no more empty reports on CentOS | |
##Install the packaged version via: | |
yum install wkhtmltopdf | |
##Note Ubuntu works fine. This is for CentOS | |
cd ~ | |
wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz | |
tar -xvf wkhtmltox-0.12.4_linux-generic-amd64.tar.xz | |
cd /root/wkhtmltox/bin | |
cp /usr/bin/wkhtmltopdf /usr/bin/wkhtmltopdf.Original | |
cp /usr/bin/wkhtmltoimage /usr/bin/wkhtmltoimage.Original | |
cp wkhtmltopdf /usr/bin | |
cp wkhtmltoimage /usr/bin | |
systemctl restart odoo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment