/documentserver_community

Document server for onlyoffice

Primary LanguagePHP

Community Documentserver

Requirements

The community document server only supports running on x86-64 Linux servers using glibc based distributions. To get it running, you also need to install the ONLYOFFICE app.

Configuring OnlyOffice

The community documentserver will automatically configure itself if no other document server is configured in the onlyoffice settings ("Document Editing Service address" is empty). All other "Server settings" should be left empty.

Adding fonts

You can add custom fonts to the document server using the following occ commands

  • Add font by path occ documentserver:fonts --add /usr/share/fonts/myfont.ttf
  • List added fonts occ documentserver:fonts
  • Remove an dded font occ documentserver:fonts --remove myfont.ttf

Self signed certificates

If your nextcloud is using a self signed certificate for https, you'll need to import the certificate into nextcloud's certificate store to make the documentserver work.

occ security:certificates:import /path/to/certificate.crt

Setup from git

When installing from git make and docker are required.

  • clone the repo into the Nextcloud app directory
  • run make in the app folder to download the 3rdparty components
  • Enable the app

OnlyOffice components

This app includes components from OnlyOffice to do a large part of the work. While building the app, these components are copied over from the official OnlyOffice documentserver docker image (see Makefile). The source for this can be found at the OnlyOffice github, primarily the web-apps, sdkjs and core repositories.

These components are licenced under AGPL-3.0 with their copyright belonging to the OnlyOffice team.