ODT to PDF template invoice issue

My ODT to PDF conversion working properly till yesterday. today Moring when I am trying to generate the invoice, only odt invoice is generating and pdf is not generating.

The odt file also seems to corrupted using libre office, but succesfully repaired using open office.

When I manually run the command on terminal: soffice --headless --convert-to pdf IN2404-0001_HS_USD.odt
it shows the following errors, I tried to update and upgraded the libre office on the server, but still the same issue, I am facing.

“Error: source file could not be loaded”

I am using the Dolibarr 19.0.1 latest version, I noticed that all ODT generated invoice gets corrupted, and hence, system is not able to convert the ODT to PDF file.

Can any one help me, why ODT Invoice getting corrupted on Dolibarr during invoice generate process.

It might be useful to take a look here. :arrow_down_small: