콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
3 답글
3306 화면

Hello everyone,

I've recently installed an instance of Odoo version 17 Community on a Ubuntu server. However, I'm facing a recurring issue where my Odoo instance unexpectedly crashes, while the other applications on the server are running fine. I'm using the wkhtmltopdf library to generate PDFs, but I'm encountering timeout problems. The logs display the following message:

WARNING demo odoo.addons.base.models.ir_actions_report: wkhtmltopdf: b'Exit with code 1 due to network error: TimeoutError\n'

Has anyone encountered a similar issue or have any suggestions on how to resolve this timeout problem with wkhtmltopdf?

Thanks in advance for your assistance


아바타
취소
베스트 답변

For Ubuntu 22.10 kinetic, wkhtmltopdf 0.12.6.1 version supported for odoo 15 & 16, for my machine finally.

wget https://github\.com/wkhtmltopdf/packaging/releases/download/0\.12\.6\.1\-2/wkhtmltox_0\.12\.6\.1\-2\.jammy_amd64\.deb

sudo apt install  ./wkhtmltox_0.12.6.1-2.jammy_amd64.deb

or

sudo dpkg -i ./wkhtmltox_0.12.6.1-2.jammy_amd64.deb


Then check the version by 

wkhtmltopdf --version //wkhtmltopdf 0.12.6.1 (with patched qt)
wkhtmltoimage --version //wkhtmltoimage 0.12.6.1 (with patched qt)

Sometimes it's required a restart.

아바타
취소
베스트 답변

Thank you Traoré for your response. I have the same problem. can you explain your solution more to me?

아바타
취소
베스트 답변

Hello,

You just have to set report.url to http://0.0.0.0:8069

아바타
취소