nextcloud / groupfolders

๐Ÿ“๐Ÿ‘ฉโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ Admin-configured folders shared by everyone in a group. https://github.com/nextcloud-releases/groupfolders
https://apps.nextcloud.com/apps/groupfolders
273 stars 83 forks source link

Could not boot files_trashbin: Too few arguments to function OCA\GroupFolders\Versions\VersionsBackend::__construct() #2971

Open nooblag opened 1 month ago

nooblag commented 1 month ago

How to use GitHub

Steps to reproduce

  1. Upgrade to Nextcloud 29.0.1
[no app in context] Fatal: Could not boot files_trashbin: Too few arguments to function OCA\GroupFolders\Versions\VersionsBackend::__construct(), 7 passed in /var/www/nextcloud/apps/groupfolders/lib/AppInfo/Application.php on line 153 and exactly 8 expected

Server configuration

Operating system: Ubuntu 22.04.4 LTS

Web server: nginx/1.18.0 (Ubuntu)

Database: mariadb Ver 15.1 Distrib 10.6.16-MariaDB, for debian-linux-gnu (x86_64) using EditLine wrapper

PHP version: PHP 8.2.19 (cli) (built: May 23 2024 12:34:42) (NTS)

Nextcloud version: (see Nextcloud admin page) 29.0.1

Group folders version: 17.0.0

Updated from an older Nextcloud/ownCloud or fresh install: 28.0.5

Where did you install Nextcloud from: nextcloud.com

Are you using external storage, if yes which one: local/s3/smb/sftp/... None

Are you using encryption: yes/no No

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/Saml/... No

Logs

Nextcloud log (data/nextcloud.log)

Nextcloud log ``` {"reqId":"Yr6mu8LfP8DA4EqIQlNX","level":4,"time":"2024-05-27T03:21:33+10:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"xxxxxx","app":"no app in context","method":"GET","url":"/apps/logreader/api/poll?lastReqId=3opb5woZKQZqusjEhfSs","message":"Could not boot files_trashbin: Too few arguments to function OCA\\GroupFolders\\Versions\\VersionsBackend::__construct(), 7 passed in /var/www/nextcloud/apps/groupfolders/lib/AppInfo/Application.php on line 153 and exactly 8 expected","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0","version":"29.0.1.1","exception":{"Exception":"ArgumentCountError","Message":"Too few arguments to function OCA\\GroupFolders\\Versions\\VersionsBackend::__construct(), 7 passed in /var/www/nextcloud/apps/groupfolders/lib/AppInfo/Application.php on line 153 and exactly 8 expected","Code":0,"Trace":[{"file":"/var/www/nextcloud/apps/groupfolders/lib/AppInfo/Application.php","line":153,"function":"__construct","class":"OCA\\GroupFolders\\Versions\\VersionsBackend","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":175,"function":"OCA\\GroupFolders\\AppInfo\\{closure}","class":"OCA\\GroupFolders\\AppInfo\\Application","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/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":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":142,"function":"offsetGet","class":"Pimple\\Container","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":464,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":442,"function":"queryNoFallback","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":64,"function":"query","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->"},{"file":"/var/www/nextcloud/apps/groupfolders/lib/AppInfo/Application.php","line":147,"function":"get","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":175,"function":"OCA\\GroupFolders\\AppInfo\\{closure}","class":"OCA\\GroupFolders\\AppInfo\\Application","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/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":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":142,"function":"offsetGet","class":"Pimple\\Container","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":464,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/ServerContainer.php","line":155,"function":"queryNoFallback","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":445,"function":"query","class":"OC\\ServerContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":64,"function":"query","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->"},{"file":"/var/www/nextcloud/apps/files_trashbin/lib/AppInfo/Application.php","line":94,"function":"get","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Bootstrap/FunctionInjector.php","line":45,"function":"registerTrashBackends","class":"OCA\\Files_Trashbin\\AppInfo\\Application","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Bootstrap/BootContext.php","line":50,"function":"injectFn","class":"OC\\AppFramework\\Bootstrap\\FunctionInjector","type":"->"},{"file":"/var/www/nextcloud/apps/files_trashbin/lib/AppInfo/Application.php","line":72,"function":"injectFn","class":"OC\\AppFramework\\Bootstrap\\BootContext","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php","line":200,"function":"boot","class":"OCA\\Files_Trashbin\\AppInfo\\Application","type":"->"},{"file":"/var/www/nextcloud/lib/private/App/AppManager.php","line":437,"function":"bootApp","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->"},{"file":"/var/www/nextcloud/lib/private/App/AppManager.php","line":216,"function":"loadApp","class":"OC\\App\\AppManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":128,"function":"loadApps","class":"OC\\App\\AppManager","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/AppInfo/Application.php","line":220,"function":"loadApps","class":"OC_App","type":"::"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php","line":200,"function":"boot","class":"OCA\\DAV\\AppInfo\\Application","type":"->"},{"file":"/var/www/nextcloud/lib/private/App/AppManager.php","line":437,"function":"bootApp","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->"},{"file":"/var/www/nextcloud/lib/private/App/AppManager.php","line":216,"function":"loadApp","class":"OC\\App\\AppManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":128,"function":"loadApps","class":"OC\\App\\AppManager","type":"->"},{"file":"/var/www/nextcloud/lib/base.php","line":1030,"function":"loadApps","class":"OC_App","type":"::"},{"file":"/var/www/nextcloud/index.php","line":49,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/apps/groupfolders/lib/Versions/VersionsBackend.php","Line":52,"message":"Could not boot files_trashbin: Too few arguments to function OCA\\GroupFolders\\Versions\\VersionsBackend::__construct(), 7 passed in /var/www/nextcloud/apps/groupfolders/lib/AppInfo/Application.php on line 153 and exactly 8 expected","exception":[],"CustomMessage":"Could not boot files_trashbin: Too few arguments to function OCA\\GroupFolders\\Versions\\VersionsBackend::__construct(), 7 passed in /var/www/nextcloud/apps/groupfolders/lib/AppInfo/Application.php on line 153 and exactly 8 expected"},"id":"66536f9d662cc"} ```
ewuewu commented 1 month ago

... same Problem here

Similar configuration like above except Apache fpm php 8.1.2 mariadb 10.6.16

MFredMx commented 1 month ago

Same problem here Same configuration except OS: Ubuntu 20.04.1 Apache fpm php 8.1.28 mysql 8.0.36

MFredMx commented 4 weeks ago

Resolved for me as of NC 29.0.2 and Groupfolders 17.0.1

antonol68 commented 4 weeks ago

It's not resolved in NC 29.0.2 and Groupfolders 17.0.1

MFredMx commented 3 weeks ago

It's not resolved in NC 29.0.2 and Groupfolders 17.0.1

I just said, that I - personally - have no problems with it anymore

simonflutilliant commented 2 weeks ago

Same here. NC 29.0.2 Group Folders 17.0.1 PHP 8.2 (fpm) Mariadb 15.1

itdating commented 1 week ago

update to NC 29.0.3

Raito00 commented 1 week ago

Same here. NC 29.0.3 Group Folders 17.0.1 PHP: 8.1.2 PostgreSQL 14.12