OnlyOffice can't open Excel files


Here is my current configuration:

  • Nextcloud: v18.0.2
  • Community Document server: 0.1.5
  • OnlyOffice app connector: 4.1.4
  • vCPU: 4
  • Memory: 4GB

I can create and edit Word document (doc and docx) and Powerpoint (ppt and pptx) but I can’t open Excel files (neither xlsx files nor xls files). The page is loading indefinitely:

I checked CPU and Memory usage on netdata: nothing seems to overload…
I also tried on very little xlsx document. Even when I create a document, it can’t be opened.

Any idea on the problem?

thank you so much!

I had the some problem, one solution could be the spellchecker.

If yout take a look in the log file…
tail -f /var/log/onlyoffice/documentserver/spellchecker/err.log
…and find this message:
“Error: The module <…> was compiled against a different Node.js version”

you can fix it like this:

cd /var/www/onlyoffice/documentserver/server/SpellChecker/
#npm rebuild
mv node_modules/ node_modules_old/
npm install
cd -

You also need to restart apache2/nginx web service

Is it a .xls ou .xlsx file ? If it’s .xls try converting it to .xslx first

both file extensions are impacted

Is your onlyoffice server working ? Can you access it by its url ?

@scpcom Thank you for your proposition.
I can’t find the onlyoffice directory in the logs.
When could it also be?

I know it’s working since every other file can be opened (doc, docx, ppt, pptx)

Right my bad … I’d say the problem comes from the only office server. I would reinstall it.

I send you a PM to test a external documentserver.