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 at installdir/apps/owncloud/htdocs/config/config.php, just before the end:
'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.