- Go to control panel, click on Task Scheduler/create/Scheduled Task/ User-defined script.
- A new window will open with 3 different tabs (General, Schedule and Task Settings) fill out the fields as follows:
General:
- Task: write in "Install OnlyOffice". Uncheck the "enabled" box.
- User: check in "root"
Schedule:
- Select "Run on the following date" with today's date.
- Select "Do not repeat" underneath.
Task Settings:
- Check "Send run details by email"
- Add the following User-defined script, making sure you edit the "JWT_SECRET=" value with your own 32 random character password
docker run -d --name=OnlyOffice \
-p 8467:80 \
-v /volume1/docker/onlyoffice/logs:/var/log/onlyoffice \
-v /volume1/docker/onlyoffice/data:/var/www/onlyoffice/Data \
-e JWT_ENABLED=true \
-e JWT_SECRET=aYJcAKOn5h5EXp0kWXcNXhzoJNEf0FCB \ #String with 32 characters
--restart always \
onlyoffice/documentserver
- Click OK. Type in your DSM password and submit.
- Go back to Task Scheduler and run the newly configured "Install OnlyOffice" script.
- OnlyOffice should now be accessible from within software OwnCloud/NextCloud by first disabling the integrated app and then manually adding/download OnlyOffice