Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3 ตอบกลับ
7005 มุมมอง

Hello Guys 

A fresh install on Ubuntu 18.04 latest update applied

Odoo v11 install from git 

Odoo claims that wkhtmltopdf is not installed 


I did the following

    sudo wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.bionic_amd64.deb

##  this take care of the needed dependencies

sudo apt install -y ./wkhtmltox_0.12.5-1.bionic_amd64.deb

sudo ln -s /usr/local/bin/wkhtmltopdf /usr/bin

 sudo ln -s /usr/local/bin/wkhtmltoimage /usr/bin

Thanks in advance


UPDATE

Thanks for the response but I do want to use the last version as stated by Odoo

and the problem occurs only when installing Odoo in /opt/oddo not when installing in /odoo



อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hello @ christophe humbert

sudo wget https://builds.wkhtmltopdf.org/0.12.1.3/wkhtmltox_0.12.1.3-1~bionic_amd64.deb

sudo dpkg -i wkhtmltox_0.12.1.3-1~bionic_amd64.deb

sudo apt-get install -f 

apt-get install -f will installs missing dependencies

sudo ln -s /usr/local/bin/wkhtmltopdf /usr/bin

sudo ln -s /usr/local/bin/wkhtmltoimage /usr/bin

this may work for v11 wkhtmltopdf for ubuntu 18.04

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

It can be permission issue, you may want to check if the user that runs odoo service has permission to access install folder of wkhtmltopdf

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

Thanks

odoo is part of sudoer groups and as mentioned above ...wkhmlttopdf is installed in /usr/local/bin


Best regards

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
Erro with wkhtmltopdf and Odoo11 แก้ไขแล้ว
3
มี.ค. 19
7889
0
มี.ค. 25
2599
1
มี.ค. 25
2592
2
ก.ค. 24
4973
1
พ.ค. 24
3682