ServerException Server error: `POST ... getConvertedUri: from pdf to jpeg

Onlyoffice worked well in all my previous installations til NC28.0.5. Since I upgraded to NC29.0.2, NC29.0.3, NC29.0.4 I get 1000s of the same errors.

Here is the short and long log out of NC.

ServerException Server error: POST https://mydomain.com/cloud/index.php/apps/documentserver_community/ConvertService.ashx resulted in a 500 Internal Server Error response: <head (truncated…)
getConvertedUri: from pdf to jpeg

{"reqId":"EPOdsiCkUhG3r5BrV6CK","level":3,"time":"2024-07-25T07:11:05+00:00","remoteAddr":"185.162.220.32","user":"--","app":"index","method":"POST","url":"/cloud/index.php/apps/documentserver_community/ConvertService.ashx","message":"Segmentation fault (core dumped)\n","userAgent":"Nextcloud Server Crawler","version":"29.0.4.1","exception":{"Exception":"OCA\\DocumentServer\\Document\\DocumentConversionException","Message":"Segmentation fault (core dumped)\n","Code":0,"Trace":[{"file":"/cloud/www/cloud/apps/documentserver_community/lib/DocumentConverter.php","line":125,"function":"run","class":"OCA\\DocumentServer\\Document\\ConverterBinary","type":"->"},{"file":"/cloud/www/cloud/apps/documentserver_community/lib/DocumentConverter.php","line":113,"function":"runCommand","class":"OCA\\DocumentServer\\DocumentConverter","type":"->"},{"file":"/cloud/www/cloud/apps/documentserver_community/lib/DocumentConverter.php","line":49,"function":"convertFiles","class":"OCA\\DocumentServer\\DocumentConverter","type":"->"},{"file":"/cloud/www/cloud/apps/documentserver_community/lib/Document/DocumentStore.php","line":98,"function":"getEditorBinary","class":"OCA\\DocumentServer\\DocumentConverter","type":"->"},{"file":"/cloud/www/cloud/apps/documentserver_community/lib/LocalAppData.php","line":102,"function":"OCA\\DocumentServer\\Document\\{closure}","class":"OCA\\DocumentServer\\Document\\DocumentStore","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/cloud/www/cloud/apps/documentserver_community/lib/Document/DocumentStore.php","line":97,"function":"getReadWriteLocalPath","class":"OCA\\DocumentServer\\LocalAppData","type":"->"},{"file":"/cloud/www/cloud/apps/documentserver_community/lib/Controller/ConvertController.php","line":59,"function":"getDocumentForEditor","class":"OCA\\DocumentServer\\Document\\DocumentStore","type":"->"},{"file":"/cloud/www/cloud/lib/private/AppFramework/Http/Dispatcher.php","line":232,"function":"convert","class":"OCA\\DocumentServer\\Controller\\ConvertController","type":"->"},{"file":"/cloud/www/cloud/lib/private/AppFramework/Http/Dispatcher.php","line":138,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/cloud/www/cloud/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/cloud/www/cloud/lib/private/Route/Router.php","line":338,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/cloud/www/cloud/lib/base.php","line":1050,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/cloud/www/cloud/index.php","line":49,"function":"handleRequest","class":"OC","type":"::"}],"File":"/cloud/www/cloud/apps/documentserver_community/lib/Document/ConverterBinary.php","Line":67,"message":"Segmentation fault (core dumped)\n","exception":[],"CustomMessage":"Segmentation fault (core dumped)\n"},"id":"66a21f13be406"}
tippe oder füge den Code hier ein
  • I reinstalled the document_server from the latest github

Does anyone have this issue too? Has ieads? …

THanks
V

PS: I am running NC29.0.4 on Ubuntu 22.04 with php8.3 on apache2.4.62

Hello,
Same issue here since I have upgraded to 29.0.4 .
I am on Debian 12, php8.2 and now NC29.0.4.
The logs tell the erro is coming from Only Office, I tried to disable OnlyOffice and preview generator and i still ahve this errors

Yeah, it’s still a fatal error in the DocumentConversion in
ConverterBinary.php line 67 in the documentserver_community. I will post it on github and hope for response there.

HOwever, in the meantime, I try this method they provide.

Good Luck