ONLYOFFICE

ONLYOFFICE Docs Community Edition installed

To edit office documents and collaborate, integrate ONLYOFFICE Docs into your sync&share app.

Integration options

Starting from version 7.2, JWT is enabled by default.


A random secret is generated automatically if a custom secret has not been added during installation. To obtain the default secret, run this command:

 sudo docker exec 47952cff4d2b /var/www/onlyoffice/documentserver/npm/json -f /etc/onlyoffice/documentserver/local.json 'services.CoAuthoring.secret.session.string'

You can replace the default secret with a custom key using Docker env.

More information about JWT in the documentation.

Testing before integration

Use the integrated test example, a simple doc management system, to check if the editors are running correctly.

Start test example:

sudo docker exec 47952cff4d2b sudo supervisorctl start ds:example

Add it to the autostart:

sudo docker exec 47952cff4d2b sudo sed 's,autostart=false,autostart=true,' -i /etc/supervisor/conf.d/ds-example.conf

If you already installed test example, access it here:

GO TO TEST EXAMPLE

Please do NOT use a test example on your own server without proper code modifications. It is intended for testing purposes only and must be disabled before launching the editors into production.

Getting help

For free Community version, create issues on GitHub or use our forum.
For commercial versions, contact us here.

ONLYOFFICE Docs editions

Want to know what else we’ve got? Compare editions