Pdf viewer doesn't show anything

Hi all,

I searched for other posts but I didn't find my case.

I have owncloud 10.0.3 in a private Ubuntu 17.04 installation.

Browsing my files, when I click on a pdf file, the viewer does not show anything and I've only a blank screen.

Other viewers, such as image viewer or txt viewer, works properly, but pdf does not.

How can I fix this?

Please consider that I'm quite new to owncloud...

Without more information, it's hard to help. It could be something with X-Frame-Settings: https://github.com/nextcloud/files_pdfviewer/issues/26 or a plugin that is not compatible https://github.com/owncloud/files_pdfviewer/issues/106#issuecomment-214105898

but both can be completely unrelated...

Thanks for your reply!

It seems connected to the X-Frame-Options, but I can't find where to set it.

I set it to SAMEORIGIN in the apache2.conf file and in the .htaccess file, but even in the options, the wizard is still saying that X-Frame-Options parameter is not correct.