gallery icon indicating copy to clipboard operation
gallery copied to clipboard

SLOW Gallery please Fix (We have year 2k18)

Open Ser1ous1 opened this issue 7 years ago • 6 comments

Please fix the slow thumbnail generation, especially for big file collections. It is not sustainable to host your "own" nextcloud and want to save images on it, with that low speed and high cpu consuming thumbnail generation.

Btw. im using "occ preview:generate-all" Cron @ 0 3 * * *

cron

Screenshot with no new pictures, just executing the command!

(~ 2200 pictures)

Ser1ous1 avatar May 23 '18 16:05 Ser1ous1

Just to support this issue:

Please fix this issue also for me. I have a some thousand pictures but gallery works soooo slow. How can anybody use this as a replacement for OneDrive or dropbox?

Once I manage to navigate into a folder (eventually it crahes) the preview generation is like 1 picture every 30 seconds or even worse…

The servers purpose is nextcloud only and there is only 1 user

I use redis and tried all the things I found without success. Samba share on the same server over the same network allows my windows client to create previews 10x faster in file explorer.

In desparation any settings related to preview-generation are changed now. No clue howto reset to default due to lack of documentation.

Example: /Folder php -f *3 xxx??? occ --vvvv preview-generate-all-reset-size-to small-and-store-this-anywhere

Please put some manpower here because I would really like to get rid of overseas cloud service.

Having said that I want to say that normal file access and sync work perfect.

hast0011 avatar May 24 '18 22:05 hast0011

I found this issue because I was looking for a way to pre-generate previews. The app you're talking about seems to be this one, not the gallery app that you're looking at here (even though they work together). The project's readme says the following:

preview:generate-all [user-id] Loop over all files and try to generate previews for them. If user-id is supplied just loop over the files for that user.

preview:pre-generate Do the actual pregeneration. This means only for new or modified files (since the app was enabled or the last pregeneration was done).

So I guess the command you're looking for should be the second one, no? You shouldn't need to re-generate previews that were already created.

rrrnld avatar May 27 '18 15:05 rrrnld

You can install php-imagick and imagemagick-6-common, it's will be faster Az

azlux avatar May 31 '18 22:05 azlux

Both are already installed.

Am Fr., 1. Juni 2018 um 00:07 Uhr schrieb azlux [email protected]:

You can install php-imagick and imagemagick-6-common, it's will be faster Az

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/nextcloud/gallery/issues/437#issuecomment-393696383, or mute the thread https://github.com/notifications/unsubscribe-auth/Afn79mJwXNavoNaxFyhKuszhDIm9RxYfks5t4GmmgaJpZM4UKz93 .

hast0011 avatar Jun 01 '18 07:06 hast0011

preview:pre-generate Do the actual pregeneration. This means only for new or modified files (since the app was enabled or the last pregeneration was done).

Was at least an improvement, thx.

Ser1ous1 avatar Jun 01 '18 12:06 Ser1ous1

  1. dispatching a 140k "full" size jpg is much to slow, clicking "next image" between 3 and 10 seconds
  2. gallery preview - with or without preview generator is equally slow
  3. the thumbnails in the list view seem to be dispatched faster.

ferdiga avatar Aug 17 '18 18:08 ferdiga