[Bug]: Class OCA\\Notifications\\AppInfo\\Application not found in file
JustArchi opened this issue · comments
⚠️ This issue respects the following points: ⚠️
- This is a bug, not a question or a configuration/webserver/proxy issue.
- This issue is not already reported on Github OR Nextcloud Community Forum (I've searched it).
- Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- I agree to follow Nextcloud's Code of Conduct.
Bug description
When navigating to https://my.nextcloud.server/settings/user/notifications
I'm getting an error page (translated):
Internal server error
The server was unable to complete the request.
If this happens again, please send the following technical details to the server administrator.
More details can be found in the server log.
Technical details
Remote address: [redacted]
Request ID: B9pCBKZnj4bNGl4STNyb
Information from nextcloud.log
below.
Steps to reproduce
- Navigate to
https://my.nextcloud.server/settings/user/notifications
(after upgrade to latest version)
Expected behavior
Page works like before, it doesn't work after upgrade, but I'm unable to tell if it happened recently or not.
Installation method
Community Web installer on a VPS or web space
Nextcloud Server version
27
Operating system
Debian/Ubuntu
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?
- Default user-backend (database)
- LDAP/ Active Directory
- SSO - SAML
- Other
Configuration report
{
"system": {
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"my.nextcloud.server"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "pgsql",
"version": "27.0.1.2",
"overwrite.cli.url": "https:\/\/my.nextcloud.server",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_smtpmode": "smtp",
"mail_sendmailmode": "smtp",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"default_phone_region": "PL",
"skeletondirectory": "",
"filelocking.enabled": true,
"memcache.local": "\\OC\\Memcache\\APCu",
"memcache.distributed": "\\OC\\Memcache\\Redis",
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 0
},
"maintenance": false,
"theme": "",
"loglevel": 2,
"updater.secret": "***REMOVED SENSITIVE VALUE***"
}
}
List of activated Apps
Enabled:
- activity: 2.19.0
- cloud_federation_api: 1.10.0
- dav: 1.27.0
- federatedfilesharing: 1.17.0
- files: 1.22.0
- files_pdfviewer: 2.8.0
- files_sharing: 1.19.0
- files_trashbin: 1.17.0
- files_versions: 1.20.0
- lookup_server_connector: 1.15.0
- notifications: 2.15.0
- oauth2: 1.15.1
- provisioning_api: 1.17.0
- settings: 1.9.0
- theming: 2.2.0
- twofactor_backupcodes: 1.16.0
- updatenotification: 1.17.0
- viewer: 2.1.0
- workflowengine: 2.9.0
Disabled:
- admin_audit: 1.17.0
- bruteforcesettings: 2.7.0 (installed 2.6.0)
- circles: 27.0.1 (installed 25.0.0)
- comments: 1.17.0 (installed 1.15.0)
- contactsinteraction: 1.8.0 (installed 1.6.0)
- dashboard: 7.7.0 (installed 7.5.0)
- encryption: 2.15.0
- federation: 1.17.0 (installed 1.15.0)
- files_external: 1.19.0
- files_rightclick: 1.6.0 (installed 1.4.0)
- firstrunwizard: 2.16.0 (installed 2.14.0)
- logreader: 2.12.0 (installed 2.10.0)
- nextcloud_announcements: 1.16.0 (installed 1.14.0)
- password_policy: 1.17.0 (installed 1.15.0)
- photos: 2.3.0 (installed 2.0.1)
- privacy: 1.11.0 (installed 1.9.0)
- recommendations: 1.6.0 (installed 1.4.0)
- related_resources: 1.2.0 (installed 1.0.3)
- serverinfo: 1.17.0 (installed 1.15.0)
- sharebymail: 1.17.0 (installed 1.15.0)
- support: 1.10.0 (installed 1.8.0)
- survey_client: 1.15.0 (installed 1.13.0)
- suspicious_login: 5.0.0
- systemtags: 1.17.0 (installed 1.15.0)
- text: 3.8.0 (installed 3.6.0)
- twofactor_totp: 9.0.0
- user_ldap: 1.17.0
- user_status: 1.7.0 (installed 1.5.0)
- weather_status: 1.7.0 (installed 1.5.0)
Nextcloud Signing status
No errors have been found.
Nextcloud Logs
{
"reqId": "B9pCBKZnj4bNGl4STNyb",
"level": 3,
"time": "2023-07-23T11:00:54+00:00",
"remoteAddr": "[redacted]",
"user": "Archi",
"app": "index",
"method": "GET",
"url": "/settings/user/notifications",
"message": "Class \"OCA\\Notifications\\AppInfo\\Application\" not found in file '/home/www-cloud/nextcloud/apps/notifications/lib/Settings/Personal.php' line 106",
"userAgent": "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0",
"version": "27.0.1.2",
"exception": {
"Exception": "Exception",
"Message": "Class \"OCA\\Notifications\\AppInfo\\Application\" not found in file '/home/www-cloud/nextcloud/apps/notifications/lib/Settings/Personal.php' line 106",
"Code": 0,
"Trace": [{
"file": "/home/www-cloud/nextcloud/lib/private/AppFramework/App.php",
"line": 183,
"function": "dispatch",
"class": "OC\\AppFramework\\Http\\Dispatcher",
"type": "->"
}, {
"file": "/home/www-cloud/nextcloud/lib/private/Route/Router.php",
"line": 315,
"function": "main",
"class": "OC\\AppFramework\\App",
"type": "::"
}, {
"file": "/home/www-cloud/nextcloud/lib/base.php",
"line": 1071,
"function": "match",
"class": "OC\\Route\\Router",
"type": "->"
}, {
"file": "/home/www-cloud/nextcloud/index.php",
"line": 36,
"function": "handleRequest",
"class": "OC",
"type": "::"
}],
"File": "/home/www-cloud/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
"Line": 169,
"Previous": {
"Exception": "Error",
"Message": "Class \"OCA\\Notifications\\AppInfo\\Application\" not found",
"Code": 0,
"Trace": [{
"file": "/home/www-cloud/nextcloud/apps/settings/lib/Controller/CommonSettingsTrait.php",
"line": 129,
"function": "getForm",
"class": "OCA\\Notifications\\Settings\\Personal",
"type": "->"
}, {
"file": "/home/www-cloud/nextcloud/apps/settings/lib/Controller/PersonalSettingsController.php",
"line": 73,
"function": "formatSettings",
"class": "OCA\\Settings\\Controller\\PersonalSettingsController",
"type": "->"
}, {
"file": "/home/www-cloud/nextcloud/apps/settings/lib/Controller/CommonSettingsTrait.php",
"line": 149,
"function": "getSettings",
"class": "OCA\\Settings\\Controller\\PersonalSettingsController",
"type": "->"
}, {
"file": "/home/www-cloud/nextcloud/apps/settings/lib/Controller/PersonalSettingsController.php",
"line": 64,
"function": "getIndexResponse",
"class": "OCA\\Settings\\Controller\\PersonalSettingsController",
"type": "->"
}, {
"file": "/home/www-cloud/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
"line": 230,
"function": "index",
"class": "OCA\\Settings\\Controller\\PersonalSettingsController",
"type": "->"
}, {
"file": "/home/www-cloud/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
"line": 137,
"function": "executeController",
"class": "OC\\AppFramework\\Http\\Dispatcher",
"type": "->"
}, {
"file": "/home/www-cloud/nextcloud/lib/private/AppFramework/App.php",
"line": 183,
"function": "dispatch",
"class": "OC\\AppFramework\\Http\\Dispatcher",
"type": "->"
}, {
"file": "/home/www-cloud/nextcloud/lib/private/Route/Router.php",
"line": 315,
"function": "main",
"class": "OC\\AppFramework\\App",
"type": "::"
}, {
"file": "/home/www-cloud/nextcloud/lib/base.php",
"line": 1071,
"function": "match",
"class": "OC\\Route\\Router",
"type": "->"
}, {
"file": "/home/www-cloud/nextcloud/index.php",
"line": 36,
"function": "handleRequest",
"class": "OC",
"type": "::"
}],
"File": "/home/www-cloud/nextcloud/apps/notifications/lib/Settings/Personal.php",
"Line": 106
},
"CustomMessage": "--"
}
}
Additional info
I've redacted URL of the server by using my.nextcloud.server
. I can supply the original URL privately to the developers if needed, but I'm quite sure you won't need it since the error seems like an oversight.
Thank you in advance for looking into this issue!
Weird, now when I navigate back there everything works fine. Could it be some cache issue? I don't know 🤔
I had a similiar issue with the memories app.
In my case a restart of the Docker container did the trick.