Problem
After upgrading to version 27.0.1 from 26.0.4 I get an error when I see the files overview saying something like this folder is unavailable - check logs or contact administrator. When i visit administration settings I get an internal server error. You see the error from the log below. Any idea how to fix it?
Nextcloud: 27.0.1
Operating system and version (eg, Ubuntu 20.04): Ubuntu 22.04.2 LTS
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.52 (Ubuntu)
PHP version (eg, 7.4): PHP 8.1.2-1ubuntu2.13
{
"reqId": "J7Pmnhvk8UTBw16HeRRB",
"level": 3,
"time": "2023-07-24T17:40:38+00:00",
"remoteAddr": "37.97.28.204",
"user": "admin",
"app": "index",
"method": "GET",
"url": "/settings/admin/overview",
"message": "Undefined constant OCA\\GroupFolders\\AppInfo\\Application::APP_ID in file '/var/www/html/apps/groupfolders/lib/Settings/Section.php' line 41",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0 Unique/100.7.4796.97",
"version": "27.0.1.2",
"exception": {
"Exception": "Exception",
"Message": "Undefined constant OCA\\GroupFolders\\AppInfo\\Application::APP_ID in file '/var/www/html/apps/groupfolders/lib/Settings/Section.php' line 41",
"Code": 0,
"Trace": [{
"file": "/var/www/html/lib/private/AppFramework/App.php",
"line": 183,
"function": "dispatch",
"class": "OC\\AppFramework\\Http\\Dispatcher",
"type": "->"
}, {
"file": "/var/www/html/lib/private/Route/Router.php",
"line": 315,
"function": "main",
"class": "OC\\AppFramework\\App",
"type": "::"
}, {
"file": "/var/www/html/lib/base.php",
"line": 1071,
"function": "match",
"class": "OC\\Route\\Router",
"type": "->"
}, {
"file": "/var/www/html/index.php",
"line": 36,
"function": "handleRequest",
"class": "OC",
"type": "::"
}
],
"File": "/var/www/html/lib/private/AppFramework/Http/Dispatcher.php",
"Line": 169,
"Previous": {
"Exception": "Error",
"Message": "Undefined constant OCA\\GroupFolders\\AppInfo\\Application::APP_ID",
"Code": 0,
"Trace": [{
"file": "/var/www/html/lib/private/Settings/Manager.php",
"line": 136,
"function": "getID",
"class": "OCA\\GroupFolders\\Settings\\Section",
"type": "->"
}, {
"file": "/var/www/html/lib/private/Settings/Manager.php",
"line": 242,
"function": "getSections",
"class": "OC\\Settings\\Manager",
"type": "->"
}, {
"file": "/var/www/html/apps/settings/lib/Controller/CommonSettingsTrait.php",
"line": 116,
"function": "getAdminSections",
"class": "OC\\Settings\\Manager",
"type": "->"
}, {
"file": "/var/www/html/apps/settings/lib/Controller/CommonSettingsTrait.php",
"line": 67,
"function": "formatAdminSections",
"class": "OCA\\Settings\\Controller\\AdminSettingsController",
"type": "->"
}, {
"file": "/var/www/html/apps/settings/lib/Controller/CommonSettingsTrait.php",
"line": 148,
"function": "getNavigationParameters",
"class": "OCA\\Settings\\Controller\\AdminSettingsController",
"type": "->"
}, {
"file": "/var/www/html/apps/settings/lib/Controller/AdminSettingsController.php",
"line": 68,
"function": "getIndexResponse",
"class": "OCA\\Settings\\Controller\\AdminSettingsController",
"type": "->"
}, {
"file": "/var/www/html/lib/private/AppFramework/Http/Dispatcher.php",
"line": 230,
"function": "index",
"class": "OCA\\Settings\\Controller\\AdminSettingsController",
"type": "->"
}, {
"file": "/var/www/html/lib/private/AppFramework/Http/Dispatcher.php",
"line": 137,
"function": "executeController",
"class": "OC\\AppFramework\\Http\\Dispatcher",
"type": "->"
}, {
"file": "/var/www/html/lib/private/AppFramework/App.php",
"line": 183,
"function": "dispatch",
"class": "OC\\AppFramework\\Http\\Dispatcher",
"type": "->"
}, {
"file": "/var/www/html/lib/private/Route/Router.php",
"line": 315,
"function": "main",
"class": "OC\\AppFramework\\App",
"type": "::"
}, {
"file": "/var/www/html/lib/base.php",
"line": 1071,
"function": "match",
"class": "OC\\Route\\Router",
"type": "->"
}, {
"file": "/var/www/html/index.php",
"line": 36,
"function": "handleRequest",
"class": "OC",
"type": "::"
}
],
"File": "/var/www/html/apps/groupfolders/lib/Settings/Section.php",
"Line": 41
},
"CustomMessage": "--"
}
}