Coder Social home page Coder Social logo

Comments (16)

panosru avatar panosru commented on June 26, 2024 4

Yeap, I second that. I run occ app:disable files_fulltextsearch for now in order to be able to log back in.

from fulltextsearch.

ivosm avatar ivosm commented on June 26, 2024 4

I have the same problem, but in my case the conflicting app was groupfolders. For me was better to occ app:disable groupfolders and search work normally again. Maybe could help in the meantime.

from fulltextsearch.

panosru avatar panosru commented on June 26, 2024 4

I also confirm that both groupfolder and fulltextsearch works on NV v27.0.2.

Also, keep in mind that fulltextsearch now requires elasticsearch v8.6.1, but, if you are still on elastic search v7.6.1, first upgrade to v7.17.10 since you cannot jump from v7.6.1 to v8.6.1 directly.

Once you upgraded to v8.6.1, make sure that you have either of those in your container environment:

      # Disable authentication and ssl completely
      - xpack.security.enabled=false
      # Use this to enable Basic Authentication:
      # - xpack.security.enabled=true
      # - xpack.security.http.ssl.enabled=false
      # - ELASTIC_PASSWORD=mySuperSecret

To make sure that your instance works fine, enter into nextcloud app container by running docker exec -ti --user 33 nextcloud-app bash (33 stands for www-data). from there you can run curl -XGET http://nextcloud-elastic:9200/?pretty and check the response, if all are good, then run ./occ fulltextsearch:test to check that there aren't any other issues, once you're ok with that too, then run ./occ fulltextsearch:index and leave it running until it is done :)

Cheers!

from fulltextsearch.

kboykov avatar kboykov commented on June 26, 2024 3

Any solution for this incompatibility with GroupFolders?

from fulltextsearch.

vasyugan avatar vasyugan commented on June 26, 2024 3

Any solution for this incompatibility with GroupFolders?

For the time being: avoid upgrading to NC 27. But I guess everyone commenting here has already done so and there is no downgrade path.

from fulltextsearch.

vasyugan avatar vasyugan commented on June 26, 2024 1

I have the same problem, but in my case the conflicting app was groupfolders. For me was better to occ app:disable groupfolders and search work normally again. Maybe could help in the meantime.

Yes, it is an issue that kicks in when both apps are enabled, see this bug report against the groupfolders app. Which is a pity when you need both. But certainly, groupfolders is the more important one for me. I can live without fulltextsearch, although it is definitely a loss.

from fulltextsearch.

adamchemiawppl avatar adamchemiawppl commented on June 26, 2024 1

I have the same problem, but in my case the conflicting app was groupfolders. For me was better to occ app:disable groupfolders and search work normally again. Maybe could help in the meantime.

Yes, it is an issue that kicks in when both apps are enabled, see this bug report against the groupfolders app. Which is a pity when you need both. But certainly, groupfolders is the more important one for me. I can live without fulltextsearch, although it is definitely a loss.

Yes, if I wasn't clear in my comment - disabling groupfolders actually solved the issue. For me however groupfolders can be sacrificed, as ATM we're not really using it.

from fulltextsearch.

MeiKatz avatar MeiKatz commented on June 26, 2024 1

@vasyugan exactly that is the point.

from fulltextsearch.

dirkpape avatar dirkpape commented on June 26, 2024 1

@zapalotta : I stayed add the version 26 line, because of this bug, and I cannot confirm, that 26.0.4 also contains this bug. For me the upgrade from 26.0.3 to 26.0.4 worked well without exposing this bug. Only my test instance working with 27.0.1 is not working.

from fulltextsearch.

adamchemiawppl avatar adamchemiawppl commented on June 26, 2024

Same issue here, took me massive amount of time to find the cause of server error

from fulltextsearch.

weasam avatar weasam commented on June 26, 2024

Yes. I was panic about this. finally get it back by using occ command to disable it

from fulltextsearch.

overcuriousity avatar overcuriousity commented on June 26, 2024

Issue also present in my fresh instance.
I would be very happy to see it solved.

from fulltextsearch.

zapalotta avatar zapalotta commented on June 26, 2024

I had the same issue with 26.0.4 with group folders and fulltextsearch enabled. Upgrading to 27.0.1 did not change the situation.

from fulltextsearch.

manumitted avatar manumitted commented on June 26, 2024

I'm using group folders extensively and am just trying to set up full text search. Here's what mine does at the command line:

I'm using PHP 8.2.8, NC 27.0.1

On the surface this looks like a simple API change that's causing a problem that's so deep and uncaught that it totally destroys Nextcloud's ability to do anything.

