previewgenerator icon indicating copy to clipboard operation
previewgenerator copied to clipboard

prewviewgenerator is ignoring imaginary

Open dassio opened this issue 1 year ago • 1 comments

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

  1. install previewgenerator
  2. setup container and test from nextcloud container with curl
  3. 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

Image

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

Image

dassio avatar Oct 23 '24 09:10 dassio

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.

st3iny avatar Nov 11 '24 14:11 st3iny