Error loading PNG files for viewing

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 20.0.5): 21.0.2
Operating system and version (eg, Ubuntu 20.04): fedora 33
Apache or nginx version (eg, Apache 2.4.25): httpd-2.4.46-9.fc33.x86_64
PHP version (eg, 7.4): 7.4.19

The issue you are facing: Opening PNG files viewer displays “Error loading_…”, nothing relevant in logs.

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

Steps to replicate it:

  1. Upload PNG files , 50Mb+ size
  2. Click to open a PNG file in “files” view
  3. Error loading displayed

The output of your Nextcloud log in Admin > Logging:

Nothing in logging

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

<?php
$CONFIG = array (
  'instanceid' => '',
  'passwordsalt' => '',
  'secret' => '',
  'trusted_domains' => 
  array (
    0 => '10.0.0.111',
    1 => 'xxxxxxxx',
  ),
  'datadirectory' => '/p/cloud_data',
  'dbtype' => 'mysql',
  'version' => '21.0.2.1',
  'overwrite.cli.url' => 'https://10.0.0.111/nextcloud',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost:3306',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => '',
  'dbpassword' => '',
  'installed' => true,
);

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

nothing relevan
1 Like

I’m experiencing this same issue on v24.0.3. Has there been a resolution?