Architecture · Documents

Collabora Online first,
ONLYOFFICE in reserve.

Office Unbound’s browser editor is Collabora Online, reached over WOPI with OpenCloud as the file store and WOPI host, and headed for production as the project’s own source build. ONLYOFFICE Docs is kept as a fallback only.

Project status Collabora Online over WOPI is integrated in the project’s isolated lab. Office Unbound’s own Collabora build is integrated there too and has replaced Collabora’s CODE images, which were for lab use only; ONLYOFFICE is under evaluation as a fallback. Nothing here is production ready.

The choice, and why a fallback

The two engines differ in format model, editions and license terms. The project picked one and keeps the other in reserve.

Collabora Online and ONLYOFFICE Docs are both mature browser editors for documents, spreadsheets and presentations. They are not interchangeable underneath. Collabora Online is built on the LibreOffice core. OpenDocument (ODF) is its native format, and it handles Office files through LibreOffice’s import and export filters. ONLYOFFICE Docs works natively in Office Open XML (DOCX, XLSX, PPTX) and edits ODF files through internal conversion.

The project’s source evaluation decided between them on licensing and maintainability first. Collabora Online’s source is MPL-2.0, with the LibreOffice-derived engine in the same repository since 26.04, and the evaluation found that a plain source build carries no connection cap, no prompts and no support key. ONLYOFFICE’s open-source build also has no effective connection limit, but its AGPL section 7 terms require an ONLYOFFICE attribution in the interface and its branding options are disabled without a license, which conflicts with shipping under Office Unbound’s own name. Collabora Online is therefore the chosen engine.

ONLYOFFICE stays as a fallback for one reason the evaluation could not settle on paper: document fidelity. Collabora is generally stronger on ODF and wide format import; ONLYOFFICE generally keeps complex DOCX and PPTX layouts closer to the original. Neither claim has been measured yet. If a corpus test of real files shows Collabora materially worse on Office formats, ONLYOFFICE would be reconsidered. The project does not intend to ship both engines at first, because that would double the maintenance.

  • Concept An idea or design direction; not yet committed to the roadmap
  • Under evaluation Being assessed; no choice made yet
  • Planned Committed to the roadmap; work not started
  • In development Being worked on now
  • Integrated in lab Built and running in the project’s lab environment, with the code and evidence in the public repository
  • Tested in lab Passed tests in the lab whose results are published in the repository
  • Production-ready Shipped in a supported release
Document engine integration
CapabilityWhat it meansStatus
Collabora Online over WOPIOpenCloud’s collaboration service is the WOPI host and Collabora the editor. In the lab, 28 standalone checks and 13 integration checks pass, including a real edit saved back through WOPI PutFile with the content verified. These first checks used Collabora’s CODE images, for lab use only; the lab editor now runs the project’s own build.Integrated in lab
Office Unbound’s own Collabora Online buildBuilt from the cp-26.04 source under Office Unbound’s own name: no welcome or home-mode cap, no support key, connection and document limits raised, Collabora’s marks removed, signed images and a release channel. The first recipe in the build pipeline. Integrated in the lab: 30 documents and 60 sessions on one document loaded at once, and an edit saved over WOPI verified.Integrated in lab
OpenCloud as the only file storeFiles, versions and sharing live in OpenCloud; there is no second document store. The editor reads and writes through WOPI only.Integrated in lab
ONLYOFFICE Docs fallbackThe open-source build, considered only if fidelity tests go against Collabora. OpenCloud’s collaboration service supports it over WOPI.Under evaluation
Document fidelity corpus testDOCX, XLSX and PPTX files loaded, saved and compared in both engines through OpenCloud, before the choice is final.Planned
Engine-neutral integration contractThe responsibilities below, kept in Office Unbound rather than in the engine, so a move to the fallback stays possible.Planned
Controlled engine cutoverA scheduled, drained and reversible switch, needed only if the fallback is ever used.Planned
Known issue in the lab

For about five seconds after OpenCloud restarts, the editor is not yet re-registered, so documents cannot be opened. No data is lost; tests and health checks now wait for OpenCloud’s app list before using the editor.

