Call: sudo -u www-data ./occ full:live
Error:
An unhandled exception has been thrown:
TypeError: Return value of OCA\Files_FullTextSearch\Service\GroupFoldersService::getRandomUserFromGroups() must be of the type string, integer returned in /usr/share/nginx/www/clouddoc/apps/files_fulltextsearch/lib/Service/GroupFoldersService.php:289
Stack trace:
I found solution for it:
apps/files_fulltextsearch/lib/Service/GroupFoldersService.php:289
return array_keys($users)[0];
to
return strval(array_keys($users)[0]);
Call: sudo -u www-data ./occ full:live Error: An unhandled exception has been thrown: TypeError: Return value of OCA\Files_FullTextSearch\Service\GroupFoldersService::getRandomUserFromGroups() must be of the type string, integer returned in /usr/share/nginx/www/clouddoc/apps/files_fulltextsearch/lib/Service/GroupFoldersService.php:289 Stack trace:
0 /usr/share/nginx/www/clouddoc/apps/files_fulltextsearch/lib/Service/GroupFoldersService.php(253): OCA\Files_FullTextSearch\Service\GroupFoldersService->getRandomUserFromGroups(Array)
1 /usr/share/nginx/www/clouddoc/apps/files_fulltextsearch/lib/Service/FilesService.php(1022): OCA\Files_FullTextSearch\Service\GroupFoldersService->impersonateOwner(Object(OCA\FullTextSearch\Model\Index))
2 /usr/share/nginx/www/clouddoc/apps/files_fulltextsearch/lib/Service/FilesService.php(587): OCA\Files_FullTextSearch\Service\FilesService->impersonateOwner(Object(OCA\FullTextSearch\Model\Index))
3 /usr/share/nginx/www/clouddoc/apps/files_fulltextsearch/lib/Provider/FilesProvider.php(286): OCA\Files_FullTextSearch\Service\FilesService->updateDocument(Object(OCA\FullTextSearch\Model\Index))
4 /usr/share/nginx/www/clouddoc/apps/fulltextsearch/lib/Service/IndexService.php(403): OCA\Files_FullTextSearch\Provider\FilesProvider->updateDocument(Object(OCA\FullTextSearch\Model\Index))
5 /usr/share/nginx/www/clouddoc/apps/fulltextsearch/lib/Command/Live.php(291): OCA\FullTextSearch\Service\IndexService->updateDocument(Object(OCA\FullTextSearch_ElasticSearch\Platform\ElasticSearchPlatform), Object(OCA\Files_FullTextSearch\Provider\FilesProvider), Object(OCA\FullTextSearch\Model\Index))
6 /usr/share/nginx/www/clouddoc/apps/fulltextsearch/lib/Command/Live.php(258): OCA\FullTextSearch\Command\Live->liveCycle()
7 /usr/share/nginx/www/clouddoc/3rdparty/symfony/console/Command/Command.php(255): OCA\FullTextSearch\Command\Live->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
8 /usr/share/nginx/www/clouddoc/core/Command/Base.php(166): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
9 /usr/share/nginx/www/clouddoc/3rdparty/symfony/console/Application.php(901): OC\Core\Command\Base->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
10 /usr/share/nginx/www/clouddoc/3rdparty/symfony/console/Application.php(262): Symfony\Component\Console\Application->doRunCommand(Object(OCA\FullTextSearch\Command\Live), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
11 /usr/share/nginx/www/clouddoc/3rdparty/symfony/console/Application.php(145): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
12 /usr/share/nginx/www/clouddoc/lib/private/Console/Application.php(213): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
13 /usr/share/nginx/www/clouddoc/console.php(97): OC\Console\Application->run()
14 /usr/share/nginx/www/clouddoc/occ(11): require_once('/usr/share/ngin...')
15 {main}