previewgenerator icon indicating copy to clipboard operation
previewgenerator copied to clipboard

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

Open Guttalax opened this issue 2 years ago • 5 comments

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

Guttalax avatar Feb 13 '23 10:02 Guttalax

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.

st3iny avatar Feb 14 '23 09:02 st3iny

Correct, but this only true regarding mp4 files.

Guttalax avatar Feb 14 '23 16:02 Guttalax

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.

labuzer avatar Feb 23 '23 00:02 labuzer

How to check whether those previews were generated?

Mars160 avatar Apr 26 '23 15:04 Mars160

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

  • previews are generated (checked for .mov and .mp4)
  • previews do not show up in web interface
  • after file deletion previews show up in trash

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>

bbx-github avatar Mar 18 '24 17:03 bbx-github