Updating ONLYOFFICE Apps Enterprise using script
Introduction
ONLYOFFICE Apps Enterprise is a paid version of a document hub where you can connect users and documents in one place to boost collaboration.
ONLYOFFICE Apps 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 Apps Enterprise to function correctly and is easy to run, manage, and update.
To update your ONLYOFFICE Apps installation, run the ONLYOFFICE Apps Enterprise installation script specifying the -u true parameter.
Always use the official installation script with the -u true parameter to update ONLYOFFICE Apps and its components. Updating ONLYOFFICE Apps 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 ONLYOFFICE Apps packages from that update and upgrade ONLYOFFICE Apps 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 apps-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 Apps 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. Your workspace data is preserved automatically.
Update Docs only to version 7.2.1.34 and skip the update for all other components:
bash apps-enterprise-install.sh -u true -docsi onlyoffice/documentserver-ee -docsv 7.2.1.34 -idocs true -ia false -irbt false -irds false
Update ONLYOFFICE Apps only to version 1.2.0 and skip the update for all other components:
bash apps-enterprise-install.sh -u true -asv 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 Apps using Docker. Type N and press Enter to install ONLYOFFICE Apps from DEB/RPM packages.