Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prewviewgenerator is ignoring imaginary #521

Open
dassio opened this issue Oct 23, 2024 · 1 comment
Open

prewviewgenerator is ignoring imaginary #521

dassio opened this issue Oct 23, 2024 · 1 comment
Labels

Comments

@dassio
Copy link

dassio commented Oct 23, 2024

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 dassio added the bug label Oct 23, 2024
@st3iny
Copy link
Member

st3iny commented Nov 11, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants