-
Notifications
You must be signed in to change notification settings - Fork 46
OnlyOffice
ONLYOFFICE is an online office suite for editing Word documents, spreadsheets, presentations, and PDFs. The Syncloud snap ships the open-source Document Server (AGPL) plus a small built-in web UI so you can use it standalone, and also wires it up so Nextcloud can use it as the editor backend.
- Install ONLYOFFICE (Syncloud store).
- Open
https://onlyoffice.[your domain]in your browser, sign in. - Use the UI to upload existing documents or click + New to create a blank Word/Sheet/Slide/PDF. Click any file to open the editor.
URL examples:
-
https://onlyoffice.example.com— Premium domain -
https://onlyoffice.me.syncloud.it— Free domain -
https://onlyoffice.me.syncloud.it:444— non-standard device port
- Install ONLYOFFICE (Syncloud store).
- Install Nextcloud (Syncloud store).
- In Nextcloud, install ONLYOFFICE (Apps → Office & text).
- In the ONLYOFFICE Syncloud app, open the Nextcloud setup page in the
top bar. Copy:
-
Document Server URL (
https://onlyoffice.[your domain]) - Secret key
-
Document Server URL (
- In Nextcloud, go to Settings → Administration → ONLYOFFICE and paste both values. Save.
- Open a
.docx/.xlsx/.pptxfrom Nextcloud Files — it now opens in the ONLYOFFICE editor.
ONLYOFFICE Document Server protects every editor session and every callback
with a JWT signed by a shared secret. The Syncloud snap generates a unique
random secret per install and stores it under $SNAP_DATA/secret/jwt. Both
sides (Nextcloud and ONLYOFFICE) need to hold the same secret so JWT
signatures verify.
The secret is also retrievable from the device CLI:
ssh root@[your device]
snap run onlyoffice.cli jwt-secret
If you remove the secret on either side, anyone on the internet who guesses the URL can use your Document Server for free document editing — billing your device CPU, bandwidth, and disk. Don't disable JWT.
-
Word:
.docx,.doc,.odt,.rtf,.txt -
Spreadsheet:
.xlsx,.xls,.ods,.csv -
Presentation:
.pptx,.ppt,.odp - PDF: viewer + light editor
Supported platforms: x64 and Arm64/Armv8 (Syncloud N, Syncloud R 64-bit image). Not supported: Arm/Armv7 (Syncloud H).