- Home
- DocSpace
- Installation
- Enterprise
- Updating ONLYOFFICE DocSpace Enterprise using script
Updating ONLYOFFICE DocSpace Enterprise using script
Introduction
ONLYOFFICE DocSpace Enterprise is a paid version of a document hub where you can connect users and documents in one place to boost collaboration.
ONLYOFFICE DocSpace Enterprise is shipped as an automatic installation script for Linux operating systems with Docker installed. The script sets up Docker containers with all the components required for ONLYOFFICE DocSpace Enterprise to function correctly and is easy to run, manage, and update.
To update your DocSpace installation, run the ONLYOFFICE DocSpace Enterprise installation script specifying the -u true parameter.
-u true parameter to update ONLYOFFICE DocSpace and its components. Updating DocSpace packages via standard system package managers (e.g., apt upgrade or apt full-upgrade) is not recommended, as this may unintentionally upgrade dependencies like MySQL, Redis, or RabbitMQ to incompatible versions, and may result in product malfunctions or service failures. If a general system update is required, exclude all DocSpace-related packages from that update and upgrade DocSpace separately using the official script.Component update
| Parameter | Description | Values | Default |
|---|---|---|---|
-u, --update | Use to update existing components | true|false | false |
This parameter installs the latest versions of the required components if the corresponding components on your machine are outdated.
Example
bash docspace-enterprise-install.sh -u true
This will stop the containers that require updating, remove them, and then start the latest versions of the corresponding ONLYOFFICE DocSpace Enterprise components. If the current component version matches the latest available version, that container will not be affected. Components that were skipped during the previous installation will also be skipped. DocSpace data is preserved automatically.
Update Docs only to version 7.2.1.34 and skip the update for all other components:
bash docspace-enterprise-install.sh -u true -docsi onlyoffice/documentserver-ee -docsv 7.2.1.34 -idocs true -ids false -irbt false -irds false
Update DocSpace only to version 1.2.0 and skip the update for all other components:
bash docspace-enterprise-install.sh -u true -dsv v1.2.0 -idocs false -irbt false -irds false
When you run the script with parameters, you will be prompted to select the installation method. Type Y and press Enter to install ONLYOFFICE DocSpace using Docker. Type N and press Enter to install ONLYOFFICE DocSpace from DEB/RPM packages.