OnlyOffice is an application that, like LibreOffice Online, provides the ability to collaboratively edit documents in a browser in real time.
It’s an alternative to Google Docs, and allows you to edit rich text documents, spreadsheets, and presentations. By default it uses the .docx format, but other formats can be enabled for files created outside the application and uploaded to our facility (.odt, .doc, .docx, .ods, xls, .xlsx, .odp, .ppt, .pptx…).
To use it, you also need a Nextcloud or an Owncloud installation, which will be the interface that will allow you to access the editing of the documents. With OnlyOffice, documents stored on Nextcloud or Owncloud will be opened in the browser for reading/editing, instead of the default download option.
Before proceeding with the installation it is necessary to decide under which domain or sub-domain the application is to be hosted. We will use as an example the subdomain onlyoffice.maydomain.com
We will have to create a type A DNS record, which points to the server’s IP.
onlyoffice.mydomain.com A IP.DE.TU.SERVIDOR
Depending on your domain provider, it may take a few minutes and a few hours for the DNS to propagate. Once the DNS are propagated you can proceed with the installation from the control panel.
On the ‘Install Applications’ page, by checking the box ‘Select’ in OnlyOffice, a field will be displayed in which you will have to insert the name of the domain/subdomain you want to use to install the application. In the case of our example it will be onlyoffice.mydomain.com
Conecting Nextcloud / Owncloud¶
Once the OnlyOffice installation process is complete, you need to install and configure the OnlyOffice extension from Nextcloud (or Owncloud). To do this, log in with an account that has administration permissions and go to ‘Apps’ > ‘Office and tex**t’ and search for ‘OnlyOffice’, click on ‘**Download and enable’.
Once the app is enabled, you will have to go to `Settings` > ‘OnlyOffice’ and insert two values:
The secret key that will authorize your Nextcloud installation to connect to the OnlyOffice server. This key is included in the email that your server has sent to the control panel administrator account, once the installation is finished.
On this same page you can also set other preferences, such as enabling other formats for editing documents.
From now on, every time you access a document from Files, it will be opened in the browser for editing.
Note: It is installed the OnlyOffice Community Edition that is limited to a maximum of 10 open documents at a time and a maximum of 20 simultaneous connections.