The document could not be saved

Hello,
When im trying to open a document on onlyoffice, i get this :

It looks like it saved what im doing on the document even if i get this warn.

The guide i followed to install onlyoffice and nextcloud :

More :
124eba6a4aef2127c8c2e3decc57bada

It might be great if one of you helps me, Thank you very much :slight_smile:

I experienced this same issue. Try putting https://nginx-server/ under the server address for internal requests from the Document Editing Service.

If that alone doesn’t work, generate certs and place them in the correct folder. You can see this: Warning! The Document could not be saved

2 Likes

It solved thank you! :smiley:

1 Like

@Chris1 @bobble I tried the following to no success, can you explain your steps to solving the problem in more details? Thanks!


  1. Access docker volume for nginx
    sudo docker exec -it nginx-server bash

  2. Go to data folder
    cd /var/www/html/data

  3. Create ‘certs’ directory
    mkdir certs

  4. Copy SSl certificates into it:

cp /etc/letsencrypt/live/cloud.example.com/fullchain.pem /var/www/html/data/certs

cp /etc/letsencrypt/live/cloud.example.com/privkey.pem /var/www/html/data/certs

  1. Go to Nextcloud settings page >> Administration >> ONLYOFFICE and replace http://nginx-server with https://nginx-server

However, the result when I try to click “Save” on step 5 above, I get the following error message:


Error when trying to connect (Error occurred in the document service: Error while downloading the document file to be converted.)

…and now, I can no longer create document/spreadsheet/presentation from Nextoffice Files app… :frowning:

Turns out… the original tutorial author posted a fix for this in a section at the bottom of his article titled " Fixing Error": https://www.linuxbabe.com/docker/onlyoffice-nextcloud-integration-docker

All good now.

Your advice worked for me too! Now I’m able to use my OO sever. Thank you so much!