nativeInstallerowncloud

Integrate LibreOffice with ownCloud

Before running the commands shown on this page, you should load the Bitnami stack environment by executing the installdir/use_APPNAME script (Linux and Mac OS X) or by clicking the shortcut in the Start Menu under “Start -> Bitnami APPNAME Stack -> Application console” (Windows). Learn more.

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.

    ownCloud and LibreOffice

    ownCloud and LibreOffice

If all went well, it should now be possible to edit OpenDocument and Microsoft Word files through the “Documents” application.