.Testing your current setup:  
Creating mocked content provider. An unhandled exception has been thrown:
ArgumentCountError: Too few arguments to function OCA\GroupFolders\Folder\FolderManager::__construct(), 1 passed in /var/www/nextcloud/apps/files_fulltextsearch/lib/Service/GroupFoldersService.php on line 105 and exactly 4 expected in /var/www/nextcloud/apps/groupfolders/lib/Folder/FolderManager.php:50
Stack trace:
#0 /var/www/nextcloud/apps/files_fulltextsearch/lib/Service/GroupFoldersService.php(105): OCA\GroupFolders\Folder\FolderManager->__construct()
#1 [internal function]: OCA\Files_FullTextSearch\Service\GroupFoldersService->__construct()
#2 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(84): ReflectionClass->newInstanceArgs()
#3 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(124): OC\AppFramework\Utility\SimpleContainer->buildClass()
#4 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(142): OC\AppFramework\Utility\SimpleContainer->resolve()
#5 /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(494): OC\AppFramework\Utility\SimpleContainer->query()
#6 /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(466): OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback()
#7 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(97): OC\AppFramework\DependencyInjection\DIContainer->query()
#8 [internal function]: OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}()
#9 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(84): array_map()
#10 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(124): OC\AppFramework\Utility\SimpleContainer->buildClass()
#11 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(142): OC\AppFramework\Utility\SimpleContainer->resolve()
#12 /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(494): OC\AppFramework\Utility\SimpleContainer->query()
#13 /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(466): OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback()
#14 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(97): OC\AppFramework\DependencyInjection\DIContainer->query()
#15 [internal function]: OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}()
#16 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(84): array_map()
#17 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(124): OC\AppFramework\Utility\SimpleContainer->buildClass()
#18 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(142): OC\AppFramework\Utility\SimpleContainer->resolve()
#19 /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(494): OC\AppFramework\Utility\SimpleContainer->query()
#20 /var/www/nextcloud/lib/private/ServerContainer.php(155): OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback()
#21 /var/www/nextcloud/apps/fulltextsearch/lib/Service/ProviderService.php(122): OC\ServerContainer->query()
#22 /var/www/nextcloud/apps/fulltextsearch/lib/Service/ProviderService.php(311): OCA\FullTextSearch\Service\ProviderService->loadProvider()
#23 /var/www/nextcloud/apps/fulltextsearch/lib/Service/ProviderService.php(282): OCA\FullTextSearch\Service\ProviderService->loadProvidersFromList()
#24 /var/www/nextcloud/apps/fulltextsearch/lib/Service/ProviderService.php(102): OCA\FullTextSearch\Service\ProviderService->loadProvidersFromApp()
#25 /var/www/nextcloud/apps/fulltextsearch/lib/Service/ProviderService.php(146): OCA\FullTextSearch\Service\ProviderService->loadProviders()
#26 /var/www/nextcloud/apps/fulltextsearch/lib/Service/ProviderService.php(206): OCA\FullTextSearch\Service\ProviderService->getProviders()
#27 /var/www/nextcloud/apps/fulltextsearch/lib/Command/Test.php(206): OCA\FullTextSearch\Service\ProviderService->getProvider()
#28 /var/www/nextcloud/apps/fulltextsearch/lib/Command/Test.php(265): OCA\FullTextSearch\Command\Test->generateMockProvider()
#29 /var/www/nextcloud/apps/fulltextsearch/lib/Command/Test.php(156): OCA\FullTextSearch\Command\Test->testCreatingProvider()
#30 /var/www/nextcloud/3rdparty/symfony/console/Command/Command.php(298): OCA\FullTextSearch\Command\Test->execute()
#31 /var/www/nextcloud/core/Command/Base.php(177): Symfony\Component\Console\Command\Command->run()
#32 /var/www/nextcloud/3rdparty/symfony/console/Application.php(1040): OC\Core\Command\Base->run()
#33 /var/www/nextcloud/3rdparty/symfony/console/Application.php(301): Symfony\Component\Console\Application->doRunCommand()
#34 /var/www/nextcloud/3rdparty/symfony/console/Application.php(171): Symfony\Component\Console\Application->doRun()
#35 /var/www/nextcloud/lib/private/Console/Application.php(211): Symfony\Component\Console\Application->run()
#36 /var/www/nextcloud/console.php(100): OC\Console\Application->run()
#37 /var/www/nextcloud/occ(11): require_once('...')
#38 {main}

from fulltextsearch.

vasyugan avatar vasyugan commented on June 26, 2024

With the latest versions of groupfolder and fulltextsearch on NC 27, I can no longer reproduce the issue.

from fulltextsearch.

joshtrichards avatar joshtrichards commented on June 26, 2024

Closing per author's follow-up as no longer reproducible: #754 (comment)

from fulltextsearch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.