The other day I successfully updated from 23.0.3 to 23.0.4 and then, also without any difficulties, to 24.0.0. While in 23.0.4 everything behaved as expected. Since updating to 24.0.0 I am locked out of either Talk or Files apps and cannot access user settings.
Once in 24.0.0 I noticed Internal Server Errors when trying to access Files app or Settings. Below are the respective exceptions.
Files app and user settings would load as usual.
Updated to a major version (ex. 22.2.3 to 23.0.1)
{
"system": {
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"localhost",
"www.hub.animorph.coop",
"hub.animorph.coop"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "24.0.0.12",
"overwrite.cli.url": "https:\/\/hub.animorph.coop",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"instanceid": "***REMOVED SENSITIVE VALUE***",
"htaccess.RewriteBase": "\/",
"mail_smtpmode": "smtp",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "25",
"mail_smtpsecure": "",
"mail_smtpauth": "False",
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"mail_smtpauthtype": "",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"maintenance": false,
"loglevel": 2,
"memcache.local": "\\OC\\Memcache\\Memcached",
"app_install_overwrite": [
"drawio",
"keeweb",
"apporder"
],
"updater.release.channel": "beta",
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": "6379"
},
"default_phone_region": "GB",
"theme": ""
}
}
{"reqId":"IQdj0JglAK7Azmz81D8s","level":3,"time":"2022-05-08T14:37:47+00:00","remoteAddr":"82.132.214.142","user":"sz","app":"index","method":"GET","url":"/apps/files/","message":"Call to undefined method OC\\Files\\Node\\File::getFreeSpace() in file '/home/hub/sites/nextcloud/apps/spreed/lib/TInitialState.php' line 130","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:100.0) Gecko/20100101 Firefox/100.0","version":"24.0.0.12","exception":{"Exception":"Exception","Message":"Call to undefined method OC\\Files\\Node\\File::getFreeSpace() in file '/home/hub/sites/nextcloud/apps/spreed/lib/TInitialState.php' line 130","Code":0,"Trace":[{"file":"/home/hub/sites/nextcloud/lib/private/AppFramework/App.php","line":172,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/home/hub/sites/nextcloud/lib/private/Route/Router.php","line":298,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/home/hub/sites/nextcloud/lib/base.php","line":1023,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/home/hub/sites/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/home/hub/sites/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","Line":165,"Previous":{"Exception":"Error","Message":"Call to undefined method OC\\Files\\Node\\File::getFreeSpace()","Code":0,"Trace":[{"file":"/home/hub/sites/nextcloud/apps/spreed/lib/Files/TemplateLoader.php","line":96,"function":"publishInitialStateForUser","class":"OCA\\Talk\\Files\\TemplateLoader","type":"->"},{"file":"/home/hub/sites/nextcloud/lib/private/EventDispatcher/ServiceEventListener.php","line":87,"function":"handle","class":"OCA\\Talk\\Files\\TemplateLoader","type":"->"},{"file":"/home/hub/sites/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":251,"function":"__invoke","class":"OC\\EventDispatcher\\ServiceEventListener","type":"->"},{"file":"/home/hub/sites/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":73,"function":"callListeners","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/home/hub/sites/nextcloud/lib/private/EventDispatcher/EventDispatcher.php","line":88,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/home/hub/sites/nextcloud/lib/private/EventDispatcher/EventDispatcher.php","line":100,"function":"dispatch","class":"OC\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/home/hub/sites/nextcloud/apps/files_sharing/list.php","line":47,"function":"dispatchTyped","class":"OC\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/home/hub/sites/nextcloud/apps/files/lib/Controller/ViewController.php","line":136,"args":["/home/hub/sites/nextcloud/apps/files_sharing/list.php"],"function":"include"},{"file":"/home/hub/sites/nextcloud/apps/files/lib/Controller/ViewController.php","line":276,"function":"renderScript","class":"OCA\\Files\\Controller\\ViewController","type":"->"},{"file":"/home/hub/sites/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":225,"function":"index","class":"OCA\\Files\\Controller\\ViewController","type":"->"},{"file":"/home/hub/sites/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":133,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/home/hub/sites/nextcloud/lib/private/AppFramework/App.php","line":172,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/home/hub/sites/nextcloud/lib/private/Route/Router.php","line":298,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/home/hub/sites/nextcloud/lib/base.php","line":1023,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/home/hub/sites/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/home/hub/sites/nextcloud/apps/spreed/lib/TInitialState.php","Line":130},"CustomMessage":"--"}}
{"reqId":"quEfkdIgviZnwRpPu7rL","level":3,"time":"2022-05-08T15:03:28+00:00","remoteAddr":"82.132.214.142","user":"sz","app":"index","method":"GET","url":"/apps/recommendations/api/recommendations","message":"call_user_func_array() expects parameter 1 to be a valid callback, class 'OC\\Files\\Node\\File' does not have a method 'getRecent' in file '/home/hub/sites/nextcloud/lib/private/Files/Node/LazyFolder.php' line 72","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:100.0) Gecko/20100101 Firefox/100.0","version":"24.0.0.12","exception":{"Exception":"Exception","Message":"call_user_func_array() expects parameter 1 to be a valid callback, class 'OC\\Files\\Node\\File' does not have a method 'getRecent' in file '/home/hub/sites/nextcloud/lib/private/Files/Node/LazyFolder.php' line 72","Code":0,"Trace":[{"file":"/home/hub/sites/nextcloud/lib/private/AppFramework/App.php","line":172,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/home/hub/sites/nextcloud/lib/private/Route/Router.php","line":298,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/home/hub/sites/nextcloud/lib/base.php","line":1023,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/home/hub/sites/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/home/hub/sites/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","Line":165,"Previous":{"Exception":"TypeError","Message":"call_user_func_array() expects parameter 1 to be a valid callback, class 'OC\\Files\\Node\\File' does not have a method 'getRecent'","Code":0,"Trace":[{"file":"/home/hub/sites/nextcloud/lib/private/Files/Node/LazyFolder.php","line":72,"function":"call_user_func_array"},{"file":"/home/hub/sites/nextcloud/lib/private/Files/Node/LazyFolder.php","line":510,"function":"__call","class":"OC\\Files\\Node\\LazyFolder","type":"->"},{"file":"/home/hub/sites/nextcloud/apps/recommendations/lib/Service/RecentlyEditedFilesSource.php","line":69,"function":"getRecent","class":"OC\\Files\\Node\\LazyFolder","type":"->"},{"file":"/home/hub/sites/nextcloud/apps/recommendations/lib/Service/RecommendationService.php","line":90,"function":"getMostRecentRecommendation","class":"OCA\\Recommendations\\Service\\RecentlyEditedFilesSource","type":"->"},{"function":"OCA\\Recommendations\\Service\\{closure}","class":"OCA\\Recommendations\\Service\\RecommendationService","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/home/hub/sites/nextcloud/apps/recommendations/lib/Service/RecommendationService.php","line":91,"function":"array_reduce"},{"file":"/home/hub/sites/nextcloud/apps/recommendations/lib/Controller/RecommendationController.php","line":70,"function":"getRecommendations","class":"OCA\\Recommendations\\Service\\RecommendationService","type":"->"},{"file":"/home/hub/sites/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":225,"function":"index","class":"OCA\\Recommendations\\Controller\\RecommendationController","type":"->"},{"file":"/home/hub/sites/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":133,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/home/hub/sites/nextcloud/lib/private/AppFramework/App.php","line":172,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/home/hub/sites/nextcloud/lib/private/Route/Router.php","line":298,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/home/hub/sites/nextcloud/lib/base.php","line":1023,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/home/hub/sites/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/home/hub/sites/nextcloud/lib/private/Files/Node/LazyFolder.php","Line":72},"CustomMessage":"--"}}
Bug description
The other day I successfully updated from 23.0.3 to 23.0.4 and then, also without any difficulties, to 24.0.0. While in 23.0.4 everything behaved as expected. Since updating to 24.0.0 I am locked out of either Talk or Files apps and cannot access user settings.
Once in 24.0.0 I noticed Internal Server Errors when trying to access Files app or Settings. Below are the respective exceptions.
1. /apps/files:
"Exception","Message":"Call to undefined method OC\\Files\\Node\\File::getFreeSpace() in file '/home/hub/sites/nextcloud/apps/spreed/lib/TInitialState.php'2. /settings/user:
"Exception","Message":"call_user_func_array() expects parameter 1 to be a valid callback, class 'OC\\Files\\Node\\File' does not have a method 'getRecent' in file '/home/hub/sites/nextcloud/lib/private/Files/Node/LazyFolder.php' line 72","Code":0,"Trace":[{"file":"/home/hub/sites/nextcloud/lib/private/AppFramework/App.php","line":172,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"(both log entries in full in 'Nextcloud Logs' section)
When I disabled Talk (spreed) app I was again able to access 1. Files app and use as expected. This does not change behaviour of 2. Settings, which still crashes the server with the exception referenced above.
Steps to reproduce
Expected behavior
Files app and user settings would load as usual.
Installation method
Manual installation
Operating system
Debian/Ubuntu
PHP engine version
PHP 7.4
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Updated to a major version (ex. 22.2.3 to 23.0.1)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
{ "system": { "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "localhost", "www.hub.animorph.coop", "hub.animorph.coop" ], "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "mysql", "version": "24.0.0.12", "overwrite.cli.url": "https:\/\/hub.animorph.coop", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbtableprefix": "oc_", "mysql.utf8mb4": true, "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "installed": true, "instanceid": "***REMOVED SENSITIVE VALUE***", "htaccess.RewriteBase": "\/", "mail_smtpmode": "smtp", "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpport": "25", "mail_smtpsecure": "", "mail_smtpauth": "False", "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***", "mail_smtpauthtype": "", "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_domain": "***REMOVED SENSITIVE VALUE***", "maintenance": false, "loglevel": 2, "memcache.local": "\\OC\\Memcache\\Memcached", "app_install_overwrite": [ "drawio", "keeweb", "apporder" ], "updater.release.channel": "beta", "trusted_proxies": "***REMOVED SENSITIVE VALUE***", "redis": { "host": "***REMOVED SENSITIVE VALUE***", "port": "6379" }, "default_phone_region": "GB", "theme": "" } }List of activated Apps
Nextcloud Signing status
Nextcloud Logs
{"reqId":"IQdj0JglAK7Azmz81D8s","level":3,"time":"2022-05-08T14:37:47+00:00","remoteAddr":"82.132.214.142","user":"sz","app":"index","method":"GET","url":"/apps/files/","message":"Call to undefined method OC\\Files\\Node\\File::getFreeSpace() in file '/home/hub/sites/nextcloud/apps/spreed/lib/TInitialState.php' line 130","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:100.0) Gecko/20100101 Firefox/100.0","version":"24.0.0.12","exception":{"Exception":"Exception","Message":"Call to undefined method OC\\Files\\Node\\File::getFreeSpace() in file '/home/hub/sites/nextcloud/apps/spreed/lib/TInitialState.php' line 130","Code":0,"Trace":[{"file":"/home/hub/sites/nextcloud/lib/private/AppFramework/App.php","line":172,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/home/hub/sites/nextcloud/lib/private/Route/Router.php","line":298,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/home/hub/sites/nextcloud/lib/base.php","line":1023,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/home/hub/sites/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/home/hub/sites/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","Line":165,"Previous":{"Exception":"Error","Message":"Call to undefined method OC\\Files\\Node\\File::getFreeSpace()","Code":0,"Trace":[{"file":"/home/hub/sites/nextcloud/apps/spreed/lib/Files/TemplateLoader.php","line":96,"function":"publishInitialStateForUser","class":"OCA\\Talk\\Files\\TemplateLoader","type":"->"},{"file":"/home/hub/sites/nextcloud/lib/private/EventDispatcher/ServiceEventListener.php","line":87,"function":"handle","class":"OCA\\Talk\\Files\\TemplateLoader","type":"->"},{"file":"/home/hub/sites/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":251,"function":"__invoke","class":"OC\\EventDispatcher\\ServiceEventListener","type":"->"},{"file":"/home/hub/sites/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":73,"function":"callListeners","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/home/hub/sites/nextcloud/lib/private/EventDispatcher/EventDispatcher.php","line":88,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/home/hub/sites/nextcloud/lib/private/EventDispatcher/EventDispatcher.php","line":100,"function":"dispatch","class":"OC\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/home/hub/sites/nextcloud/apps/files_sharing/list.php","line":47,"function":"dispatchTyped","class":"OC\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/home/hub/sites/nextcloud/apps/files/lib/Controller/ViewController.php","line":136,"args":["/home/hub/sites/nextcloud/apps/files_sharing/list.php"],"function":"include"},{"file":"/home/hub/sites/nextcloud/apps/files/lib/Controller/ViewController.php","line":276,"function":"renderScript","class":"OCA\\Files\\Controller\\ViewController","type":"->"},{"file":"/home/hub/sites/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":225,"function":"index","class":"OCA\\Files\\Controller\\ViewController","type":"->"},{"file":"/home/hub/sites/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":133,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/home/hub/sites/nextcloud/lib/private/AppFramework/App.php","line":172,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/home/hub/sites/nextcloud/lib/private/Route/Router.php","line":298,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/home/hub/sites/nextcloud/lib/base.php","line":1023,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/home/hub/sites/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/home/hub/sites/nextcloud/apps/spreed/lib/TInitialState.php","Line":130},"CustomMessage":"--"}} {"reqId":"quEfkdIgviZnwRpPu7rL","level":3,"time":"2022-05-08T15:03:28+00:00","remoteAddr":"82.132.214.142","user":"sz","app":"index","method":"GET","url":"/apps/recommendations/api/recommendations","message":"call_user_func_array() expects parameter 1 to be a valid callback, class 'OC\\Files\\Node\\File' does not have a method 'getRecent' in file '/home/hub/sites/nextcloud/lib/private/Files/Node/LazyFolder.php' line 72","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:100.0) Gecko/20100101 Firefox/100.0","version":"24.0.0.12","exception":{"Exception":"Exception","Message":"call_user_func_array() expects parameter 1 to be a valid callback, class 'OC\\Files\\Node\\File' does not have a method 'getRecent' in file '/home/hub/sites/nextcloud/lib/private/Files/Node/LazyFolder.php' line 72","Code":0,"Trace":[{"file":"/home/hub/sites/nextcloud/lib/private/AppFramework/App.php","line":172,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/home/hub/sites/nextcloud/lib/private/Route/Router.php","line":298,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/home/hub/sites/nextcloud/lib/base.php","line":1023,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/home/hub/sites/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/home/hub/sites/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","Line":165,"Previous":{"Exception":"TypeError","Message":"call_user_func_array() expects parameter 1 to be a valid callback, class 'OC\\Files\\Node\\File' does not have a method 'getRecent'","Code":0,"Trace":[{"file":"/home/hub/sites/nextcloud/lib/private/Files/Node/LazyFolder.php","line":72,"function":"call_user_func_array"},{"file":"/home/hub/sites/nextcloud/lib/private/Files/Node/LazyFolder.php","line":510,"function":"__call","class":"OC\\Files\\Node\\LazyFolder","type":"->"},{"file":"/home/hub/sites/nextcloud/apps/recommendations/lib/Service/RecentlyEditedFilesSource.php","line":69,"function":"getRecent","class":"OC\\Files\\Node\\LazyFolder","type":"->"},{"file":"/home/hub/sites/nextcloud/apps/recommendations/lib/Service/RecommendationService.php","line":90,"function":"getMostRecentRecommendation","class":"OCA\\Recommendations\\Service\\RecentlyEditedFilesSource","type":"->"},{"function":"OCA\\Recommendations\\Service\\{closure}","class":"OCA\\Recommendations\\Service\\RecommendationService","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/home/hub/sites/nextcloud/apps/recommendations/lib/Service/RecommendationService.php","line":91,"function":"array_reduce"},{"file":"/home/hub/sites/nextcloud/apps/recommendations/lib/Controller/RecommendationController.php","line":70,"function":"getRecommendations","class":"OCA\\Recommendations\\Service\\RecommendationService","type":"->"},{"file":"/home/hub/sites/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":225,"function":"index","class":"OCA\\Recommendations\\Controller\\RecommendationController","type":"->"},{"file":"/home/hub/sites/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":133,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/home/hub/sites/nextcloud/lib/private/AppFramework/App.php","line":172,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/home/hub/sites/nextcloud/lib/private/Route/Router.php","line":298,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/home/hub/sites/nextcloud/lib/base.php","line":1023,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/home/hub/sites/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/home/hub/sites/nextcloud/lib/private/Files/Node/LazyFolder.php","Line":72},"CustomMessage":"--"}}Additional info
No response