Skip to content

ONLYOFFICE App

About

ONLYOFFICE has to be integrated with some the document store. On Cloudron there is currently Nextcloud available as a document store application, other 3rdparty solutions are also supported.

Changing default app secret

The default secret for the ONLYOFFICE app package in Cloudron is changeme. Please change that to some unique secret:

  • Open a File Manager into the app

  • Edit the file /app/data/config/production-linux.json

  • Locate the section called secret.

              "secret": {
                "inbox": {
                  "string": "changeme"
                },
                "outbox": {
                  "string": "changeme"
                }
  • Be sure to change the two secrets above to the same unique password.

  • Restart the app

Setup Nextcloud connector

Do not install the Document Server

There are two ONLYOFFICE apps - Community Document Server and ONLYOFFICE. Be sure to install the latter.

To integrate ONLYOFFICE into Nextcloud for office document editing and collaboration, install ONLYOFFICE from the Nextcloud app library and configure the plugin as follows, adjusting the domain and secret:

If your Nextcloud has a self-signed certificate, you should also add the following stanza under services -> CoAuthoring in /app/data/config/production-linux.json using the File manager. Be sure to restart the app after adding the section below:

  "services": {
    "CoAuthoring": {
      "requestDefaults": {
        "rejectUnauthorized": false
      },
      ...
    }
  }

Custom Fonts

ONLYOFFICE supports adding custom fonts. Place the TTF files in /app/data/fonts/ via the File Manager, then restart the app and the browser cache has to be cleared for the frontend to pickup the new fonts.

Enterprise License

OnlyOffice on Cloudron comes in two editions. Install the enterprise edition if an OnlyOffice enterprise license should be used. A license can be purchased here.

The license key has to be put in the app at /app/data/license.lic and the app needs to be restarted then to pick it up.