Office Unbound’s own Collabora Online build

The production path, and the way the editor avoids mandatory per-document or per-connection licensing. Integrated in lab

Office Unbound is being designed with no mandatory per-document or per-connection licensing for browser editing. The restrictions in the editions table further down come mostly from the vendors’ packaged distributions, not from the source licenses: CODE’s welcome and feedback prompts and its home-mode cap, and ONLYOFFICE’s recommended scale and the features its edition table reserves, such as mobile web editing. So the project builds Collabora Online itself from upstream source and takes on the maintenance, security patching and compatibility work that comes with it.

The source evaluation of the cp-26.04 branch found what such a build has to do, and what it gets by default:

Prompts and home mode
The welcome and feedback prompts and the 20-connection, 10-document home-mode cap exist only in builds configured with a welcome URL, as CODE is. A build without it has neither.
Support key and watermark
The support-key check, its “unsupported” watermark and its connection cap are compiled in only when a support key is configured at build time. Without it, that code is not in the binary.
Connection and document limits
Default to 9,999 and can be set higher. Real limits come from server memory: each open document runs as its own process, so operator-adjustable resource limits remain, as resource protection rather than licensing.
Branding and trademarks
Collabora’s name and logos must be removed from custom builds. The build uses its own vendor setting, its own engine distribution configuration and its own theme, and ships under Office Unbound’s own name. MPL-2.0 file notices, the LGPL-3.0 engine files and the bundled third-party notices still apply.
Release and security tracking
Pinned to a cp-26.04 tag, moved to the next stable branch roughly yearly. Collabora fixes denial-of-service issues without CVEs, so commit logs are read as well as advisories.
Pipeline
The first recipe in the project’s build and release pipeline: pinned source, a small patch queue, a license scan, a clean build, signed packages and images with an SBOM, and staged release channels. A full engine build needs a large build machine and takes hours.
What this is not

The own build, Office Unbound Docs from the cp-26.04.6 source, is integrated in the lab and has replaced Collabora’s CODE images there, which are never for production. The server reports document and connection limits of 100,000 instead of the home-mode cap; in the lab 30 documents open at once and 60 sessions on one document loaded without failure, the measurement stopping at the test machine’s memory. How the interface looks in a browser, jails, locks and the TLS proxy are not yet tested. A project-maintained build does not remove any third-party license, notice or trademark obligation. No claim is made that the editor supports unlimited users, connections or concurrent editing; real limits come from server resources and testing. Whether Collabora’s trademark policy requires a specific attribution, and the obligations for distributing MPL-2.0 and LGPL-3.0 code together with the bundled fonts, are open legal review items.

The integration contract

Twelve responsibilities that stay in Office Unbound whichever engine is behind them. Today the Collabora side runs over OpenCloud’s WOPI service in the lab; the ONLYOFFICE side is described so the fallback is understood, not because it is being built. Where the engines differ, the contract is designed for the gap, not the average.

The document engine integration contract At the top are three Office Unbound services: the planned web interface, with the file browser and the frame the editor opens in; OpenCloud, the file store, which holds sharing and permissions and is the WOPI host; and identity, with Keycloak and OpenLDAP for single sign-on, MFA and groups. All three feed the document engine integration contract, a planned Office Unbound design with twelve responsibilities: editor launch, file access, authentication and authorization, permissions, session management, locking, save and versioning, collaboration, file formats, error handling, health checks and administrator configuration. Below it are two engines. Collabora Online is the chosen engine, integrated in the project’s lab over WOPI as Office Unbound’s own build from source, which has replaced Collabora’s lab-only CODE images there. It is ODF-first on the LibreOffice core. ONLYOFFICE Docs is a fallback only, under evaluation, as an open-source build reached through WOPI or its Docs API; it is OOXML-native. Both engines read and write files only through OpenCloud: Collabora with WOPI file calls, ONLYOFFICE with WOPI or callbacks. At the bottom, storage and state belong to OpenCloud and Office Unbound, not to the engine: files, version history, locks and the document-session table. One engine is shipped. Nothing here is released. Office Unbound · interface planned Web interface file browser · editor frame OpenCloud files · sharing · WOPI host Identity Keycloak · OpenLDAP Engine integration contract · planned editor launch file access authn · authz permissions sessions locking save · versions collaboration file formats error handling health checks admin configuration WOPI Docs API or WOPI Engines Collabora Online own build · integrated in lab WOPI, with Collabora extensions ODF-first · LibreOffice core chosen · integrated in lab ONLYOFFICE Docs open-source build Docs API (JWT, callback) or WOPI OOXML-native · ODF as lossy edit fallback only · under evaluation WOPI file calls callback or WOPI Storage and state, in OpenCloud and Office Unbound files · version history · locks · document-session table One engine shipped: Collabora Online. A move to the fallback would be a scheduled cutover.
Conceptual The integration contract between Office Unbound and the editor: Collabora Online, chosen, and ONLYOFFICE Docs, a fallback only. Files, versions, locks and session records stay in OpenCloud and Office Unbound.
Editor launch

