fulltextsearch icon indicating copy to clipboard operation
fulltextsearch copied to clipboard

Fulltext search broken with groupfolders enabled.

Open funsurfer2008 opened this issue 4 years ago • 4 comments

Hy. If i disable groupfolders indexing is working, but if i enable groupfolders i become this error: An unhandled exception has been thrown: TypeError: OCA\Files_FullTextSearch\Model\MountPoint::isGlobal(): Return value must be of type bool, null returned in /var/www/nextcloud/apps/files_fulltextsearch/lib/Model/MountPoint.php:103 Stack trace: #0 /var/www/nextcloud/apps/files_fulltextsearch/lib/Model/MountPoint.php(175): OCA\Files_FullTextSearch\Model\MountPoint->isGlobal() #1 [internal function]: OCA\Files_FullTextSearch\Model\MountPoint->jsonSerialize() #2 /var/www/nextcloud/apps/files_fulltextsearch/lib/TNC22Logger.php(193): json_encode() #3 /var/www/nextcloud/apps/files_fulltextsearch/lib/TNC22Logger.php(178): OCA\Files_FullTextSearch\Service\GroupFoldersService->log() #4 /var/www/nextcloud/apps/files_fulltextsearch/lib/Service/GroupFoldersService.php(133): OCA\Files_FullTextSearch\Service\GroupFoldersService->debug() #5 /var/www/nextcloud/apps/files_fulltextsearch/lib/Service/FilesService.php(379): OCA\Files_FullTextSearch\Service\GroupFoldersService->initGroupSharesForUser() #6 /var/www/nextcloud/apps/files_fulltextsearch/lib/Service/FilesService.php(661): OCA\Files_FullTextSearch\Service\FilesService->initFileSystems() #7 /var/www/nextcloud/apps/files_fulltextsearch/lib/Provider/FilesProvider.php(317): OCA\Files_FullTextSearch\Service\FilesService->updateDocument() #8 /var/www/nextcloud/apps/fulltextsearch/lib/Service/IndexService.php(407): OCA\Files_FullTextSearch\Provider\FilesProvider->updateDocument() #9 /var/www/nextcloud/apps/fulltextsearch/lib/Command/Live.php(308): OCA\FullTextSearch\Service\IndexService->updateDocument() #10 /var/www/nextcloud/apps/fulltextsearch/lib/Command/Live.php(261): OCA\FullTextSearch\Command\Live->liveCycle() #11 /var/www/nextcloud/3rdparty/symfony/console/Command/Command.php(255): OCA\FullTextSearch\Command\Live->execute() #12 /var/www/nextcloud/core/Command/Base.php(169): Symfony\Component\Console\Command\Command->run() #13 /var/www/nextcloud/3rdparty/symfony/console/Application.php(1009): OC\Core\Command\Base->run() #14 /var/www/nextcloud/3rdparty/symfony/console/Application.php(273): Symfony\Component\Console\Application->doRunCommand() #15 /var/www/nextcloud/3rdparty/symfony/console/Application.php(149): Symfony\Component\Console\Application->doRun() #16 /var/www/nextcloud/lib/private/Console/Application.php(215): Symfony\Component\Console\Application->run() #17 /var/www/nextcloud/console.php(100): OC\Console\Application->run() #18 /var/www/nextcloud/occ(11): require_once('...')

I have nextcloud 21.0.2, and the actual fulltextserach app. brgds

funsurfer2008 avatar May 24 '21 17:05 funsurfer2008

this also what I noticed when i test nc21 the time i created group folder the fulltextserch or elasticsearch had a problem

sinichi19 avatar May 27 '21 22:05 sinichi19

same issue in fresh installs of both 21.0.2 and 20.0.10. and disabling group folders does in fact fix it, but this is not a solution.

EDIT: a temporary fix is mentioned in the comments here. https://github.com/nextcloud/files_fulltextsearch/issues/125 which i found after realizing i should be looking in the files_fulltextsearch and not fulltextsearch repo. I suggest deleting this, and following the issue linked above.

sethHive avatar Jun 02 '21 08:06 sethHive

@hiveintegrated yes. this is fixing the index. brgds

funsurfer2008 avatar Jun 06 '21 10:06 funsurfer2008

please install last version of files_fulltextsearch and confirm this bug is fixed

ArtificialOwl avatar Aug 11 '21 12:08 ArtificialOwl

Closing with no further information provided after 2+ years so I assume it was fixed. :)

joshtrichards avatar Oct 02 '23 19:10 joshtrichards