79654497

Date: 2025-06-05 13:01:19
Score: 3.5
Natty:
Report link

I've been stuck with the same issue for days, but the cause was something else.
Default odoo uses non-patched wkhtmltopdf.
This causes issues on newer systems.

The patched version on it's turn requires libssl1.1 (not libssl3), which is also not by default available in recent ubuntu server versions.

Steps to solve:

  1. Remove current installation:
    sudo apt remove --purge wkhtmltopdf

  2. Download and install libssl1.1
    wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.0g-2ubuntu4_amd64.debsudo dpkg -i libssl1.1_1.1.0g-2ubuntu4_amd64.deb

  3. Download and install qkhtmltopdf (with patched Qt)
    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

This solved it on my side!

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Me too answer (2.5): stuck with the same issue
  • Low reputation (1):
Posted by: Jef Fabri