Skip to content
This repository has been archived by the owner on Nov 1, 2020. It is now read-only.

SLOW Gallery please Fix (We have year 2k18) #437

Open
Ser1ous1 opened this issue May 23, 2018 · 6 comments
Open

SLOW Gallery please Fix (We have year 2k18) #437

Ser1ous1 opened this issue May 23, 2018 · 6 comments
Labels
1. to develop Accepted and waiting to be taken care of bug Something isn't working performances Performances issues and optimisations

Comments

@Ser1ous1
Copy link

Ser1ous1 commented May 23, 2018

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)

@hast0011
Copy link

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.

@rrrnld
Copy link

rrrnld commented May 27, 2018

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.

@azlux
Copy link

azlux commented May 31, 2018

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

@hast0011
Copy link

hast0011 commented Jun 1, 2018 via email

@Ser1ous1
Copy link
Author

Ser1ous1 commented Jun 1, 2018

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.

@ferdiga
Copy link

ferdiga commented Aug 17, 2018

  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.

@skjnldsv skjnldsv added 1. to develop Accepted and waiting to be taken care of bug Something isn't working performances Performances issues and optimisations labels Sep 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
1. to develop Accepted and waiting to be taken care of bug Something isn't working performances Performances issues and optimisations
Projects
None yet
Development

No branches or pull requests

6 participants