nextcloud / photos

📸 Your memories under your control
GNU Affero General Public License v3.0
516 stars 59 forks source link

Photo Previews dissapear since 29.0.2 #2509

Open GogoFC opened 1 week ago

GogoFC commented 1 week ago

Describe the bug After the upgrade to 29.0.2 I changed the Media folder to the old Folder which contains God knows how many subfolders and lot's of photos.

Previews dissapear on version 29.0.2

When I scroll down to generate previews for other Photos and go back to the beginning of the screen some previews are missing that were previously there. There's empty spaces, photos can be clicked and opened though.

Photo previews on top of the page do come back after a while when I close the Browser and come back, but dissapear again when I scroll down to generate new previews, different photos are missing now.

This photo is when I first open the Nextcloud after giving it a break.

Screenshot from 2024-06-23 04-35-38

This photo is when I scroll down and come back up to the top.

Screenshot from 2024-06-23 04-35-57

There's about 10% iowait even few minutes after I closed the Browser. Is it generating previews still?

Screenshot from 2024-06-23 04-40-21

To Reproduce Steps to reproduce the behavior:

  1. Go to Photo App
  2. Wait for previews to generate
  3. Scroll down to further down and come back
  4. See above explanation.

Expected behavior Previews don't dissapear when I scroll down and up again.

After I close the Browser there is no iowait after a while, here it seems it's regenerating previews since the folder change?

Previews actually seem to be much faster for the photos I haven't looked at, so the previews might not have been generated for them, but some previews stil do dissapear. It seems now only 33% of my CPU is used where as before it would go into 80% when I scroll down very fast but then there wouldn't be lingering iowait as there is now.

Edit:* Apparently some users uploaded more photos (Today, Jun 25th). I tried to open the Photo App and the server froze, I coudn't even SSH into the server until I refreshed the page and then the Photos loaded with already generated previews.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Browser log

Not much in console.

Screenshot from 2024-06-23 05-02-29

How to access your browser console (Click to expand) # Chrome - Press either CTRL + SHIFT + J to open the “console” tab of the Developer Tools. - Alternative method: 1. Press either CTRL + SHIFT + I or F12 to open the Developer Tools. 2. Click the “console” tab. # Safari - Press CMD + ALT + I to open the Web Inspector. - See Chrome’s step 2. (Chrome and Safari have pretty much identical dev tools.) # IE9 1. Press F12 to open the developer tools. 2. Click the “console” tab. # Firefox - Press CTRL + SHIFT + K to open the Web console (COMMAND + SHIFT + K on Macs). - or, if Firebug is installed (recommended): 1. Press F12 to open Firebug. 2. Click on the “console” tab. # Opera 1. Press CTRL + SHIFT + I to open Dragonfly. 2. Click on the “console” tab.

Additional context Add any other context about the problem here.

avignat commented 6 days ago

Same here