Nextcloud version (eg, 29.0.5): 30.0
Operating system and version (eg, Ubuntu 24.04): Ubuntu 22' Apache or nginx version _(eg, Apache 2.4.25)_: Apache PHP version _(eg, 8.3)_:
8.3’
Plesk Obsidian 18.0.64 Update #1
The issue you are facing:
I’ve migrated a number of weeks ago my NextCloud server from one of VPS servers to my Plesk environment and it runs smoothly apart from one minor problem. The preview generator does not create thumbnails of any videos such as .mp4 when uploaded to the server.
When I perform a full preview generation of the entire library it works and thumbnails appear, however when incrementally generating thumbnails of mp4 new videos it doesn’t.
I have setup a CRON job in Plesk and this runs every 20 minutes and confirms it ran successfully. Still no thumbnail though.
Is this the first time you’ve seen this error? (Y/N):Yes
I’m running this command in Scheduled Tasks of Plesk 'httpdocs/occ – ‘preview:pre-generate’ and it runs successfully (it’s reporting).
The logs are not reporting any issues. I believe my config file is correct too and pasted below the piece for preview generation.
‘enable_previews’ => true,
‘preview_max_x’ => 1000,
‘preview_max_y’ => 1000,
‘enabledPreviewProviders’ =>
array (
0 => ‘OC\Preview\TXT’,
1 => ‘OC\Preview\MarkDown’,
2 => ‘OC\Preview\PDF’,
3 => ‘OC\Preview\MSOfficeDoc’,
4 => ‘OC\Preview\JPEG’,
5 => ‘OC\Preview\PNG’,
6 => ‘OC\Preview\GIF’,
7 => ‘OC\Preview\BMP’,
8 => ‘OC\Preview\XBitmap’,
9 => ‘OC\Preview\MP3’,
10 => ‘OC\Preview\HEIC’,
11 => ‘OC\Preview\Movie’,
12 => ‘OC\Preview\MKV’,
13 => ‘OC\Preview\MP4’,
14 => ‘OC\Preview\AVI’,
15 => ‘OC\Preview\M4V’,
),
Would appreciate if anyone else has come across this. I have to run the OCC command via a scheduled task as it’s Plesk.
The Plesk server was setup by myself and I have the Nextcloud environment completely thumbnailed, apart from new files that are added.
Any help would be appreciated.
Many Thanks,
Stefan.