previewgenerator
previewgenerator copied to clipboard
prewviewgenerator is ignoring imaginary
How to use GitHub
- Please use the 👍 reaction to show that you are affected by the same issue.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
Steps to reproduce
- install previewgenerator
- setup container and test from nextcloud container with curl
- issue
sudo -u www-data php occ preview:generate-all -vv
Expected behaviour
there should be logs from imaginary container
Actual behaviour
no logs from imaginary container
Server configuration
Web server: Apache
Database: SQLite
PHP version: 8.2
Nextcloud version: (see Nextcloud admin page)
Nextcloud Hub 9 (30.0.1)
List of activated apps
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder
Nextcloud configuration
If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your Nextcloud installation folder
Please try to disable all other image providers first. The Imaginary provider should be the only enabled one.
Have a look at the configuration example from our documentation:
<?php
'enabledPreviewProviders' => [
'OC\Preview\MP3',
'OC\Preview\TXT',
'OC\Preview\MarkDown',
'OC\Preview\OpenDocument',
'OC\Preview\Krita',
'OC\Preview\Imaginary',
],
'preview_imaginary_url' => 'http://<url of imaginary>',
Please keep in mind that the command occ preview:generate-all will only request previews that don't already exist. When all previews of a file already exist, they won't be regenerated. You could update a new test file to make sure that previews will be generated.