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

Fulltext search broken with groupfolders enabled. #634

Closed
funsurfer2008 opened this issue May 24, 2021 · 5 comments
Closed

Fulltext search broken with groupfolders enabled. #634

funsurfer2008 opened this issue May 24, 2021 · 5 comments

Comments

@funsurfer2008
Copy link

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

@sinichi19
Copy link

sinichi19 commented May 27, 2021

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

@sethHive
Copy link

sethHive commented Jun 2, 2021

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. nextcloud/files_fulltextsearch#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.

@funsurfer2008
Copy link
Author

@hiveintegrated yes. this is fixing the index. brgds

@ArtificialOwl
Copy link
Member

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

@joshtrichards
Copy link
Member

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

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

5 participants