Migrating from ONLYOFFICE Workspace Community to Enterprise using Docker script

Introduction

If you have been using ONLYOFFICE Workspace for some time and now want to make use of the advanced online office functionality, you can migrate to ONLYOFFICE Workspace Enterprise Edition. ONLYOFFICE Workspace Enterprise Edition provides extended functionality, such as:

  • mobile web editors,
  • regular functionality and security updates during 1 year,
  • 1 year of professional tech support service.

This article describes how to upgrade from ONLYOFFICE Workspace Docker version installed using the workspace-install.sh script to ONLYOFFICE Workspace Enterprise Edition Docker version by means of the workspace-enterprise-install.sh script.

Step 1. (optional) Creating database backup

Portal data both for ONLYOFFICE Workspace and ONLYOFFICE Workspace Enterprise Edition is stored in the /app/onlyoffice folder on your host machine, so that the data should be picked up automatically after updating. As a precaution, you can perform the backup of the folder that contains portal data. To do that manually copy the /app/onlyoffice folder to any folder on your machine, e.g.:

sudo cp -a /app/onlyoffice /home/user/Backup

After all the data is backed up, please check the portal for correct launch and remember some user data to be able to check it after the upgrade.

Step 2. Upgrading to ONLYOFFICE Workspace Enterprise Edition

Download the ONLYOFFICE Workspace Enterprise Edition Docker script file:

wget https://download.onlyoffice.com/install/workspace-enterprise-install.sh

Run the script specifying the -u true parameter:

bash workspace-enterprise-install.sh -u true

This will consequently stop those containers that need to be updated, remove them and then run the latest versions of the corresponding components. ONLYOFFICE Docs Enterprise Edition will be installed instead of ONLYOFFICE Docs Community Edition.

Warning If you upgrade from Community Edition version lower than 9.1, the script will move MySQL database to the separate container (which is the new installation scheme). See this article for more information about the available script parameters.
If for some reasons you need to restore the backup data that you have created at Step 1, manually copy the /onlyoffice folder to the /app folder before installing ONLYOFFICE Workspace Enterprise Edition:
sudo cp -a /home/user/Backup/onlyoffice /app

Step 3. Launching the portal and activating your license

When ONLYOFFICE Workspace Enterprise Edition is installed, you can launch the portal and check it for correct work and all data presence. The last thing you need to do is to go to the /controlpanel/activate page (open the Control Panel and click the Upgrade to Enterprise link on the top), click the Buy button to buy the license, then upload the license key that you've bought in the corresponding field and click the Activate button. To find out more details on how to buy a license key, you can refer to this article.

Host ONLYOFFICE Workspace on your own server

Article with the tag:
Browse all tags