Common: an “open session” request with the file, the user, their permission and any interface options, returning the editor address and the payload the browser posts to it. Collabora: the editor URL from its WOPI discovery document, opened with a WOPI access token and its expiry. ONLYOFFICE Docs API: a JWT-signed editor configuration carrying the document key, the file URL and a callback URL. The client-side message channels (Collabora’s PostMessage interface, ONLYOFFICE’s editor events) are wrapped by the same layer.

File access

Common: the file service is the only place files are read from or written to. That service is OpenCloud, whose built-in collaboration service is the WOPI host. For Collabora, and for ONLYOFFICE in WOPI mode, that means one WOPI host implementing CheckFileInfo, GetFile, PutFile, PutRelativeFile and RenameFile. In Docs API mode, ONLYOFFICE fetches the file from a URL Office Unbound signs and returns the result through its callback.

Authentication and authorization

Common: users sign in to Office Unbound, never to the engine. Each session gets a short-lived credential scoped to one file and one user. Collabora uses WOPI access tokens. ONLYOFFICE uses JWT in Docs API mode and WOPI proof keys in WOPI mode.

Permissions

Common: view, comment, review and edit, derived from file-service permissions. Collabora receives them as CheckFileInfo fields (UserCanWrite, UserCanOnlyComment and others, plus options such as DisableExport and WatermarkText). ONLYOFFICE receives them as the editor mode and document permissions (edit, comment, review, fill forms, download, print, copy). The portable model is the intersection; engine-specific extras are applied where the engine supports them.

Session management

Common: an Office Unbound session record per file and content revision, holding both engines’ identifiers. Collabora keys a session by the file’s WOPI URL, which stays the same. ONLYOFFICE keys it by a document key, which must change after every successful save, so Office Unbound derives it from the file and its current revision. Listing sessions, forcing a save and disconnecting users map to Collabora’s admin console and metrics, and to ONLYOFFICE’s command service (info, forcesave, drop).

Locking

Common: locks belong to the file service. Collabora takes a WOPI lock when the host supports locks and renews it by sending LOCK again, every 15 minutes by default. ONLYOFFICE in WOPI mode locks on open and renews with REFRESH_LOCK every 10 minutes. In Docs API mode ONLYOFFICE takes no WOPI lock, so the file service holds its own lock based on the callback’s session events.

Save and versioning

Common: Office Unbound decides what becomes a version. That covers the final save when the last editor leaves, a user-initiated save, and optionally timed autosaves. Collabora pushes saves itself as WOPI PutFile requests, flagged as autosave, exit save or user-modified. ONLYOFFICE reports through its callback: status 2 when the document is ready to save after the last editor closes, status 6 for a save during editing. ONLYOFFICE does not show its own forcesave versions in its history, so the file service’s history is the single source of truth.

Collaboration

Common: real-time co-editing, the mode both engines offer. Collabora serves all editors of a document from one server, so a cluster routes by the document’s WOPI URL. ONLYOFFICE also offers a Strict mode that holds changes back until the user saves, but only through the Docs API; it is treated as an engine-specific option.

File formats

