PDF files show a blank page


#1

Hello, I’m having troubles visualizing pdf files from OwnCloud. When I try to open the files I have only a blank page. This bug occurs only when I open pdf files coming from a scanner or from jpgs converted in pdf file; conversely the pdf files produced by various softwares (Indesign; QuarXPress; Illustrator) are correctly visualized. Thank you for helping me.

Expected behaviour
Show contents of a pdf file readable and uncorrupt (correctly readable with Acrobat)

Actual behaviour
Clicking on the file the viewer shows only blank pages

Steps to reproduce

  1. upload a pdf file
  2. click on it

Server configuration
Operating system:

Web server:

Database:

PHP version:

ownCloud version:

Storage backend (external storage):

Client configuration
Client version:
2.5.1

Operating system:
IOS

OS language:
Italian

Qt version used by client package (Linux only, see also Settings dialog):

Client package (From ownCloud or distro) (Linux only):

Installation path of client:

Logs

Please use Gist (https://gist.github.com/) or a similar code paster for longer
logs.

Template for output < 10 lines

  1. Client logfile: Output of owncloud --logwindow or owncloud --logfile log.txt
    (On Windows using cmd.exe, you might need to first cd into the ownCloud directory)
    (See also http://doc.owncloud.org/desktop/2.2/troubleshooting.html#client-logfile )

  2. Web server error log:

  3. Server logfile: ownCloud log (data/owncloud.log):


#2

Hey,

it looks to me that you only have partly filled out the information and there are various info about your environment missing.


#3

Where do you experience those issues? In the web UI?

In the web UI, ownCloud uses the PDF.js library. You could check if your file works in their demo:
https://mozilla.github.io/pdf.js/

If it’s also not working, please open a bug report in their project.
If it’s working there, and the problem is only in ownCloud, please send an example file, information about the browser you’re using, and information about your ownCloud version.