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).
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