13.0.1 PDF viewer no longer loading PDFs

Nextcloud version (eg, 12.0.2): 13.0.1
Operating system and version (eg, Ubuntu 17.04): 16.04
Apache or nginx version (eg, Apache 2.4.25): 2.4.18
PHP version (eg, 7.1): 7.0

The issue you are facing:
After upgrading to 13.0.1, PDFs no longer display:

There are no logs logged, which maybe suggests it’s not even trying to load the PDF?

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it:

  1. Open any PDF

The output of your Nextcloud log in Admin > Logging:

No entry logged

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):


The output of your Apache/nginx/system log in /var/log/____:

Nothing logged

Hi Jason,

Some users mentioned such an issue here before. As far as I know the issue was solved by a full reload of the NC page (CTRL + R). Seemed to be a caching issue.
Could you try if that is the case for you as well?

If that doesn’t help and the logs contain no information, then the browser console output might be useful.

1 Like

Thanks Schmu,

As the notification came through you’d responded, PDFs started loading again :slight_smile:
Too soon on the support trigger!


Just glad it’s no bug :slight_smile:

1 Like

After clearing the cache everything works well again. Might have something to do with the updated pdf.js viewer version:


Same issue here with the 13.0.1 upgrade. Clearing the browser cache did resolve it.

1 Like

Same here. Thanks for the advice!

1 Like

there’s a new pdf-viewer version (1.2.1.) in the store. maybe it’s clearing this issue.

1 Like

3 posts were split to a new topic: Can’t open PDF documents

Happy for this post!

We are having the same issue. Except we have 13.0.5. PDF viewer 1.2.1. PDF’s stopped loading used the Ctrl-R and it is now working.
So is this just a fluke with PDF viewer?
User is continuing to have issues viewing PDF’s even after refresh?