You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After updating to current versions of server and apps, there was a recommendation to update php to at least 8.1. I updated to 8.2 and when trying to do a groupfolders scan, I get the following exception.
# sudo -u nginx php /var/www/nextcloud/occ groupfolders:scan 1
The current PHP memory limit is below the recommended value of 512MB.
An unhandled exception has been thrown:
TypeError: OCA\GroupFolders\ACL\ACLManagerFactory::getACLManager(): Argument nextcloud/server#1 ($user) must be of type OCP\IUser, null given, called in /var/www/nextcloud/apps/groupfolders/lib/Mount/MountProvider.php on line 206 and defined in /var/www/nextcloud/apps/groupfolders/lib/ACL/ACLManagerFactory.php:37
Stack trace:
#0 /var/www/nextcloud/apps/groupfolders/lib/Mount/MountProvider.php(206): OCA\GroupFolders\ACL\ACLManagerFactory->getACLManager()
nextcloud/server#1 /var/www/nextcloud/apps/groupfolders/lib/Command/Scan.php(82): OCA\GroupFolders\Mount\MountProvider->getMount()
nextcloud/server#2 /var/www/nextcloud/3rdparty/symfony/console/Command/Command.php(298): OCA\GroupFolders\Command\Scan->execute()
nextcloud/server#3 /var/www/nextcloud/core/Command/Base.php(177): Symfony\Component\Console\Command\Command->run()
nextcloud/server#4 /var/www/nextcloud/3rdparty/symfony/console/Application.php(1040): OC\Core\Command\Base->run()
nextcloud/server#5 /var/www/nextcloud/3rdparty/symfony/console/Application.php(301): Symfony\Component\Console\Application->doRunCommand()
nextcloud/server#6 /var/www/nextcloud/3rdparty/symfony/console/Application.php(171): Symfony\Component\Console\Application->doRun()
nextcloud/server#7 /var/www/nextcloud/lib/private/Console/Application.php(211): Symfony\Component\Console\Application->run()
nextcloud/server#8 /var/www/nextcloud/console.php(100): OC\Console\Application->run()
nextcloud/server#9 /var/www/nextcloud/occ(11): require_once('...')
nextcloud/server#10 {main}[root@valinor Storage]#
Steps to reproduce
run sudo -u nginx php /var/www/nextcloud/occ groupfolders:scan 1
Expected behavior
proper scan of files in group folder
Installation method
Community Web installer on a VPS or web space
Nextcloud Server version
27
Operating system
RHEL/CentOS
PHP engine version
PHP 8.2
Web server
Nginx
Database engine version
PostgreSQL
Is this bug present after an update or on a fresh install?
Upgraded to a MAJOR version (ex. 22 to 23)
Are you using the Nextcloud Server Encryption module?
Integrity checker has been disabled. Integrity cannot be verified.
Nextcloud Logs
{"reqId":"MwYItEPMSxz51xr1HTq0","level":0,"time":"2023-07-18T18:45:29+00:00","remoteAddr":"10.211.1.114","user":"nextcloud_admin","app":"files_mindmap","method":"POST","url":"/apps/phonetrack/track","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0","version":"27.0.0.8","data":{"app":"files_mindmap"}}
{"reqId":"eQXKJcQZ95wKBvjyCSBM","level":0,"time":"2023-07-18T18:45:35+00:00","remoteAddr":"10.211.1.114","user":"nextcloud_admin","app":"files_mindmap","method":"GET","url":"/apps/files/api/v1/stats","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0","version":"27.0.0.8","data":{"app":"files_mindmap"}}
{"reqId":"UlCvY650Z6MYlxHOd482","level":0,"time":"2023-07-18T18:45:36+00:00","remoteAddr":"10.211.1.114","user":"nextcloud_admin","app":"files_mindmap","method":"PUT","url":"/ocs/v2.php/apps/user_status/api/v1/heartbeat?format=json","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0","version":"27.0.0.8","data":{"app":"files_mindmap"}}
{"reqId":"n0XzZqbttBgJMSEb4cPj","level":0,"time":"2023-07-18T18:45:44+00:00","remoteAddr":"10.211.1.114","user":"nextcloud_admin","app":"files_mindmap","method":"POST","url":"/apps/phonetrack/track","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0","version":"27.0.0.8","data":{"app":"files_mindmap"}}
{"reqId":"1a7o2sXAKRp9fbYFa4SX","level":1,"time":"2023-07-18T18:45:55+00:00","remoteAddr":"213.109.202.66","user":"--","app":"core","method":"GET","url":"/actuator/gateway/routes","message":"Trusted domain error. \"213.109.202.66\" tried to access using \"104.6.176.46:443\" as host.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36","version":"27.0.0.8","data":{"app":"core"}}
{"reqId":"sFO2YLyWQfHmJWwXxeb2","level":0,"time":"2023-07-18T18:45:55+00:00","remoteAddr":"10.211.1.114","user":"nextcloud_admin","app":"files_mindmap","method":"GET","url":"/ocs/v2.php/apps/notifications/api/v2/notifications","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0","version":"27.0.0.8","data":{"app":"files_mindmap"}}
{"reqId":"pia7KhIAOpf6Niw39LaO","level":0,"time":"2023-07-18T18:45:59+00:00","remoteAddr":"10.211.1.114","user":"nextcloud_admin","app":"files_mindmap","method":"POST","url":"/apps/phonetrack/track","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0","version":"27.0.0.8","data":{"app":"files_mindmap"}}
{"reqId":"6z8KotvQaIy6FoxKoM73","level":0,"time":"2023-07-18T18:46:08+00:00","remoteAddr":"10.211.1.15","user":"fdavison","app":"files_mindmap","method":"GET","url":"/ocs/v2.php/apps/user_status/api/v1/user_status?format=json","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows) mirall/3.4.0stable-Win64 (build 20211129) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"27.0.0.8","data":{"app":"files_mindmap"}}
{"reqId":"wOPFSdlymhTxgISqUTUg","level":0,"time":"2023-07-18T18:46:08+00:00","remoteAddr":"10.211.1.15","user":"fdavison","app":"files_mindmap","method":"GET","url":"/ocs/v2.php/apps/notifications/api/v2/notifications?format=json","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows) mirall/3.4.0stable-Win64 (build 20211129) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"27.0.0.8","data":{"app":"files_mindmap"}}
{"reqId":"dJTzMaN1WgUHtNVczVob","level":0,"time":"2023-07-18T18:46:14+00:00","remoteAddr":"10.211.1.114","user":"nextcloud_admin","app":"files_mindmap","method":"POST","url":"/apps/phonetrack/track","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0","version":"27.0.0.8","data":{"app":"files_mindmap"}}
Additional info
No response
The text was updated successfully, but these errors were encountered:
Every 12 hours the cronjob, which is running in the background, sends an email which contains the displayed TypeError message.
I'm using the groupfolders app v14.0.3 on Nextcloud v26.0.3 with PHP v8.1.18.
Bug description
After updating to current versions of server and apps, there was a recommendation to update php to at least 8.1. I updated to 8.2 and when trying to do a groupfolders scan, I get the following exception.
Steps to reproduce
sudo -u nginx php /var/www/nextcloud/occ groupfolders:scan 1
Expected behavior
proper scan of files in group folder
Installation method
Community Web installer on a VPS or web space
Nextcloud Server version
27
Operating system
RHEL/CentOS
PHP engine version
PHP 8.2
Web server
Nginx
Database engine version
PostgreSQL
Is this bug present after an update or on a fresh install?
Upgraded to a MAJOR version (ex. 22 to 23)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
No response
The text was updated successfully, but these errors were encountered: