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:
Go to the
Run the following command:
git submodule update --init --recursive
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:
Executing the script may take a long time (up to 5 minutes).
Disconnecting users may take a long time (up to 5 minutes).