Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LibreOffice newer versions stability issues #576

Closed
gulien opened this issue Jan 6, 2023 · 13 comments · Fixed by #697
Closed

LibreOffice newer versions stability issues #576

gulien opened this issue Jan 6, 2023 · 13 comments · Fixed by #697
Labels
bug Something isn't working help wanted Extra attention is needed libreoffice pdf-engines

Comments

@gulien
Copy link
Collaborator

gulien commented Jan 6, 2023

    I did a bit of research and came to the following result with a simple binary search:
Working Not Working Release Date
  7.7.1 (4.4.2.3) 03.12.2022
  7.6.1 (7.4.1.2 40(Build:2)) 03.10.2022
7.6.0 (7.3.5.2 30(Build:2))   01.09.2022
7.5.4 (7.3.5.2)    
7.5.3 (7.3.4.1)   07.06.2022

The version in brackets represents the used LibreOffice version in each gotenberg version.
That might explain the sudden issue on our end, as we used gotenberg/gotenberg:7 as the image. I've created this issue on the 04th of October, and the update with the broken version of LO was released on the 03rd of October. Our CI/CD pipeline most certainly did a docker-compose pull which updated to the named version and explains the sudden error(s).

So, basically - the culprit is on of 1.185 commits between v7.4.1.2 and v7.3.5.2 (LibreOffice/core@libreoffice-7.4.1.2...libreoffice-7.3.5.2) - fun to debug tbh

Originally posted by @PierreSchwang in #516 (comment)

@gulien gulien added bug Something isn't working help wanted Extra attention is needed pdf-engines libreoffice labels Jan 6, 2023
@gulien
Copy link
Collaborator Author

gulien commented Jan 6, 2023

Thanks @PierreSchwang for the investigation 👍

@gulien
Copy link
Collaborator Author

gulien commented Jan 16, 2023

#442 (comment)

Gotenberg garbage collector causing an issue with newer LibreOffice versions?

@gulien
Copy link
Collaborator Author

gulien commented Jan 24, 2023

#577 (comment)

Lock can take longer than 10 seconds?

@yan-hic
Copy link

yan-hic commented Feb 8, 2023

#577 (comment)

Lock can take longer than 10 seconds?

Faced that exact same error re lock timeout right off the bat when starting a private gotenberg:7.

@gulien would you advise to downgrade 7.4.2 until fixed ? What major features would one miss ?
Our use case: converting xlsx in landscape pdf

@gulien
Copy link
Collaborator Author

gulien commented Feb 8, 2023

Hello @yan-hic,

You'll miss newer PDF Formats (PDF/A-2b & PDF/A-3b) but that's it 😉

@yan-hic
Copy link

yan-hic commented Mar 14, 2023

@gulien would you consider a build using the next major release of libreoffice (7.5.2 can be downloaded) ? Wondering if stability is better (+ performance and allow new enhancements).

@gulien
Copy link
Collaborator Author

gulien commented Mar 15, 2023

@yan-hic Indeed, might be interesting to test it when available on Debian bullseye.

@nporchis
Copy link

Hello all,

I think that we have the same issue on our side.
Following this post i performed un update of our Gotemberg image based on Gotemberg V7.5.3. (our image only include a custom font)
But after 14 days running, the pod start to fail into issue.
Some logs enclosed. Everything was fine until first two logs lines.
After that we start having errors "convert to PDF: unoconv PDF: unix process error: wait for unix process: signal: aborted (core dumped)" and "convert to PDF: unoconv PDF: unix process error: wait for unix process: exit status 5" and finaly "convert to PDF: lock long-running LibreOffice listener: acquire LibreOffice listener lock: context deadline exceeded"
gotemberg.txt

We are using "/forms/libreoffice/convert" endpoint to convert from docx to pdf and hosting Gotemberg on kubernetes.

I hope that this feedback will help.
Any update on this issue would be great.
Thanks !

@yan-hic
Copy link

yan-hic commented Aug 22, 2023

@yan-hic Indeed, might be interesting to test it when available on Debian bullseye.

LO 7.6 is out on Debian.
@gulien I know you have little time to maintain - was your request for maintainers to join in fruitful ? Wondering if anyone could build based on latest LO and Debian (12).

@gulien
Copy link
Collaborator Author

gulien commented Aug 23, 2023

Hello @yan-hic

Not yet. But it's on my TODO list!

@yan-hic
Copy link

yan-hic commented Oct 4, 2023

Not yet. But it's on my TODO list!

Just checking in as I was hoping to move out of 7.4.2. More recent gotenberg releases have not helped for our use case (mainly xlsx conversion), and 7.4.2 remains the most stable one - again, in our use case.

@gulien
Copy link
Collaborator Author

gulien commented Oct 4, 2023

Hello @yan-hic,

I'm currently working on it, but, again, not ETA alas. Good news though: it seems that there are no more stability issues based on my local testing.

@novelnet
Copy link

@gulien Thanks!

@gulien gulien mentioned this issue Oct 30, 2023
14 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed libreoffice pdf-engines
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants