Problem that I am struggling with - creating PDFs with certain apps
Specifically, I have âNextcloud Officeâ with âCollabora Online - Built-in CODE Serverâ. Save-As operation for documents does not work. This includes not just PDFs, but also save-as to .txt, .rtf, etc.
Error âFailed to convert file: The file could not be converted.â is returned.
Hereâs what log file return when attempting to save-as to pdf:
richdocuments ClientExceptionClient error: POST https://test.com/apps/richdocumentscode/proxy.php?req=/cool/convert-to/pdf resulted in a 403 Forbidden responseFailed to convert preview: Client error: POST https://test.com/apps/richdocumentscode/proxy.php?req=/cool/convert-to/pdf resulted in a 403 Forbidden response
Otherwise âNextcloud Officeâ with âCollabora Online - Built-in CODE Serverâ work as expected, I havenât seen any other obvious errors with it.
Also, I have âWorkflow external scriptsâ app that has PDF conversion flow based on trigger event.
Logs suggest that the flow gets activated as defined by the rules, but terminates with this error:
workflow_pdf_converter could not convert /admin_user/files/74765767.odt, reason: []
However, I have âLibreSignâ app (signs pdf doc & creates new pdf with signature) - it does work and create new pdf (!)
Also, I have âZipperâ app that adds content menu command that creates archive in background for selected files - this works.
So it looks like chmod/chown is not really an issue on my server.
What I tried so far:
Checked for proper chown & chmod - seem not to be an issue, even 777 on entire subdomain where nextcloud is deployed
Disabled cloudflare proxy
Switched php from 8.3 to 8.1
Disabled NextCloud encryption
Environment:
Fresh installation on Ubuntu 22.04, php 8.3 in FastCGI mode, latest Nextcloud 31.02, NextCloud office 8.6.3, Collabora Online 24.4.1302.
No upgrade history.
Really struggling here, any hints & help are appreciated
Thank you!