Integrate LibreOffice with ownCloud
NOTE: ownCloud requires LibreOffice 4.2 or better.
To use ownCloud with LibreOffice, LibreOffice and Java should be installed on your system. To install LibreOffice, download it from the LibreOffice website and follow the installation steps. Note the installation path.
To allow ownCloud to use LibreOffice for editing OpenDocument and Microsoft Word files, follow these steps:
Add the path to the LibreOffice binary file in the ownCloud configuration file, just before the end:
NOTE: Depending on your installation type, the ownCloud configuration file can be found in the following locations:
Approach A (Bitnami installations using system packages): installdir/owncloud/config/config.php
Approach B (Self-contained Bitnami installations): installdir/apps/owncloud/htdocs/config/config.php
'preview_libreoffice_path' => 'path_to_your_libreoffice_binary'
Access your ownCloud dashboard, go to the administration panel, and click “Apply and Test” in the “Documents” section. In case you see an error like the one below, please try again, as the configuration is typically applied properly on the second attempt.
If all went well, it should now be possible to edit OpenDocument and Microsoft Word files through the “Documents” application.