nextcloud / previewgenerator

Nextcloud app to do preview generation in the background.
https://apps.nextcloud.com/apps/previewgenerator
GNU Affero General Public License v3.0
449 stars 56 forks source link

Mp4 previews are being correctly generated but not showing, except for trash folder [bug] #355

Open Guttalax opened 1 year ago

Guttalax commented 1 year ago

all dependencies seem to be ok. config.php is correctly configured previews generate without errors The proof that everything is working is that if i delete files, they correctly appear with a thumbnail in trasbin. All other folders miss previews. Looks like trash folder uses a completely different logic for thumbnail generation.

The issue is reproduceable in 25.0 all sub versions and in Beta 26

st3iny commented 1 year ago

Thanks for the report.

Please confirm:

  1. There are no previews shown for files on the files app (outside of the trash bin).
  2. There are previews shown for files in the trash bin.
Guttalax commented 1 year ago

Correct, but this only true regarding mp4 files.

labuzer commented 1 year ago

I am running into the same issue, kinda. When using local storage, I could see mp4 previews just fine. However, after setting up Idrive s3 as primary storage I can now only see mp4 previews in trash as described.

Mars160 commented 1 year ago

How to check whether those previews were generated?

bbx-github commented 3 months ago

I have the same issue with nextcloud: 28.0.3.2 and previewgenerator: 5.4.0

How to check whether those previews were generated?

I have a complicated method to check if previews for a specific file were generated:

  1. connect do database (ex mysql: $ mysql -u <dbuser> -p <dbname>
  2. extract fileid mysql> SELECT fileid, name FROM oc_filecache WHERE name = '<filename>';
  3. seach in filesystem: $ find /var/www/nextcloud/data/appdata_oc<rand>/preview -type d -name <fileid>