Skip to content

OnlyOffice

Boris Rybalkin edited this page May 3, 2026 · 1 revision

ONLYOFFICE Document Server

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.

Standalone use

  1. Install ONLYOFFICE (Syncloud store).
  2. Open https://onlyoffice.[your domain] in your browser, sign in.
  3. 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

Use from Nextcloud

  1. Install ONLYOFFICE (Syncloud store).
  2. Install Nextcloud (Syncloud store).
  3. In Nextcloud, install ONLYOFFICE (Apps → Office & text).
  4. In the ONLYOFFICE Syncloud app, open the Nextcloud setup page in the top bar. Copy:
    • Document Server URL (https://onlyoffice.[your domain])
    • Secret key
  5. In Nextcloud, go to Settings → Administration → ONLYOFFICE and paste both values. Save.
  6. Open a .docx/.xlsx/.pptx from Nextcloud Files — it now opens in the ONLYOFFICE editor.

Why Nextcloud needs the secret

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

Without a configured 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.

Supported document types

  • 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).

Clone this wiki locally