-
Notifications
You must be signed in to change notification settings - Fork 51
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
Nextcloud 28.0.8 app not working with Group Folders #856
Comments
Latest release of groupfolders breaks GroupFoldersService.php #265 from files_fulltextsearch repo actually resolves the issue. The modified file is: declare(strict_types=1); /**
*/ namespace OCA\Files_FullTextSearch\Service; use Exception; class GroupFoldersService {
} |
same for nc 29. |
Nextcloud 28.0.8, fulltextsearch 28.0.1
When both fulltextsearch and Group Folders are enabled, can't login to nextcloud - Internal server error.
occ fulltextsearch:test
.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(), 4 passed in /mnt/ncdata/nextcloud/apps/files_fulltextsearch/lib/Service/GroupFoldersService.php on line 67 and exactly 5 expected in /mnt/ncdata/nextcloud/apps/groupfolders/lib/Folder/FolderManager.php:52
Stack trace:
#0 /mnt/ncdata/nextcloud/apps/files_fulltextsearch/lib/Service/GroupFoldersService.php(67): OCA\GroupFolders\Folder\FolderManager->__construct()
#1 [internal function]: OCA\Files_FullTextSearch\Service\GroupFoldersService->__construct()
#2 /mnt/ncdata/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(83): ReflectionClass->newInstanceArgs()
#3 /mnt/ncdata/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(128): OC\AppFramework\Utility\SimpleContainer->buildClass()
#4 /mnt/ncdata/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(146): OC\AppFramework\Utility\SimpleContainer->resolve()
#5 /mnt/ncdata/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(470): OC\AppFramework\Utility\SimpleContainer->query()
#6 /mnt/ncdata/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(442): OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback()
#7 /mnt/ncdata/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(96): OC\AppFramework\DependencyInjection\DIContainer->query()
#8 [internal function]: OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility{closure}()
#9 /mnt/ncdata/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(83): array_map()
#10 /mnt/ncdata/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(128): OC\AppFramework\Utility\SimpleContainer->buildClass()
#11 /mnt/ncdata/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(146): OC\AppFramework\Utility\SimpleContainer->resolve()
#12 /mnt/ncdata/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(470): OC\AppFramework\Utility\SimpleContainer->query()
#13 /mnt/ncdata/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(442): OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback()
#14 /mnt/ncdata/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(96): OC\AppFramework\DependencyInjection\DIContainer->query()
#15 [internal function]: OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility{closure}()
#16 /mnt/ncdata/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(83): array_map()
#17 /mnt/ncdata/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(128): OC\AppFramework\Utility\SimpleContainer->buildClass()
#18 /mnt/ncdata/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(146): OC\AppFramework\Utility\SimpleContainer->resolve()
#19 /mnt/ncdata/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(470): OC\AppFramework\Utility\SimpleContainer->query()
#20 /mnt/ncdata/nextcloud/lib/private/ServerContainer.php(155): OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback()
#21 /mnt/ncdata/nextcloud/apps/fulltextsearch/lib/Service/ProviderService.php(121): OC\ServerContainer->query()
#22 /mnt/ncdata/nextcloud/apps/fulltextsearch/lib/Service/ProviderService.php(267): OCA\FullTextSearch\Service\ProviderService->loadProvider()
#23 /mnt/ncdata/nextcloud/apps/fulltextsearch/lib/Service/ProviderService.php(238): OCA\FullTextSearch\Service\ProviderService->loadProvidersFromList()
#24 /mnt/ncdata/nextcloud/apps/fulltextsearch/lib/Service/ProviderService.php(101): OCA\FullTextSearch\Service\ProviderService->loadProvidersFromApp()
#25 /mnt/ncdata/nextcloud/apps/fulltextsearch/lib/Service/ProviderService.php(145): OCA\FullTextSearch\Service\ProviderService->loadProviders()
#26 /mnt/ncdata/nextcloud/apps/fulltextsearch/lib/Service/ProviderService.php(199): OCA\FullTextSearch\Service\ProviderService->getProviders()
#27 /mnt/ncdata/nextcloud/apps/fulltextsearch/lib/Command/Test.php(206): OCA\FullTextSearch\Service\ProviderService->getProvider()
#28 /mnt/ncdata/nextcloud/apps/fulltextsearch/lib/Command/Test.php(265): OCA\FullTextSearch\Command\Test->generateMockProvider()
#29 /mnt/ncdata/nextcloud/apps/fulltextsearch/lib/Command/Test.php(156): OCA\FullTextSearch\Command\Test->testCreatingProvider()
#30 /mnt/ncdata/nextcloud/3rdparty/symfony/console/Command/Command.php(298): OCA\FullTextSearch\Command\Test->execute()
#31 /mnt/ncdata/nextcloud/core/Command/Base.php(177): Symfony\Component\Console\Command\Command->run()
#32 /mnt/ncdata/nextcloud/3rdparty/symfony/console/Application.php(1040): OC\Core\Command\Base->run()
#33 /mnt/ncdata/nextcloud/3rdparty/symfony/console/Application.php(301): Symfony\Component\Console\Application->doRunCommand()
#34 /mnt/ncdata/nextcloud/3rdparty/symfony/console/Application.php(171): Symfony\Component\Console\Application->doRun()
#35 /mnt/ncdata/nextcloud/lib/private/Console/Application.php(213): Symfony\Component\Console\Application->run()
#36 /mnt/ncdata/nextcloud/console.php(100): OC\Console\Application->run()
#37 /mnt/ncdata/nextcloud/occ(11): require_once('...')
Disabling Group Folders or Fulltextsearch resolves the Internal server error issue.
Nextcloud log:
{"file":"/mnt/ncdata/nextcloud/index.php","line":39,"function":"handleRequest","class":"OC","type":"::"}],"File":"/mnt/ncdata/nextcloud/apps/groupfolders/lib/Folder/FolderManager.php","Line":52,"message":"Too few arguments to function OCA\GroupFolders\Folder\FolderManager::__construct(), 4 passed in /mnt/ncdata/nextcloud/apps/files_fulltextsearch/lib/Service/GroupFoldersService.php on line 67 and exactly 5 expected","exception":{},"CustomMessage":"Too few arguments to function OCA\GroupFolders\Folder\FolderManager::__construct(), 4 passed in /mnt/ncdata/nextcloud/apps/files_fulltextsearch/lib/Service/GroupFoldersService.php on line 67 and exactly 5 expected"}}
The text was updated successfully, but these errors were encountered: