Enable document and PDF previews in Nextcloud

  • Seeing as how many of you use Nextcloud (thank you @scottalanmiller and @JaredBusch for your work on the deployment script), how does one get document previews to work?
    Libreoffice is installed and my config.php contains:

      'preview_libreoffice_path' => '/usr/bin/libreoffice',
      'enabledPreviewProviders' => array(

    Yet whenever I click on an doc/docx, xls/xlsx, or pdf I'm prompted to download instead of providing me a preview.

    The logs don't appear to contain any errors.

    Any help would be greatly appreciated!

  • Searched the interwebs and, it appears, that Nextcloud's idea of a "preview" is, in fact, a thumbnail. Only PDF files will actually display a true "preview" when using the built-in PDF viewer app.

    I guess this won't work. I was hoping for more 😞


Log in to reply