Articles with the tag:
Close
Changelog
Close
Help Center
Document Server for Linux
  • All
  • Compilation issues
  • Usage issues

Compilation issues

Q:I cloned the code but I find only empty folders, there is no source code.

A:The repository includes submodules. It is recommended to clone the repository executing the following command:

git clone --recursive https://github.com/ONLYOFFICE/DocumentServer.git

In case you have cloned the repository using the command:

git clone https://github.com/ONLYOFFICE/DocumentServer.git

you can update the submodules in the following way:

  1. Go to the DocumentServer directory:

    cd DocumentServer
    
  2. Run the following command:

    git submodule update --init --recursive
    

Usage issues

Q:Data loss has occured when stopping Document Server. How to prevent data loss?

A:Due to the operational characteristic, Document Server saves a document only after the document has been closed by all the users who edited it. To avoid data loss, you must forcefully disconnect the Document Server users when you need to stop Document Server in cases of the application update, server reboot etc. To do that, execute the following script on the server where Document Server is installed:

documentserver-prepare4shutdown.sh

Executing the script may take a long time (up to 5 minutes).
Disconnecting users may take a long time (up to 5 minutes).

Q:I updated my editor language files (corrected some translations) but the server still shows the previous values instead of the correct ones. How can I reset the cache for all the users at the same time?

A:Please follow the steps to reset the cache:
Find the /etc/nginx/includes/onlyoffice-documentserver-docservice.conf and /etc/nginx/includes/onlyoffice-documentserver-spellchecker.conf files. There must be the build date and time value. Change these values to some other (any value will do, but the main thing that it must be the same in all the places), and restart NGINX:

sudo service nginx reload
The cache should be reset for all the server users.

Please note that for the Docker installation all the actions must be performed within the container.
Download Best editors on your website Let your site users view, edit and collaborate
on all types of text, spreadsheet and presentation files
You Might Also Like This:
Close