- Home
- Workspace
- Installation
- Community
- Docker
- Migrating from ONLYOFFICE Workspace Community to Enterprise using the Docker script
Migrating from ONLYOFFICE Workspace Community to Enterprise using the Docker script
Introduction
If you have been using ONLYOFFICE Workspace Community for some time and now want to use the advanced online office functionality, you can migrate to ONLYOFFICE Workspace Enterprise. ONLYOFFICE Workspace Enterprise provides extended functionality, such as:
- mobile web editors,
- regular functionality and security updates for one year,
- one year of professional technical support.
This article describes how to upgrade from ONLYOFFICE Workspace Community Docker version installed using the workspace-install.sh script to ONLYOFFICE Workspace Enterprise Docker version by means of the workspace-enterprise-install.sh script.
Step 1. (Optional) Creating a database backup
Portal data both for ONLYOFFICE Workspace Community and ONLYOFFICE Workspace Enterprise is stored in the /app/onlyoffice folder on your host machine, so the data should be picked up automatically after the upgrade. As a precaution, you can back up 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, check that the portal launches correctly and note down some user data to be able to check it after the upgrade.
Step 2. Upgrading to ONLYOFFICE Workspace Enterprise
Download the ONLYOFFICE Workspace Enterprise 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 stop the 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.
/onlyoffice folder to the /app folder before installing ONLYOFFICE Workspace Enterprise:
sudo cp -a /home/user/Backup/onlyoffice /app
Step 3. Launching the portal and activating your license
When ONLYOFFICE Workspace Enterprise is installed, you can launch the portal and check that it works correctly and that all the data is present. The last thing you need to do is go to the /controlpanel/activate page: open the Control Panel and click the Upgrade to Enterprise link at the top. Click Buy to buy the license, then upload the license key that you have bought in the corresponding field and click Activate. To find out more details on how to buy a license key, refer to this article.