nextcloud / previewgenerator

Nextcloud app to do preview generation in the background.
https://apps.nextcloud.com/apps/previewgenerator
GNU Affero General Public License v3.0
459 stars 57 forks source link

Cron "php /var/www/nextcloud/occ preview:pre-generate" #210

Open tetzlav opened 4 years ago

tetzlav commented 4 years ago

With Nextcloud 19.0.4 + Preview Generator 2.3.0 + Cron "php /var/www/nextcloud/occ preview:pre-generate" i got:

An unhandled exception has been thrown:
ArgumentCountError: Too few arguments to function OCA\GroupFolders\Command\Trashbin\Cleanup::__construct(), 0 passed in /var/www/nextcloud/lib/private/Console/Application.php on line 224 and exactly 3 expected in /var/www/nextcloud/apps/groupfolders/lib/Command/Trashbin/Cleanup.php:49
Stack trace:
#0 /var/www/nextcloud/lib/private/Console/Application.php(224): OCA\GroupFolders\Command\Trashbin\Cleanup->__construct()
#1 /var/www/nextcloud/lib/private/Console/Application.php(136): OC\Console\Application->loadCommandsFromInfoXml()
#2 /var/www/nextcloud/console.php(99): OC\Console\Application->loadCommands()
#3 /var/www/nextcloud/occ(11): require_once('/var/www/nextcl...')
#4 {main}

I found https://github.com/nextcloud/groupfolders/issues/1074, but enabling Trashbin does not solve the error.