Try the fastest and simplest way to install ONLYOFFICE

OnlyOffice just stopped working

Questions/problems on Docker

OnlyOffice just stopped working

Postby NoMax » Mon Oct 22, 2018 11:23 am


I installed OnlyOffice in a docker container on the same server as Nextcloud. It had been working well for over 6 months. Now, Nextcloud has lost all communication with OnlyOffice.
The OnltOffice menus are gone, and the Nextcloud error log is showing the following:

Error onlyoffice CommandRequest on check error: Bad Request or timeout error 2018-10-19T14:50:08-0400
Error PHP file_get_contents( ... rvice.ashx): failed to open stream: HTTP request failed! at /var/www/nextcloud/apps/onlyoffice/lib/documentservice.php#351 2018-10-19T14:50:08-0400

I tried restoring a copy of the VM from backup form a few days ago and OnlyOffice is working from the backup. I can't leave the backup online as too many Nextcloud user changes/updates would be lost.

I'm not sure where to look to fix this issue (I didn't get any useful info from looking at the files above), and to my knowledge nothing was changes in the environment to cause this problem.

Many thanks in advance for any assistance.

Posts: 2
Joined: Fri Oct 19, 2018 12:39 pm

Re: OnlyOffice just stopped working

Postby Maxim » Tue Oct 23, 2018 7:43 am

1. Does docker container (document server) work? If it doesn't please look at the logs
2. Can you browse Document Server via http or https?
3. "Bad Request or timeout error" - it means that for some reason the server is not accessible. Maybe nginx has been reconfigured?
4. Did you try to install Document server again (recreate docker container)?
Posts: 1747
Joined: Tue Oct 11, 2016 2:34 pm

Re: OnlyOffice just stopped working

Postby NoMax » Tue Oct 23, 2018 11:17 am

I figured out the solution - somehow there was a simple loss of IP connectivity between the docker and the Nextcloud server which were both running in the same VM.
I modified the hosts file in the Nextcloud server and in the docker and it's working again. Not sure what broke it in the first place but I suspect something on our firewall.
Posts: 2
Joined: Fri Oct 19, 2018 12:39 pm

Re: OnlyOffice just stopped working

Postby Carl » Mon Oct 29, 2018 7:45 am


we are glad you've managed to resolve the issue.
Posts: 84
Joined: Thu Apr 12, 2018 10:00 am

Return to Docker Version

Who is online

Users browsing this forum: No registered users and 5 guests