I’m running Nextcloud 20.0 from the nextcloud:fpm
docker image. It is connected to Postgres and Redis, with nginx in front of it acting as a reverse proxy. All of this works fine. (Note: I can successfully open and edit the example Markdown files included in Nextcloud by default.)
I am also running a container with the onlyoffice/documentserver:latest
image. It is also connected to Postgres (same server as above, but different database) and RabbitMQ. The container is up and running and does not report any errors in the logs.
Now, I try to open the 25KB Documents/Welcome to Nextcloud Hub.docx
file that is present by default in my Nextcloud installation. OnlyOffice does load in a new tab, and shows me a “Loading document” spinner for a long time, then loads 6%, 13%, 25%… and there it hangs. I hit reload a few times, and it eventually opened the document. It was slow to open even with my earlier Nextcloud 19.x setup (I upgraded just a few minutes ago), but now it’s even slower.
Another problem: once the document is open, most of the words are underlined in red (see attached screenshot below). I assume these are to indicate spelling errors—but the documentserver’s spellchecker/*.log
shows that spellchecker
is running with no errors. Do I need to do something extra to make it work? (Note that some words like Hub, all, Access, manage are not underlined.)
On the index.php/settings/admin/onlyoffice
page, I tried the “Connect to demo ONLYOFFICE Document Server” option. However, that makes it even slower, and I still have not been able to load more than 25% of the same 25KB document despite, again, waiting for several minutes and hitting reload a few times.
I am new to Nextcloud and OnlyOffice, but I have tried to find anything online that could help me with this problem, without much success. I would be grateful for any suggestions to debug and solve this problem.
Thank you.