To edit office documents and collaborate, integrate ONLYOFFICE Docs into your sync&share app.
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.
Use the integrated test example, a simple doc management system, to check if the editors are running correctly.
sudo docker exec 47952cff4d2b sudo supervisorctl start ds:example
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:
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.
For free Community version, create issues on GitHub or use our forum. For commercial versions, contact us here.
Want to know what else we’ve got? Compare editions