%@ Control Language="C#" Inherits="BaseContentUserControls"%> <%@ Register Namespace="TeamLab.Controls" Assembly="__Code" TagPrefix="cc" %>
Document Server for Linux distributions packages and the source code can be found here:
http://sourceforge.net/projects/teamlab/files/ONLYOFFICE_DocumentServer/
Starting from version 4.1, Document Server uses PostgreSQL instead of MySQL database which had been used in previous versions, so in this guide we will show the upgrade from version 4.1 to the latest available version. This update procedure cannot be applied to earlier versions that use MySQL.
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 case of the application update. To do that, execute the following script:
documentserver-prepare4shutdown.sh
Some of the dependencies required for Document Server correct work are not included into Ubuntu 14.04 by default, so they require additional steps for the newer versions of Document Server.
The following dependencies will be installed automatically if you use Ubuntu 14.04 LTS or later when you update Document Server (in case some of them were not installed with Document Server earlier versions for some reason):
Earlier distributions might require their manual installation.
If you want to update version 4.1, you will need to manually add the repository containing the proper nodejs package version (this action is not required when updating version 4.2).
Add repository:
curl -sL https://deb.nodesource.com/setup_6.x | sudo bash -
Update repository:
sudo apt-get update
And install the latest version of Document Server:
sudo apt-get dist-upgrade
The database and all necessary files should be picked up automatically from the previous version. Please run Document Server and check it for correct work.