You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
occ fulltextsearch:index throws exception: OCA\Files_FullTextSearch\Service\ExternalFilesService::getExternalMountById() must be of the type integer, null given
#538
I run Nextcloud 16.0.4 with Fulltextsearch 1.3.6. When executing occ fulltextsearch:index for the first time to build an index, I fail with index completion as an exception is thrown during building the index.
Hi,
I run Nextcloud 16.0.4 with Fulltextsearch 1.3.6. When executing occ fulltextsearch:index for the first time to build an index, I fail with index completion as an exception is thrown during building the index.
This is the last output from building the index:
From this state, occ fulltextsearch:index stopped execution:
An unhandled exception has been thrown: TypeError: Argument 1 passed to OCA\Files_FullTextSearch\Service\ExternalFilesService::getExternalMountById() must be of the type integer, null given, called in /var/www/html/nextcloud/apps/files_fulltextsearch/lib/Service/ExternalFilesService.php on line 244 and defined in /var/www/html/nextcloud/apps/files_fulltextsearch/lib/Service/ExternalFilesService.php:258 Stack trace: #0 /var/www/html/nextcloud/apps/files_fulltextsearch/lib/Service/ExternalFilesService.php(244): OCA\Files_FullTextSearch\Service\ExternalFilesService->getExternalMountById(NULL) #1 /var/www/html/nextcloud/apps/files_fulltextsearch/lib/Service/ExternalFilesService.php(156): OCA\Files_FullTextSearch\Service\ExternalFilesService->getMountPoint(Object(OC\Files\Node\Folder)) #2 /var/www/html/nextcloud/apps/files_fulltextsearch/lib/Service/FilesService.php(423): OCA\Files_FullTextSearch\Service\ExternalFilesService->getFileSource(Object(OC\Files\Node\Folder), '') #3 /var/www/html/nextcloud/apps/files_fulltextsearch/lib/Service/FilesService.php(382): OCA\Files_FullTextSearch\Service\FilesService->getFileSource(Object(OC\Files\Node\Folder)) #4 /var/www/html/nextcloud/apps/files_fulltextsearch/lib/Service/FilesService.php(359): OCA\Files_FullTextSearch\Service\FilesService->generateFilesDocumentFromFile('<user>', Object(OC\Files\Node\Folder)) #5 /var/www/html/nextcloud/apps/files_fulltextsearch/lib/Service/FilesService.php(260): OCA\Files_FullTextSearch\Service\FilesService->generateFilesDocumentFromParent('<user>', Object(OC\Files\Node\Folder)) #6 /var/www/html/nextcloud/apps/files_fulltextsearch/lib/Provider/FilesProvider.php(254): OCA\Files_FullTextSearch\Service\FilesService->getFilesFromUser('<user>', '/<user>...') #7 /var/www/html/nextcloud/apps/fulltextsearch/lib/Service/IndexService.php(193): OCA\Files_FullTextSearch\Provider\FilesProvider->generateIndexableDocuments('<user>', '/<user>...') #8 /var/www/html/nextcloud/apps/fulltextsearch/lib/Command/Index.php(409): OCA\FullTextSearch\Service\IndexService->indexProviderContentFromUser(Object(OCA\FullTextSearch_ElasticSearch\Platform\ElasticSearchPlatform), Object(OCA\Files_FullTextSearch\Provider\FilesProvider), '<user>', Object(OCA\FullTextSearch\Model\IndexOptions)) #9 /var/www/html/nextcloud/apps/fulltextsearch/lib/Command/Index.php(273): OCA\FullTextSearch\Command\Index->indexProvider(Object(OCA\Files_FullTextSearch\Provider\FilesProvider), Object(OCA\FullTextSearch\Model\IndexOptions)) #10 /var/www/html/nextcloud/3rdparty/symfony/console/Command/Command.php(255): OCA\FullTextSearch\Command\Index->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #11 /var/www/html/nextcloud/core/Command/Base.php(166): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #12 /var/www/html/nextcloud/3rdparty/symfony/console/Application.php(901): OC\Core\Command\Base->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #13 /var/www/html/nextcloud/3rdparty/symfony/console/Application.php(262): Symfony\Component\Console\Application->doRunCommand(Object(OCA\FullTextSearch\Command\Index), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #14 /var/www/html/nextcloud/3rdparty/symfony/console/Application.php(145): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #15 /var/www/html/nextcloud/lib/private/Console/Application.php(213): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #16 /var/www/html/nextcloud/console.php(97): OC\Console\Application->run() #17 /var/www/html/nextcloud/occ(11): require_once('/var/www/html/n...')
Thanks for your your support!
Best regards,
Peter
The text was updated successfully, but these errors were encountered: