ArgumentCountError with GroupFolders\Versions\VersionsBackend
voidzero opened this issue · comments
How to use GitHub
- Please use the 👍 reaction to show that you are affected by the same issue.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
Server configuration
Operating system: NixOS 23.11
Web server: Nginx
Database: PostgresQL
PHP version: 8.2
Nextcloud version: Nextcloud Hub 8 (29.0.1)
Group folders version: 17.0.0
Updated from an older Nextcloud/ownCloud or fresh install: Upgrade path since Nextcloud Hub 6
Installed NextCloud from: webbased installer
Client configuration
Not applicable
Logs
In my logs I am getting a whole bunch of these:
[no app in context] Fatal: Could not boot files_versions: Too few arguments to function OCA\GroupFolders\Versions\VersionsBackend::__construct(), 7 passed in «PATH»/www/apps/groupfolders/lib/AppInfo/Application.php on line 153 and exactly 8 expected
Long version:
{"reqId":"naJeRMynrn7ZbqS3yjmX","level":4,"time":"2024-05-24T21:23:48+00:00","remoteAddr":"89.188.20.100","user":"--","app":"no app in context","method":"GET","url":"/remote.php/dav/","message":"Could not boot files_versions: Too few arguments to function OCA\\GroupFolders\\Versions\\VersionsBackend::__construct(), 7 passed in «PATH»/www/apps/groupfolders/lib/AppInfo/Application.php on line 153 and exactly 8 expected","userAgent":"Nextcloud Server Crawler","version":"29.0.0.19","exception":{"Exception":"ArgumentCountError","Message":"Too few arguments to function OCA\\GroupFolders\\Versions\\VersionsBackend::__construct(), 7 passed in «PATH»/www/apps/groupfolders/lib/AppInfo/Application.php on line 153 and exactly 8 expected","Code":0,"Trace":[{"file":"«PATH»/www/apps/groupfolders/lib/AppInfo/Application.php","line":153,"function":"__construct","class":"OCA\\GroupFolders\\Versions\\VersionsBackend","type":"->"},{"file":"«PATH»/www/lib/private/AppFramework/Utility/SimpleContainer.php","line":175,"function":"OCA\\GroupFolders\\AppInfo\\{closure}","class":"OCA\\GroupFolders\\AppInfo\\Application","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"«PATH»/www/3rdparty/pimple/pimple/src/Pimple/Container.php","line":122,"function":"OC\\AppFramework\\Utility\\{closure}","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"«PATH»/www/lib/private/AppFramework/Utility/SimpleContainer.php","line":142,"function":"offsetGet","class":"Pimple\\Container","type":"->"},{"file":"«PATH»/www/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":464,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"«PATH»/www/lib/private/ServerContainer.php","line":155,"function":"queryNoFallback","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->"},{"file":"«PATH»/www/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":445,"function":"query","class":"OC\\ServerContainer","type":"->"},{"file":"«PATH»/www/lib/private/AppFramework/Utility/SimpleContainer.php","line":64,"function":"query","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->"},{"file":"«PATH»/www/apps/files_versions/lib/AppInfo/Application.php","line":161,"function":"get","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"«PATH»/www/apps/files_versions/lib/AppInfo/Application.php","line":144,"function":"loadBackend","class":"OCA\\Files_Versions\\AppInfo\\Application","type":"->"},{"file":"«PATH»/www/lib/private/AppFramework/Bootstrap/FunctionInjector.php","line":45,"function":"registerVersionBackends","class":"OCA\\Files_Versions\\AppInfo\\Application","type":"->"},{"file":"«PATH»/www/lib/private/AppFramework/Bootstrap/BootContext.php","line":50,"function":"injectFn","class":"OC\\AppFramework\\Bootstrap\\FunctionInjector","type":"->"},{"file":"«PATH»/www/apps/files_versions/lib/AppInfo/Application.php","line":134,"function":"injectFn","class":"OC\\AppFramework\\Bootstrap\\BootContext","type":"->"},{"file":"«PATH»/www/lib/private/AppFramework/Bootstrap/Coordinator.php","line":200,"function":"boot","class":"OCA\\Files_Versions\\AppInfo\\Application","type":"->"},{"file":"«PATH»/www/lib/private/App/AppManager.php","line":437,"function":"bootApp","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->"},{"file":"«PATH»/www/lib/private/App/AppManager.php","line":216,"function":"loadApp","class":"OC\\App\\AppManager","type":"->"},{"file":"«PATH»/www/lib/private/legacy/OC_App.php","line":128,"function":"loadApps","class":"OC\\App\\AppManager","type":"->"},{"file":"«PATH»/www/apps/dav/lib/AppInfo/Application.php","line":220,"function":"loadApps","class":"OC_App","type":"::"},{"file":"«PATH»/www/lib/private/AppFramework/Bootstrap/Coordinator.php","line":200,"function":"boot","class":"OCA\\DAV\\AppInfo\\Application","type":"->"},{"file":"«PATH»/www/lib/private/App/AppManager.php","line":437,"function":"bootApp","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->"},{"file":"«PATH»/www/lib/private/App/AppManager.php","line":216,"function":"loadApp","class":"OC\\App\\AppManager","type":"->"},{"file":"«PATH»/www/lib/private/legacy/OC_App.php","line":128,"function":"loadApps","class":"OC\\App\\AppManager","type":"->"},{"file":"«PATH»/www/remote.php","line":157,"function":"loadApps","class":"OC_App","type":"::"}],"File":"«PATH»/www/apps/groupfolders/lib/Versions/VersionsBackend.php","Line":52,"message":"Could not boot files_versions: Too few arguments to function OCA\\Group
I hope I sanitized these correctly 😄
Thank you
I just checked again, and the log entries are no longer visible in Administration -> Logging. Maybe this problem got fixed after a cron run? As I have nothing to go by anymore, I'll close the bug.