Common: a per-extension capability table recording native editing, lossy editing, view-only and convert-on-open. Collabora publishes its actions in WOPI discovery and edits both ODF and OOXML. ONLYOFFICE lists DOCX, XLSX and PPTX as editable, ODT, ODS, ODP and RTF as lossy edits with conversion, and legacy DOC as view-only with conversion to a new file.

Error handling

Common: one set of outcomes the interface can explain, namely locked by another editor, file changed since opened, save failed and engine unreachable. Collabora reports a stale write through a WOPI timestamp check that the host answers with a conflict. ONLYOFFICE reports save errors as callback status 3 or 7, and keeps a result the host never accepted as a “forgotten” file. The callback handler acknowledges a save only after the file is stored durably.

Health checks

Common: is the engine reachable, is its version known, and can it actually open, edit and save a test file? Collabora exposes its discovery and capabilities endpoints and an authenticated metrics endpoint. ONLYOFFICE’s command service reports its version and license. Collabora’s editor registers with OpenCloud after start-up, so readiness is checked against OpenCloud’s app list, not only the engine. A configuration is designed to be activated only after a real open-edit-save test, as in Flow F.

Administrator configuration

Common: one settings screen for the engine, its edition, endpoint, shared secret and TLS, with the engine’s own trust settings generated from it. Collabora is told which WOPI hosts to trust. ONLYOFFICE’s WOPI mode is off by default and, since version 10.0, needs an explicit IP filter rule naming the WOPI host. Branding is configured only as far as the selected edition allows, and the notices ONLYOFFICE’s license requires are never hidden by the Office Unbound interface.

WOPI or the Docs API

WOPI is the interface in use: OpenCloud’s collaboration service speaks it to Collabora in the lab. It does not cover everything ONLYOFFICE can do, which matters only for the fallback.

Collabora: WOPI only

Collabora Online integrates only through WOPI, extended with its own CheckFileInfo fields, save headers and a client-side PostMessage interface. The WOPI host, OpenCloud’s collaboration service, is therefore required in any case. A host that serves both engines has to accept both engines’ habits: Collabora renews locks with LOCK rather than REFRESH_LOCK, and sends its save flags with both X-COOL-WOPI- and X-LOOL-WOPI- prefixes.

ONLYOFFICE, if the fallback is used: two interfaces

ONLYOFFICE Docs has its native Docs API: a JavaScript editor configured with a signed document key, a callback that delivers saved files, and a command service for session control. It has also supported WOPI since version 6.4. OpenCloud’s collaboration service supports ONLYOFFICE over WOPI, so the fallback would use the same file interface and locking model. Using the Docs API instead would mean a second adapter, a callback handler and host-side locking, in exchange for the features WOPI mode lacks.

What ONLYOFFICE’s WOPI mode lacks

ONLYOFFICE’s own comparison of its API and WOPI lists these as unavailable over WOPI:

  • Strict co-editing mode (paragraph locking)
  • Toolbar customization and branding, templates, the recent-files list and plugins
  • JWT server-access restriction (WOPI proof keys are used instead)
  • Mail merge, compare, action links, mentions and create-new
  • Fill-forms, content-control and download rights
  • Mobile viewing and editing

WOPI mode is off by default. ONLYOFFICE 10.0.0 also fixed several WOPI security issues, including an SSRF in the WOPI endpoints and co-editing session hijacking over WOPI, so the minimum supported version matters.

Editions and licensing, side by side

Four vendor distributions, not two products. They matter for the lab (CODE), for the fallback, and for any operator who chooses a vendor’s build instead of Office Unbound’s; whoever runs one of them is bound by that edition and its terms. Summarized from official sources, checked November 14, 2026.

Collabora Online and ONLYOFFICE Docs editions by topic
TopicCollabora CODECollabora Online (commercial)ONLYOFFICE CommunityONLYOFFICE Enterprise & Developer
LicenseMPL-2.0 source; proprietary theming and brandingMPL-2.0 source; binaries under a subscription agreementAGPL-3.0-only with section 7 additional termsCommercial
Source obligationsSource of covered files when distributing binaries; none for hostingMPL for the source; binaries per agreementModified and offered over a network: offer the sourcePer commercial license
Hosting rightsNot forbidden; Collabora does not recommend CODE for productionThe intended route, through the partner program for hosting providersAllowed by the AGPL; positioned for non-critical useDeveloper edition is designed for SaaS platforms
RedistributionAllowed; modified builds must drop Collabora’s marksNot outside the subscription or partner agreementUnder the AGPL, carrying the section 7 termsPer contract
Branding and embeddingNo product-name or logo settings; rebranding needs a source buildTheming; white-label terms through sales or partnersONLYOFFICE logo and notices must stayEnterprise: customization. Developer: white label
Mobile web editingYesYesNo; view onlyYes, through the Docs API only
Technical connection limitNone by default, with welcome and feedback prompts; home mode caps at 20 connections and 10 documentsLicensed per user; “no formal limit” on simultaneous editorsNone since 9.4.0Licensed connections or users, per plan
Recommended deployment scaleDevelopment, testing and home use; not recommended for business productionSized by subscription and server resourcesUp to 20 users, per ONLYOFFICE’s edition tableAs in the pricing plan
ClusteringReplicas routed per document; Helm chart autoscaling disabledSame chart, plus the COOL Controller for document migrationSingle node onlyCluster add-on
High availabilityController availability for CODE not statedCOOL Controller: leader election and HANo cluster or disaster recoveryDisaster recovery add-on
Multi-tenancyNo tenant concept; can trust several WOPI hostsSame mechanism; no published featureNoAdd-on, with per-tenant config, secret and license
Production supportCommunity forum; rolling release, no SLASubscription with LTS, SLA and signed security updatesForum and GitHub; no guaranteed responseBasic, Plus or Premium, with response times
IntegrationWOPI, with extensionsWOPI, with extensionsDocs API, or WOPI (off by default)Same, plus licensed features
Native formatODF; OOXML through filtersODF; OOXML through filtersOOXML; ODF as lossy editOOXML; ODF as lossy edit
Vendor facts, not legal advice

The table compares vendor editions; the project’s choice rests on the source licenses and its own build, described above. Editions differ, terms change, and several points depend on agreements that are not published, such as Collabora’s white-label and multi-tenant terms and the commercial terms of ONLYOFFICE’s editions. Any organization choosing an engine or edition must check the current terms directly with Collabora Productivity and with Ascensio System SIA (ONLYOFFICE), and take legal advice where the stakes justify it.

Connection limits. The 20-connection limit often quoted for ONLYOFFICE Community no longer exists. Version 9.4.0 (May 19, 2026) removed it, though ONLYOFFICE still recommends the edition for up to 20 users. A technical limit, a vendor’s recommended scale, production support and the right to host for others are separate questions: removing the cap did not change the edition table, the support terms or the license. Collabora CODE’s default build is unlimited, but its welcome and feedback prompts cannot be switched off. A “home mode” removes them and caps use at 20 connections and 10 documents.

Not confirmed. The exact build flags Collabora uses for its official CODE packages (the project inferred them from the source); whether official subscription builds enforce a hard connection cap; whether the COOL Controller is subscription-only; and whether ONLYOFFICE restricts WOPI by edition. These are recorded as open questions.

When the fallback would be used

Not a per-deployment choice today. The project ships one engine; the fallback is a decision the project would make on evidence.

The trigger is the fidelity corpus test: real DOCX, XLSX and PPTX files, including tracked changes, comments and complex layouts, loaded, saved and compared in both engines through OpenCloud. If Collabora proves materially worse on Office formats, the project would reconsider ONLYOFFICE and accept the attribution its license requires in the interface. Other points in the comparison are mobile browser editing, which ONLYOFFICE’s Community edition does not offer, and the larger number of upstream repositories an ONLYOFFICE build would have to pin.

The concept below shows the engine as an administrator setting with a test before activation, drawn step by step in Flow F. It is a design concept: no such setting exists, and nothing changes for users until a tested configuration is confirmed.

