Try the fastest and simplest way to install ONLYOFFICE

"The document could not be saved" message.

Issues during installation, usage and configuring

"The document could not be saved" message.

Postby rodger » Mon Aug 28, 2017 2:34 am

I just learned how to set up NextCloud on my Ubuntu PC, so i set up Only Office Document server using Docker (which I just learned to use) and I installed the only office app in NextCloud and it linked successfully with the document server but when I try to load a document I get the above error. I tried figuring out the solution but I can't make sense of what to actually do.

Please see this Image http://imgur.com/a/B8gUw

When I click "For more information about connecting to Document Server" link: I'm directed to this site https://api.onlyoffice.com/editors/callback which I can't make sense of.

I also found this but don't quite understand what its telling me the solution is.

https://api.onlyoffice.com/editors/troubleshooting#error0

The editor is loaded with the "The document could not be saved" message.

The document editing service cannot connect to the document storage service at the editorConfig.callbackUrl address.

Check if the Callback handler is working correctly. The document storage service must return {"error": 0} in response.


Does any one have any a link or any advice about how to resolve this issue?

Any help will be really appreciated :)
rodger
 
Posts: 1
Joined: Mon Aug 28, 2017 2:22 am

Re: "The document could not be saved" message.

Postby Alexander_mb » Tue Aug 29, 2017 2:03 pm

Hello rodger,

The reason of the problem is that document server can not download the file from the NextCloud storage.

Please specify the following for us to detect the issue:

- How did you connect document server to the NextCloud. Could you please provide us with the settings used for the connection (which addresses you have entered in NextCloud admin console and which link you use to open NextCloud).
Alexander_mb
 
Posts: 28
Joined: Tue Aug 08, 2017 2:01 pm

Re: "The document could not be saved" message.

Postby alexis.rosano » Wed Nov 01, 2017 9:34 pm

Hello!

I have the same issue.

My configuration:

NextCloud: http://localhost/nextcloud
OnlyOffice: http://localhost:8080 (welcome page working OK) -> Docker image
alexis.rosano
 
Posts: 6
Joined: Wed Nov 01, 2017 8:25 pm

Re: "The document could not be saved" message.

Postby Alexander_mb » Thu Nov 02, 2017 10:45 am

Hello alexis.rosano,

The reason of the issue is that you use localhost as the address. In this case request goes to itself. Please try to use internal URL addresses of NextCloud and Document Server in the administrator section of NextCloud.
Alexander_mb
 
Posts: 28
Joined: Tue Aug 08, 2017 2:01 pm

Re: "The document could not be saved" message.

Postby alexis.rosano » Thu Nov 02, 2017 4:15 pm

Alexander_mb wrote:Hello alexis.rosano,

The reason of the issue is that you use localhost as the address. In this case request goes to itself. Please try to use internal URL addresses of NextCloud and Document Server in the administrator section of NextCloud.


Hello Alexander, thanks for your answer.

Could you tell me exactly which is the correct configuration?

This is my actual configuration:

https://www.dropbox.com/s/byccvvk18s538 ... 6d2a26.png

Regards!
alexis.rosano
 
Posts: 6
Joined: Wed Nov 01, 2017 8:25 pm

Re: "The document could not be saved" message.

Postby Alexander_mb » Fri Nov 03, 2017 9:52 am

Hello alexis.rosano,

You should you internal IP addresses instead of localhost in the fields. Use command docker inspect container_id to find the IP address of the document server. Then paste the internal IP address of the document server in the field №2, paste the internal address of NextCloud in the field №3 and leave the field №4 blank.
Alexander_mb
 
Posts: 28
Joined: Tue Aug 08, 2017 2:01 pm

Re: "The document could not be saved" message.

Postby alexis.rosano » Fri Nov 03, 2017 3:39 pm

Hello Alexander, thanks for your answer.

And the field Nº1 is in blank?

By the way, if I enter the IP of the document server in my browser, the page not respond like it does with localhost. But if I ping to the IP of the container, it works.
alexis.rosano
 
Posts: 6
Joined: Wed Nov 01, 2017 8:25 pm


Return to ownCloud/Nextcloud ONLYOFFICE integration app

Who is online

Users browsing this forum: No registered users and 1 guest