Activate ONLYOFFICE Docs Enterprise
To activate ONLYOFFICE Docs Enterprise Edition, place the license.lic file you received after purchase in your installation. ONLYOFFICE Docs then becomes registered and full-featured. Where the file goes depends on how ONLYOFFICE Docs is installed — the sections below cover each installation type.
Docker installation
If you are using a Docker container, the license.lic file can be placed in any folder (e.g. /app/onlyoffice/DocumentServer/data/license.lic), but you will need to mount this folder when the container starts:
sudo docker run -i -t -d -p 80:80 --restart=always \
-v /app/onlyoffice/DocumentServer/data:/var/www/onlyoffice/Data \
-e JWT_SECRET=my_jwt_secret onlyoffice/documentserver-ee
After that, your version of ONLYOFFICE Docs Enterprise Edition will become registered and full-featured.
Linux installation
If you are using a Linux distribution, the license.lic file is placed in the following folder:
/var/www/onlyoffice/Data/license.lic
After that, your version of ONLYOFFICE Docs Enterprise Edition will become registered and full-featured.
Windows installation
If you are a Windows user, the license.lic file is placed in the following folder:
%ALLUSERSPROFILE%\ONLYOFFICE\Data\license.lic
After that, your version of ONLYOFFICE Docs Enterprise Edition will become registered and full-featured.
Kubernetes installation
If you deployed ONLYOFFICE Docs on Kubernetes, the license is stored in a Kubernetes secret created from the license.lic file and passed to the Helm chart. Follow the steps in Deploy the ONLYOFFICE Docs license in the Kubernetes guide.
Univention appliance
If you are using the Univention appliance, the /var/lib/univention-appcenter/apps/onlyoffice-ds-integration/Data directory on the host computer is mounted to the /var/www/onlyoffice/Data data volume in the container, so the license.lic file can be placed in the following folder on the host computer:
/var/lib/univention-appcenter/apps/onlyoffice-ds-integration/Data/license.lic
After that, your version of ONLYOFFICE Docs Enterprise Edition will become registered and full-featured.
Deploying in Cloudron
If you have your ONLYOFFICE Docs installed on Cloudron, go to My Apps, find the ONLYOFFICE Enterprise app, and click the button to enter the app settings section.
Then open File Manager to access the app's file system and place the license.lic file in the following folder:
/app/data/license.lic
Restart the ONLYOFFICE Enterprise app to pick up the license.
After that, your version of ONLYOFFICE Docs Enterprise Edition will become registered and full-featured.