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

Command "preview:pre-generate" is not defined #1828

Closed
janvlug opened this issue Sep 15, 2023 · 1 comment
Closed

Command "preview:pre-generate" is not defined #1828

janvlug opened this issue Sep 15, 2023 · 1 comment

Comments

@janvlug
Copy link
Contributor

janvlug commented Sep 15, 2023

I get this exception when trying to run nc-preview:

[ nc-previews ] (Fri Sep 15 17:29:59 BST 2023)

In Application.php line 720:

[Symfony\Component\Console\Exception\CommandNotFoundException]
Command "preview:pre-generate" is not defined.

Did you mean one of these?
notification:generate
preview:generate
preview:repair
preview:reset-rendered-texts


Exception trace:
at /var/www/nextcloud/3rdparty/symfony/console/Application.php:720
Symfony\Component\Console\Application->find() at /var/www/nextcloud/3rdparty/symfony/console/Application.php:259
Symfony\Component\Console\Application->doRun() at /var/www/nextcloud/3rdparty/symfony/console/Application.php:171
Symfony\Component\Console\Application->run() at /var/www/nextcloud/lib/private/Console/Application.php:211
OC\Console\Application->run() at /var/www/nextcloud/console.php:100
require_once() at /var/www/nextcloud/occ:11

@joshtrichards
Copy link
Member

Just sounds like the previewgenerator app got disabled at some point.

E.g. #1531 (comment)

Install/enable and should be good.

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

No branches or pull requests

2 participants