wiki-js/home/server/OnlyOffice.md

988 B

title, description, published, date, tags, editor, dateCreated
title description published date tags editor dateCreated
OnlyOffice OnlyOffice document server used by Nextcloud true 2025-01-05T13:01:54.958Z markdown 2025-01-05T12:23:52.142Z

OnlyOffice Document Server

The OnlyOffice Document server is used by Nextcloud to enable the web UI to edit office documents

Setup

Install with docker

sudo docker pull onlyoffice/documentserver

Nextcloud is already using port 80, hence the default port for the connection has to be changed. Changed to 5045

sudo docker run -i -t -d -p 5045:80 --restart=always onlyoffice/documentserver

The OnlyOffice instance generates a secreate key which needs to be used to connect to it with Nextcloud. It can be obtained with:

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

The key for this server is:

O8usLs2KQSEl9f0Cmj2HraMYn5G8Eju5