Suddenly, when clicking PDF files on the WEB interface, they won’t open. It hangs forever in Opening file.
However, when clicking on the 3 dots to the right of the filename, and select View it works immediately.
For all other file types it works fine.
Any ideas?
- Server version?
- Apps installed? (PDFs are handled by several potential apps)
- Any messages in your browser console when it hangs?
Server version: latest NextCloud 2.8.3 on Hetzner Storage Share.
OnlyOffice v 9.1.2. (community server)
No other messages but blank section on page with “Loading file…”
Only for PDF files.
BR Johnny
Solved the problem by disabling the handling of PDF files in the OnlyOffice configuration.
Could this be because OnlyOffice does not support editing PDF files??
BR Johnny
See:
https://github.com/ONLYOFFICE/document-formats
there is PDF for reading and filling mentioned as supported file format.
Is it possible, that you tried to open the PDF for editing?
We are using the community server, and in the configurations settings we had set it to be standard for PDF files. If I remove this, it works. I guess, in the case it’s set, OnlyOffice is trying to open for editing.
If I, at the file viewer, select Edit file with OnlyOffice, it hangs as before.
I don’t see any options for only reading or filling.
BR Johnny
Hi, I also use Hetzner Storage Share, and I just arrived at the same problem. But now when the PDF wont open, a popup appears with the message “The “documentType” parameter for the config object is invalid. Please correct it.”
I arrived at the same solution as above, to disable PDFs in the OnlyOffice settings. But it doesn’t work, as after I update and save the settings, when I reload the settings, the PDF box is checked again. So I can’t turn it off.
So it appears I’m stuck.
try the other save button. There are 3 buttons on the page, and each saves different part of the settings.
But i have the same problem when try to open the pdf in onlyoffice. The main problem is that the android app always wants to open the pdf with onlyoffice, regardless of the checkbox.
It works for me since I updated OnlyOffice to the latest version (8.1.1) and added the configuration of the secret in Nextcloud as it is in the meanwhile required by the OnlyOffice default settings.