Hi,
i want convert ODT (LibreOffice document) to PDF invoice.
My steps for realize:
- apt-get update && apt-get install -y unoconv
- accept install LibreOffice
- add param: MAIN_ODT_AS_PDF → unoconv
- Run generate invoice
- ended error:
ODT to PDF convert fail (option MAIN_ODT_AS_PDF is unoconv, command was unoconv /www/wwwroot/dolibarr/documents/facture/IN2503-0001/IN2503-0001_T-001.odt, retval=6)
How i can fix?
Ater command:
libreoffice --version
i get:
LibreOffice 7.4.7.2 40(Build:2)
Actually version LibreOffice is 25.x
Please how i can fix this?
(manually install version 25.x is not solution, but missing .so packages and command “unoconv” not recognized)
Dolibarr versio: 20.0.4
Linux: Debian 12