-
Notifications
You must be signed in to change notification settings - Fork 87
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
Error 500 after updating to latest groupfolders version #3120
Comments
Also happening when upgrading from 17.0.1 to 17.02 on NC 29.0.4 |
yes, was also 17.0.1 to 17.0.2 tought it was 18.0.0 but that was a mistake, now i saw it was indeed 17.0.1 to 17.0.2. i updated my description |
It's already discussed at nextcloud/files_fulltextsearch#265 including a fix. |
Hi! What about updating from 16.0.7 to 16.0.8 at NC28.0.8? Is it also broken similarly? |
Same here. NC 29.0.4 |
Me too. Groupfolders 17.0.2 on NC 29.0.4
|
NC 29.0.4, GroupFolders 17.0.2 - NC not working ... downgrade to GF 17.0.0 |
Same, for now I just disabled it with occ,because there doesnt seem to be a downgrade command This is a Request, wher im not logged in trying to access the login page, when its enabled: d05e9b3643c4:/var/www/html$ php occ log:watch
Error index ArgumentCountError: Too few arguments to function OCA\GroupFolders\Folder\FolderManager::__construct(), 4 passed in 2024-08-17T19:31:30+00:00
/var/www/html/custom_apps/files_fulltextsearch/lib/Service/GroupFoldersService.php on line 67 and exactly 5 expected at .../groupfolders/lib/Folder/FolderManager.php line 52
0. custom_apps/files_fulltextsearch/lib/Service/GroupFoldersService.php line 67
OCA\GroupFolders\Folder\FolderManager->__construct(
["OC\\DB\\ConnectionAdapter"],
["OC\\Group\\Manager"],
["OC\\Files\\Type\\Loader"],
["OC\\AppFramework\\ScopedPsrLogger"]
)
1. <<closure>>
OCA\Files_FullTextSearch\Service\GroupFoldersService->__construct(
["OC\\DB\\ConnectionAdapter"],
["OC\\App\\AppManager"],
["OC\\Files\\Type\\Loader"],
["OC\\Group\\Manager"],
["OCA\\Files_FullTextSearch\\Service\\LocalFilesService"],
["OCA\\Files_FullTextSearch\\Service\\ConfigService",["1","0","0","0","0","And 6 more entries, set ... ]],
["OC\\AppFramework\\ScopedPsrLogger"]
)
2. lib/private/AppFramework/Utility/SimpleContainer.php line 83
ReflectionClass->newInstanceArgs([["OC\\DB\\ConnectionAdapter"],["OC\\App\\AppManager"],["OC\\Files\\Type\\Loader"],["OC\\Group\\Manager"],["OCA\\Files_FullTextSear ... "])
3. lib/private/AppFramework/Utility/SimpleContainer.php line 128
OC\AppFramework\Utility\SimpleContainer->buildClass(["ReflectionClass","OCA\\Files_FullTextSearch\\Service\\GroupFoldersService"])
4. lib/private/AppFramework/Utility/SimpleContainer.php line 146
OC\AppFramework\Utility\SimpleContainer->resolve("OCA\\Files_FullTextSearch\\Service\\GroupFoldersService")
5. lib/private/AppFramework/DependencyInjection/DIContainer.php line 471
OC\AppFramework\Utility\SimpleContainer->query("OCA\\Files_FullTextSearch\\Service\\GroupFoldersService")
6. lib/private/AppFramework/DependencyInjection/DIContainer.php line 443
OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback("OCA\\Files_FullTextSearch\\Service\\GroupFoldersService")
7. lib/private/AppFramework/Utility/SimpleContainer.php line 96
OC\AppFramework\DependencyInjection\DIContainer->query("OCA\\Files_FullTextSearch\\Service\\GroupFoldersService", true)
8. <<closure>>
OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}("*** sensitive parameters replaced ***")
9. lib/private/AppFramework/Utility/SimpleContainer.php line 83
array_map(
["Closure"],
[["ReflectionParameter","container"],["ReflectionParameter","rootFolder"],["ReflectionParameter","appManager"],["ReflectionParameter","userManager"],["Ref ... "]
)
10. lib/private/AppFramework/Utility/SimpleContainer.php line 128
OC\AppFramework\Utility\SimpleContainer->buildClass(["ReflectionClass","OCA\\Files_FullTextSearch\\Service\\FilesService"])
11. lib/private/AppFramework/Utility/SimpleContainer.php line 146
OC\AppFramework\Utility\SimpleContainer->resolve("OCA\\Files_FullTextSearch\\Service\\FilesService")
12. lib/private/AppFramework/DependencyInjection/DIContainer.php line 471
OC\AppFramework\Utility\SimpleContainer->query("OCA\\Files_FullTextSearch\\Service\\FilesService")
13. lib/private/AppFramework/DependencyInjection/DIContainer.php line 443
OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback("OCA\\Files_FullTextSearch\\Service\\FilesService")
14. lib/private/AppFramework/Utility/SimpleContainer.php line 96
OC\AppFramework\DependencyInjection\DIContainer->query("OCA\\Files_FullTextSearch\\Service\\FilesService", true)
15. <<closure>>
OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}("*** sensitive parameters replaced ***")
16. lib/private/AppFramework/Utility/SimpleContainer.php line 83
array_map(
["Closure"],
[["ReflectionParameter","l10n"],["ReflectionParameter","configService"],"*** sensitive parameters replaced ***",["ReflectionParameter","searchService"],[" ... "]
)
17. lib/private/AppFramework/Utility/SimpleContainer.php line 128
OC\AppFramework\Utility\SimpleContainer->buildClass(["ReflectionClass","OCA\\Files_FullTextSearch\\Provider\\FilesProvider"])
18. lib/private/AppFramework/Utility/SimpleContainer.php line 146
OC\AppFramework\Utility\SimpleContainer->resolve("OCA\\Files_FullTextSearch\\Provider\\FilesProvider")
19. lib/private/AppFramework/DependencyInjection/DIContainer.php line 471
OC\AppFramework\Utility\SimpleContainer->query("OCA\\Files_FullTextSearch\\Provider\\FilesProvider")
20. lib/private/ServerContainer.php line 155
OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback("OCA\\Files_FullTextSearch\\Provider\\FilesProvider")
21. custom_apps/fulltextsearch/lib/Service/ProviderService.php line 121
OC\ServerContainer->query("OCA\\Files_FullTextSearch\\Provider\\FilesProvider")
22. custom_apps/fulltextsearch/lib/Service/ProviderService.php line 267
OCA\FullTextSearch\Service\ProviderService->loadProvider("files_fulltextsearch", "OCA\\Files_FullTextSearch\\Provider\\FilesProvider")
23. custom_apps/fulltextsearch/lib/Service/ProviderService.php line 238
OCA\FullTextSearch\Service\ProviderService->loadProvidersFromList("files_fulltextsearch", ["OCA\\Files_FullTextSearch\\Provider\\FilesProvider"])
24. custom_apps/fulltextsearch/lib/Service/ProviderService.php line 101
OCA\FullTextSearch\Service\ProviderService->loadProvidersFromApp("files_fulltextsearch")
25. custom_apps/fulltextsearch/lib/Service/ProviderService.php line 155
OCA\FullTextSearch\Service\ProviderService->loadProviders(
)
26. custom_apps/fulltextsearch/lib/Capabilities.php line 80
OCA\FullTextSearch\Service\ProviderService->getConfiguredProviders(
)
27. lib/private/CapabilitiesManager.php line 74
OCA\FullTextSearch\Capabilities->getCapabilities(
)
28. lib/private/Template/JSConfigHelper.php line 157
OC\CapabilitiesManager->getCapabilities(false, true)
29. lib/private/TemplateLayout.php line 266
OC\Template\JSConfigHelper->getConfig(
)
30. lib/private/legacy/OC_Template.php line 145
OC\TemplateLayout->__construct("guest", "core")
31. lib/public/AppFramework/Http/TemplateResponse.php line 211
OC_Template->fetchPage([[],"Login"])
32. lib/private/AppFramework/Http/Dispatcher.php line 183
OCP\AppFramework\Http\TemplateResponse->render(
)
33. lib/private/AppFramework/App.php line 184
OC\AppFramework\Http\Dispatcher->dispatch(["OC\\Core\\Controller\\LoginController"], "showLoginForm")
34. lib/private/Route/Router.php line 338
OC\AppFramework\App::main("OC\\Core\\Controller\\LoginController", "showLoginForm", ["OC\\AppFramework\\DependencyInjection\\DIContainer"], ["core.login.showloginform"])
35. lib/base.php line 1050
OC\Route\Router->match("\/login")
36. index.php line 49
OC::handleRequest(
) |
Same problem here: updated groupfolders from 17.0.1 to 17.0.2 via Webupdater on NC 29.0.4. What to do? Thanks in advance! Best regards, |
Just apply the patch from nextcloud/files_fulltextsearch#265 as mentioned above. |
so this plugins isnt the source of problem, but the search? |
Remove groupfolders.
Download groupfolders v 17.0.0 from home page.
Untar to /var/www/nextcloud/apps
Change owner to www-data
Enable groupfolders
На 18 авг. 2024 г., 16:34, в 16:34, cibomato ***@***.***> написал:п>Same problem here: updated groupfolders from 17.0.1 to 17.0.2 via
…Webupdater on NC 29.0.4.
Afterwards NC isn't accessible any longer!
Aftre disabling via occ app:disable groupfolders NC works again, but I
need groupfolders! So I tried to activate and update it via occ but NC
vanishes again....
What to do?
Is there a possibility to downgrade groupfolders to 17.0.1?
Or any other solution?
Thanks in advance! Best regards,
Jochen
--
Reply to this email directly or view it on GitHub:
#3120 (comment)
You are receiving this because you commented.
Message ID: ***@***.***>
|
Well, both. |
I applied the patch as described above and it works now with groupfolders 17.0.2. Hope that it isn't just a workaround but consistent after future updates. |
If the full-text search app developers incorporate the patch (or any equivalent fix) into the next version, there won't be a problem again. Otherwise, if the next version of the full-text search app does not include the fix, as soon as we get the update, the error will re-appear, as the patched files will get overridden. |
The fact that last release of fulltextsearch was in 2022 and there is still no PR to address the is rather worrying. |
Yes 👍
This is currently being looked into by @sorbaugh and @ArtificialOwl 👍 |
Looks like fulltextsearch and fulltextsearch_files provided new released 29.0.1 and they work together with groupfolders 17.0.2 - the issue is thereby resolved, I guess. |
Working : fulltextsearch_files v28.0.1 Thanks |
Seems it was fixed with nextcloud/files_fulltextsearch#266 Closing. |
Steps to reproduce
visting any page results in error 500
Expected behaviour
Nextcloud should work.
Actual behaviour
Visting any page will result in Error 500.
Server configuration
Nextcloud AIO v9.4.1
Nextcloud version: (see Nextcloud admin page)
29.0.4
Group folders version:
17.0.2
Updated from an older Nextcloud/ownCloud or fresh install:
Updated from previous Nextcloud AIO Versions
Where did you install Nextcloud from:
Official Docker
Are you using external storage, if yes which one: local/s3/smb/sftp/...
No
Are you using encryption: yes/no
No
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/Saml/...
No
Client configuration
Browser:
Any browser
Logs
`Error no app in context Exception: Too few arguments to function 2024-08-16T18:53:27+00:00
OCA\GroupFolders\Folder\FolderManager::__construct(), 4 passed in
/var/www/html/custom_apps/files_fulltextsearch/lib/Service/GroupFoldersService.php on
line 67 and exactly 5 expected in file
'/var/www/html/custom_apps/groupfolders/lib/Folder/FolderManager.php' line 52 at
lib/private/AppFramework/Http/Dispatcher.php line 170
`
The text was updated successfully, but these errors were encountered: