Running nc-previews gives errors

NextcloudPi latest version (1.32.1) on Raspberry Pi 4 4GB (arm64).
Running nc-previews from ncp-config gives following errors:

Running nc-previews

In Application.php line 652:

Command “preview:generate-all” is not defined.

Did you mean one of these?

Exception trace:
at /var/www/nextcloud/apps/mail/vendor/symfony/console/Application.php:652
Symfony\Component\Console\Application->find() at /var/www/nextcloud/apps/mail/vendor/symfony/console/Application.php:231
Symfony\Component\Console\Application->doRun() at /var/www/nextcloud/apps/mail/vendor/symfony/console/Application.php:143
Symfony\Component\Console\Application->run() at /var/www/nextcloud/lib/private/Console/Application.php:215
OC\Console\Application->run() at /var/www/nextcloud/console.php:100
require_once() at /var/www/nextcloud/occ:11

php-imagick is not installed. The app NCP Preview Generator is installed.

Problem fixed. NCP Preview Generator app was downloaded but not enabled.
Silly me.

Where do you download it? It doesnt even show up in my list of apps.

It was in my list. I wouldn’t know how to get it otherwise.

Use the Nextcloud app store to install the Preview Generator app.

As noted in another topic, for whatever reason the directory ncp-previewgenerator was located in /var/www/nextcloud and i moved it /var/www/nextcloud/apps and then I could activate it.

1 Like