When I open a photo, multiple photos are displayed

I’m running NC Official in docker.
When I go to the Photos app and click on a photo to display it, multiple photos is displayed, instead of the photo I clicked on. Some of the photos is so large, that I just see a little part of it.

I’m not sure when this started, but probably after updating to NC 29.
I found a similar thread, but nothing from this thread works for me:

I’ve been running preview generator until now. It’s currently disabled and I have removed all of the previews. The problem is still there.

Here’s an example:

This is my config.php:

<?php                                        
$CONFIG = array (                            
  'htaccess.RewriteBase' => '/',             
  'memcache.local' => '\\OC\\Memcache\\APCu',
 'memcache.locking' => '\\OC\\Memcache\\APCu',
 'memory_limit' => '4G',
 'apps_paths' => 
 array (
   0 => 
   array (
     'path' => '/var/www/html/apps',
     'url' => '/apps',
     'writable' => false,
   ),
   1 => 
   array (
     'path' => '/var/www/html/custom_apps',
     'url' => '/custom_apps',
     'writable' => true,
   ),
 ),
 'instanceid' => 'ockgmzytu3bl',
 'trusted_domains' => 
 array (
   0 => '***REDACTED***',
   1 => '192.168.0.35:8080',
 ),
 'passwordsalt' => '***REDACTED***',
 'secret' => '***REDACTED***',
 'datadirectory' => '/var/www/html/data',
 'maintenance_window_start' => 4,
 'dbtype' => 'mysql',
 'version' => '29.0.6.1',
 'maintenance' => false,
 'overwrite.cli.url' => '***REDACTED***',
 'overwriteprotocol' => 'https',
 'dbname' => 'nextcloud',
 'dbhost' => 'db',
 'dbport' => '',
 'dbtableprefix' => 'oc_',
 'mysql.utf8mb4' => true,
 'dbuser' => 'nextcloud',
 'dbpassword' => '***REDACTED***',
 'installed' => true,
 'mail_from_address' => 'oystein',
 'mail_smtpmode' => 'smtp',
 'mail_sendmailmode' => 'smtp',
 'mail_domain' => 'pludge.com',
 'mail_smtpauthtype' => 'PLAIN',
 'mail_smtpauth' => 1,
 'mail_smtphost' => '192.168.0.5',
 'mail_smtpport' => '25',
 'mail_smtpname' => '***REDACTED***',
 'mail_smtppassword' => '***REDACTED***',
 'preview_max_x' => '512',
 'preview_max_y' => '512',
 'default_phone_region' => 'NO',
 'twofactor_enforced' => 'true',
 'twofactor_enforced_groups' => 
 array (
 ),
 'twofactor_enforced_excluded_groups' => 
 array (
 ),
 'loglevel' => 2,
 'theme' => '',
 'app_install_overwrite' => 
 array (
   0 => 'sharerenamer',
   1 => 'richdocumentscode',
   2 => 'camerarawpreviews',
   3 => 'news',
 ),
 'enable_previews' => true,
;

I’ve spent some time trying to solve this. Any help would be highly appreciated :-).

1 Like

What do you see in the webserver log while clicking such a photo?

  • open your webserver logfile in a console window:
    tail -F /path/to/webserver.log
    
    and then click in your browser, and look exactly what it does.

What steps did you take to achieve this?
Did you do it the way I explained in the post you linked above?



This has nothing to do with your issue but you should delete these lines from your configuration:


ernolf

Hi, see https://github.com/nextcloud/photos/issues/2645

3 Likes

I’ve removed the parts you mentioned.

Thanks for the tip.

1 Like

And this solved my issue. Thanks! :slight_smile:

1 Like

This is happening to me on the latest version (30.0.1.2)

same for me after today’s update to 30.0.1. Clearing the cache as mentioned above, solved the issue