Articles with the tag:
Close
Changelog
Close
Help Center
Document Server for Linux

How to update your Document Server for Linux to the latest version?

Document Serverv.3.0 - Document Serverv.3.6

Introduction

Document Server for Linux distributives packages and the source code can be found here:
http://sourceforge.net/projects/teamlab/files/ONLYOFFICE_DocumentServer/

The first published Linux version for Document Server was version 3.0, so in this guide we will consider it to be the oldest that can be installed on your computer and will show the upgrade to the latest available version from it.

Shutting down Document Server

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
Executing the script may take a long time (up to 5 minutes).
Disconnecting users may take a long time (up to 5 minutes).

Installing dependencies

The system requirements have not changed for Document Server starting from version 3.0, but some of the dependencies required for 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):

  • mono-fastcgi-server
  • libcurl3
  • libxml2
  • supervisor
  • fonts-dejavu
  • fonts-liberation
  • ttf-mscorefonts-installer
  • fonts-crosextra-carlito
  • fonts-takao-gothic
  • fonts-opensymbol

Earlier distributives might require their manual installation.

You will also need to manually add GPG key and repository for the proper version of MySQL server and nodejs packages.

Adding the repository containing the up-to-date mysql-server package versions:

Add GPG key:

sudo apt-key adv --keyserver keys.gnupg.net --recv-keys 5072E1F5

Add repository:

echo "deb http://repo.mysql.com/apt/ubuntu/ trusty mysql-5.6" | sudo tee /etc/apt/sources.list.d/mysql.list

Update repository:

sudo apt-get update
When installing Document Server to an operating system different from Ubuntu 14.04 the link will differ from the above. Please see the official MySQL documentation for more datail on that.

Adding the repository containing the up-to-date nodejs package versions:

Add repository:

curl -sL https://deb.nodesource.com/setup_4.x | sudo bash - 
Ubuntu distributives prior to 14.04 LTS might require some other dependencies to be installed.

Installing new version of Document Server

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.

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