The core platform is not designed to require a commercial edition of either engine. An operator can still choose one, for vendor support, a vendor-maintained release or features a vendor sells. If it does, the vendor’s terms apply: Collabora’s supported production builds come with a subscription licensed per user, and ONLYOFFICE’s Enterprise and Developer editions are licensed by connections or users. Office Unbound’s own licensing policy does not change those terms. See Cost and licensing.

Proposed interface concept Not released · example data · subject to change

The document editing engine as a setting: what is connected, what each engine supports, and a controlled way to switch. Open this concept

Switching engines: a controlled cutover

Planned as a scheduled administrative operation, not a live swap, for the case the fallback is ever used. Planned

Two engines must never hold the same file open at once. Each keeps its own in-memory copy of the document, and the last one to save would overwrite the other. A switch is therefore designed to drain every session on the old engine, prove the new one works on the organization’s real files, and keep a way back. It is drawn in Flow G.

  1. Assess open sessions

    List active documents and users on the current engine, from Collabora’s admin console and metrics or ONLYOFFICE’s command service.

  2. Identify compatibility risks

    Run a sample of the tenant’s files, including tracked changes, comments and complex layouts, through the new engine. Note features users will lose, such as mobile web editing when moving to ONLYOFFICE Community.

  3. Schedule a maintenance window

    Agree the window with the customer and tell users. Blocking risks stop the switch here, before anything changes.

  4. Drain sessions

    Stop issuing new sessions on the old engine, then wait for a definite “closed and saved” signal per document. For Collabora, that is the final PutFile flagged IsExitSave, followed by UNLOCK; a document with no edits sends no save, so the unlock or the session’s disappearance counts. For ONLYOFFICE, it is callback status 2 (saved) or 4 (closed without changes). Status 6 means a save during editing, so the session is still live. ONLYOFFICE can be forced with forcesave and drop. Any forgotten files are then listed, retrieved and imported before the engine is retired.

  5. Validate the new engine

    Run the connection and open-edit-save tests against the new endpoint with the drained tenant’s settings.

  6. Switch

    Point the abstraction layer at the new engine. New document keys are generated from current revisions, and no lock from the old engine is carried over.

  7. Test with users

    Open, edit and co-edit real documents, and confirm a full save cycle reaches version history.

  8. Keep the rollback path

    The old engine stays deployed but closed to new sessions until the new one has completed a full save cycle for every active tenant. Rolling back is the same procedure in reverse; no files need restoring, because they never lived in the engine.

What does not carry over

Files, permissions and version history stay in Office Unbound, so they survive a switch. Engine state, and the way each engine renders a file, do not.

  • ONLYOFFICE document keys

    ONLYOFFICE caches documents by key, and reusing an old key can open an old cached version. Keys are never reused after a switch, including a switch back; they are generated from the current revision.

  • Lock state

    Lock tokens are formatted differently by each engine, and the new engine must not inherit the old one’s. Old locks are released during the drain or left to expire; WOPI locks expire after 30 minutes.

  • Rendering differences

    The same file can lay out differently in the two engines: fonts, pagination, charts, SmartArt and form controls in particular. Installing the same fonts on both reduces this. Tracked changes and comments are stored in the file, but each engine imports the other’s markup with differences.

  • ODF and OOXML handling

    Collabora edits ODF natively and OOXML through filters. ONLYOFFICE edits OOXML natively and ODF as a lossy edit, converting internally and saving back in the original format, so an ODF-heavy tenant risks losing features on the first save. Legacy DOC, XLS and PPT files open in ONLYOFFICE view-only and are converted into new OOXML files. Collabora edits them in place.

History panels differ too. Versions saved through one engine carry none of the change data ONLYOFFICE uses to highlight edits, so after a switch its history shows full versions without highlighted changes.

Sources (vendor sources verified 2026-11-14; repository evidence as of 2026-11-15)

Collabora’s SDK documentation could not be read during this check; Collabora integration details come from its published source. ONLYOFFICE’s trademark policy page did not render, so trademark points come from its license, license FAQ and May 2026 guide.

Run either engine in production?

If you operate or build Collabora Online or ONLYOFFICE Docs today, what broke during upgrades, scale-out, source builds or a format migration is exactly what this work needs to account for.

Share