Updating using the script
Download the installation script:
wget http://download.onlyoffice.com/docs/docs-enterprise-install.sh
wget http://download.onlyoffice.com/docs/docs-developer-install.sh
Execute the following command:
bash docs-enterprise-install.sh -u true
bash docs-developer-install.sh -u true
Type N and press Enter to update ONLYOFFICE Docs from DEB/RPM packages.
Updating manually
Installing dependencies
Some of the dependencies required for ONLYOFFICE Docs correct work are not included into Ubuntu 14.04 by default, so they require additional steps for the newer versions of ONLYOFFICE Docs.
The following dependencies will be installed automatically if you use Ubuntu 14.04 LTS or later when you update ONLYOFFICE Docs (in case some of them were not installed with ONLYOFFICE Docs earlier versions for some reason):
- libcurl3
- libxml2
- fonts-dejavu
- fonts-liberation
- ttf-mscorefonts-installer
- fonts-crosextra-carlito
- fonts-takao-gothic
- fonts-opensymbol
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 Node.js package version (this action is not required when updating version 4.2).
Add repository:
curl -sL https://deb.nodesource.com/setup_8.x | sudo bash -
Ubuntu distributions prior to 14.04 LTS might require some other dependencies to be installed.
Installing new version of ONLYOFFICE Docs
For Ubuntu and derivatives
Update repository:
sudo apt-get update
And install the latest version of ONLYOFFICE Docs:
sudo apt-get dist-upgrade
For CentOS and derivatives
sudo yum update onlyoffice-documentserver-ee
sudo yum update onlyoffice-documentserver-de
The database and all necessary files should be picked up automatically from the previous version. Please run ONLYOFFICE Docs and check it for correct work.
The database schema has been changed in v6.3. When updating to v6.3, you may also need to upgrade the database schema to ensure the ability to use the
password protection feature.
- Download the script for upgrading the database schema.
- Execute the script using the command line.
- For PostgreSQL:
psql -U onlyoffice -W onlyoffice < {path-to-upgradev630.sql}
- For MySQL:
mysql -u root -p onlyoffice < {path-to-upgradev630.sql}
Specify the password used when creating the database (onlyoffice
).