-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Notifications API returns 500 error #2069
Comments
Today, suddenly it seems to return 200 OK now instead of 500 error? I still do not know how or why this is now changed. I did see (something unrelated maybe?) in the log later yesterday.. {"reqId":"XRVNFJKQwfio4OBWpLa0","level":4,"time":"2024-09-14T13:00:37+00:00","remoteAddr":"192.168.1.102","user":"--","app":"spreed","method":"GET","url":"/core/ajax/update.php?requesttoken=183jAQFpQpHs3a9zQNSsWxUjte7lBGEqWK%2FM7btuexI%3D%3AkZfTZ2Y%2FFPeg9sgkFr%2FfOnNQ7NqTXQdTE5mmhP4EN3Q%3D","message":"Error during app service registration: There can only be one Talk backend","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0","version":"29.0.7.1","exception":{"Exception":"RuntimeException","Message":"There can only be one Talk backend","Code":0,"Trace":[{"file":"/var/www/nextcloud/html/lib/private/AppFramework/Bootstrap/RegistrationContext.php","line":342,"function":"registerTalkBackend","class":"OC\\AppFramework\\Bootstrap\\RegistrationContext","type":"->"},{"file":"/var/www/nextcloud/html/apps/spreed/lib/AppInfo/Application.php","line":342,"function":"registerTalkBackend","class":"OCP\\AppFramework\\Bootstrap\\IRegistrationContext@anonymous\u0000/var/www/nextcloud/html/lib/private/AppFramework/Bootstrap/RegistrationContext.php:161$de","type":"->"},{"file":"/var/www/nextcloud/html/lib/private/AppFramework/Bootstrap/Coordinator.php","line":99,"function":"register","class":"OCA\\Talk\\AppInfo\\Application","type":"->"},{"file":"/var/www/nextcloud/html/lib/private/AppFramework/Bootstrap/Coordinator.php","line":52,"function":"registerApps","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->"},{"file":"/var/www/nextcloud/html/lib/private/Installer.php","line":95,"function":"runLazyRegistration","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->"},{"file":"/var/www/nextcloud/html/lib/private/legacy/OC_App.php","line":224,"function":"installApp","class":"OC\\Installer","type":"->"},{"file":"/var/www/nextcloud/html/lib/private/Updater.php","line":394,"function":"enable","class":"OC_App","type":"->"},{"file":"/var/www/nextcloud/html/lib/private/Updater.php","line":246,"function":"upgradeAppStoreApps","class":"OC\\Updater","type":"->"},{"file":"/var/www/nextcloud/html/lib/private/Updater.php","line":98,"function":"doUpgrade","class":"OC\\Updater","type":"->"},{"file":"/var/www/nextcloud/html/core/ajax/update.php","line":168,"function":"upgrade","class":"OC\\Updater","type":"->"}],"File":"/var/www/nextcloud/html/lib/private/AppFramework/Bootstrap/RegistrationContext.php","Line":544,"message":"Error during app service registration: There can only be one Talk backend","exception":[],"CustomMessage":"Error during app service registration: There can only be one Talk backend"},"id":"66e6e378e6932"} See to be related to: nextcloud/server#34919 And clicking on the notification icon. I will get the following console error message now (this is bad!!): Uncaught InternalError: too much recursion
m https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
m https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
c https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948:16254
m https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
findIndex self-hosted:325
m https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
c https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
A https://cloud.melroy.org/apps/notifications/js/_plugin-vue2_normalizer-BU0IC95A.chunk.mjs:948
.....
......... |
Ow. I found more logging as well.. This could explain the 500 error on the Notification v2 API end-point: {"reqId":"XRVNFJKQwfio4OBWpLa0","level":0,"time":"2024-09-14T13:00:10+00:00","remoteAddr":"192.168.1.102","user":"--","app":"no app in context","method":"GET","url":"/core/ajax/update.php?requesttoken=183jAQFpQpHs3a9zQNSsWxUjte7lBGEqWK%2FM7btuexI%3D%3AkZfTZ2Y%2FFPeg9sgkFr%2FfOnNQ7NqTXQdTE5mmhP4EN3Q%3D","message":"dirty table reads: SELECT `id` FROM `*PREFIX*jobs` WHERE (`class` = :dcValue1) AND (`argument_hash` = :dcValue2) LIMIT 1","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0","version":"29.0.7.1","exception":{"Exception":"Exception","Message":"dirty table reads: SELECT `id` FROM `*PREFIX*jobs` WHERE (`class` = :dcValue1) AND (`argument_hash` = :dcValue2) LIMIT 1","Code":0,"Trace":[{"file":"/var/www/nextcloud/html/lib/private/DB/ConnectionAdapter.php","line":50,"function":"executeQuery","class":"OC\\DB\\Connection","type":"->"},{"file":"/var/www/nextcloud/html/lib/private/DB/QueryBuilder/QueryBuilder.php","line":272,"function":"executeQuery","class":"OC\\DB\\ConnectionAdapter","type":"->"},{"file":"/var/www/nextcloud/html/lib/private/BackgroundJob/JobList.php","line":127,"function":"executeQuery","class":"OC\\DB\\QueryBuilder\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/html/lib/private/BackgroundJob/JobList.php","line":47,"function":"has","class":"OC\\BackgroundJob\\JobList","type":"->"},{"file":"/var/www/nextcloud/html/lib/private/legacy/OC_App.php","line":803,"function":"add","class":"OC\\BackgroundJob\\JobList","type":"->"},{"file":"/var/www/nextcloud/html/lib/private/legacy/OC_App.php","line":744,"function":"setupBackgroundJobs","class":"OC_App","type":"::"},{"file":"/var/www/nextcloud/html/lib/private/Updater.php","line":323,"function":"updateApp","class":"OC_App","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/html/lib/private/Updater.php","line":234,"function":"doAppUpgrade","class":"OC\\Updater","type":"->"},{"file":"/var/www/nextcloud/html/lib/private/Updater.php","line":98,"function":"doUpgrade","class":"OC\\Updater","type":"->"},{"file":"/var/www/nextcloud/html/core/ajax/update.php","line":168,"function":"upgrade","class":"OC\\Updater","type":"->"}],"File":"/var/www/nextcloud/html/lib/private/DB/Connection.php","Line":402,"message":"dirty table reads: SELECT `id` FROM `*PREFIX*jobs` WHERE (`class` = :dcValue1) AND (`argument_hash` = :dcValue2) LIMIT 1","tables":["oc_migrations","oc_jobs","oc_appconfig","oc_preferences","oc_calendars","oc_properties"],"reads":["oc_jobs"],"exception":{},"CustomMessage":"dirty table reads: SELECT `id` FROM `*PREFIX*jobs` WHERE (`class` = :dcValue1) AND (`argument_hash` = :dcValue2) LIMIT 1"}}
{"reqId":"XRVNFJKQwfio4OBWpLa0","level":0,"time":"2024-09-14T13:00:10+00:00","remoteAddr":"192.168.1.102","user":"--","app":"no app in context","method":"GET","url":"/core/ajax/update.php?requesttoken=183jAQFpQpHs3a9zQNSsWxUjte7lBGEqWK%2FM7btuexI%3D%3AkZfTZ2Y%2FFPeg9sgkFr%2FfOnNQ7NqTXQdTE5mmhP4EN3Q%3D","message":"dirty table reads: SELECT `id` FROM `*PREFIX*jobs` WHERE (`class` = :dcValue1) AND (`argument_hash` = :dcValue2) LIMIT 1","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0","version":"29.0.7.1","exception":{"Exception":"Exception","Message":"dirty table reads: SELECT `id` FROM `*PREFIX*jobs` WHERE (`class` = :dcValue1) AND (`argument_hash` = :dcValue2) LIMIT 1","Code":0,"Trace":[{"file":"/var/www/nextcloud/html/lib/private/DB/ConnectionAdapter.php","line":50,"function":"executeQuery","class":"OC\\DB\\Connection","type":"->"},{"file":"/var/www/nextcloud/html/lib/private/DB/QueryBuilder/QueryBuilder.php","line":272,"function":"executeQuery","class":"OC\\DB\\ConnectionAdapter","type":"->"},{"file":"/var/www/nextcloud/html/lib/private/BackgroundJob/JobList.php","line":127,"function":"executeQuery","class":"OC\\DB\\QueryBuilder\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/html/lib/private/BackgroundJob/JobList.php","line":47,"function":"has","class":"OC\\BackgroundJob\\JobList","type":"->"},{"file":"/var/www/nextcloud/html/lib/private/legacy/OC_App.php","line":803,"function":"add","class":"OC\\BackgroundJob\\JobList","type":"->"},{"file":"/var/www/nextcloud/html/lib/private/legacy/OC_App.php","line":744,"function":"setupBackgroundJobs","class":"OC_App","type":"::"},{"file":"/var/www/nextcloud/html/lib/private/Updater.php","line":323,"function":"updateApp","class":"OC_App","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/html/lib/private/Updater.php","line":234,"function":"doAppUpgrade","class":"OC\\Updater","type":"->"},{"file":"/var/www/nextcloud/html/lib/private/Updater.php","line":98,"function":"doUpgrade","class":"OC\\Updater","type":"->"},{"file":"/var/www/nextcloud/html/core/ajax/update.php","line":168,"function":"upgrade","class":"OC\\Updater","type":"->"}],"File":"/var/www/nextcloud/html/lib/private/DB/Connection.php","Line":402,"message":"dirty table reads: SELECT `id` FROM `*PREFIX*jobs` WHERE (`class` = :dcValue1) AND (`argument_hash` = :dcValue2) LIMIT 1","tables":["oc_migrations","oc_jobs","oc_appconfig","oc_preferences","oc_calendars","oc_properties"],"reads":["oc_jobs"],"exception":{},"CustomMessage":"dirty table reads: SELECT `id` FROM `*PREFIX*jobs` WHERE (`class` = :dcValue1) AND (`argument_hash` = :dcValue2) LIMIT 1"}} And thus: {"reqId":"nfgYoLgpF9dciG00UsCy","level":3,"time":"2024-09-14T22:31:59+00:00","remoteAddr":"192.168.1.102","user":"melroy","app":"no app in context","method":"GET","url":"/ocs/v2.php/apps/notifications/api/v2/notifications?format=json","message":"image not found: image:apps/whiteboard.svg webroot: serverroot:/var/www/nextcloud/html","userAgent":"Mozilla/5.0 (Linux) mirall/3.13.33.13 (build 25182) (Nextcloud, linuxmint-6.8.0-44-generic ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"30.0.0.14","exception":{"Exception":"RuntimeException","Message":"image not found: image:apps/whiteboard.svg webroot: serverroot:/var/www/nextcloud/html","Code":0,"Trace":[{"file":"/var/www/nextcloud/html/apps/firstrunwizard/lib/Notification/Notifier.php","line":205,"function":"imagePath","class":"OC\\URLGenerator","type":"->"},{"file":"/var/www/nextcloud/html/apps/firstrunwizard/lib/Notification/Notifier.php","line":105,"function":"setAppHintDetails","class":"OCA\\FirstRunWizard\\Notification\\Notifier","type":"->"},{"file":"/var/www/nextcloud/html/lib/private/Notification/Manager.php","line":337,"function":"prepare","class":"OCA\\FirstRunWizard\\Notification\\Notifier","type":"->"},{"file":"/var/www/nextcloud/html/apps/notifications/lib/Controller/EndpointController.php","line":103,"function":"prepare","class":"OC\\Notification\\Manager","type":"->"},{"file":"/var/www/nextcloud/html/lib/private/AppFramework/Http/Dispatcher.php","line":208,"function":"listNotifications","class":"OCA\\Notifications\\Controller\\EndpointController","type":"->"},{"file":"/var/www/nextcloud/html/lib/private/AppFramework/Http/Dispatcher.php","line":114,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/html/lib/private/AppFramework/App.php","line":161,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/html/lib/private/Route/Router.php","line":302,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/html/ocs/v1.php","line":43,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/html/ocs/v2.php","line":7,"args":["/var/www/nextcloud/html/ocs/v1.php"],"function":"require_once"}],"File":"/var/www/nextcloud/html/lib/private/URLGenerator.php","Line":242,"message":"image not found: image:apps/whiteboard.svg webroot: serverroot:/var/www/nextcloud/html","exception":{},"CustomMessage":"image not found: image:apps/whiteboard.svg webroot: serverroot:/var/www/nextcloud/html"}}
{"reqId":"jn59ReellW12wExl50YF","level":3,"time":"2024-09-14T22:32:59+00:00","remoteAddr":"192.168.1.102","user":"melroy","app":"no app in context","method":"GET","url":"/ocs/v2.php/apps/notifications/api/v2/notifications?format=json","message":"image not found: image:apps/whiteboard.svg webroot: serverroot:/var/www/nextcloud/html","userAgent":"Mozilla/5.0 (Linux) mirall/3.13.33.13 (build 25182) (Nextcloud, linuxmint-6.8.0-44-generic ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"30.0.0.14","exception":{"Exception":"RuntimeException","Message":"image not found: image:apps/whiteboard.svg webroot: serverroot:/var/www/nextcloud/html","Code":0,"Trace":[{"file":"/var/www/nextcloud/html/apps/firstrunwizard/lib/Notification/Notifier.php","line":205,"function":"imagePath","class":"OC\\URLGenerator","type":"->"},{"file":"/var/www/nextcloud/html/apps/firstrunwizard/lib/Notification/Notifier.php","line":105,"function":"setAppHintDetails","class":"OCA\\FirstRunWizard\\Notification\\Notifier","type":"->"},{"file":"/var/www/nextcloud/html/lib/private/Notification/Manager.php","line":337,"function":"prepare","class":"OCA\\FirstRunWizard\\Notification\\Notifier","type":"->"},{"file":"/var/www/nextcloud/html/apps/notifications/lib/Controller/EndpointController.php","line":103,"function":"prepare","class":"OC\\Notification\\Manager","type":"->"},{"file":"/var/www/nextcloud/html/lib/private/AppFramework/Http/Dispatcher.php","line":208,"function":"listNotifications","class":"OCA\\Notifications\\Controller\\EndpointController","type":"->"},{"file":"/var/www/nextcloud/html/lib/private/AppFramework/Http/Dispatcher.php","line":114,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/html/lib/private/AppFramework/App.php","line":161,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/html/lib/private/Route/Router.php","line":302,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/html/ocs/v1.php","line":43,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/html/ocs/v2.php","line":7,"args":["/var/www/nextcloud/html/ocs/v1.php"],"function":"require_once"}],"File":"/var/www/nextcloud/html/lib/private/URLGenerator.php","Line":242,"message":"image not found: image:apps/whiteboard.svg webroot: serverroot:/var/www/nextcloud/html","exception":{},"CustomMessage":"image not found: image:apps/whiteboard.svg webroot: serverroot:/var/www/nextcloud/html"}}
{"reqId":"ytdhczoIZdnzZUGEINPj","level":3,"time":"2024-09-14T22:33:59+00:00","remoteAddr":"192.168.1.102","user":"melroy","app":"no app in context","method":"GET","url":"/ocs/v2.php/apps/notifications/api/v2/notifications?format=json","message":"image not found: image:apps/whiteboard.svg webroot: serverroot:/var/www/nextcloud/html","userAgent":"Mozilla/5.0 (Linux) mirall/3.13.33.13 (build 25182) (Nextcloud, linuxmint-6.8.0-44-generic ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"30.0.0.14","exception":{"Exception":"RuntimeException","Message":"image not found: image:apps/whiteboard.svg webroot: serverroot:/var/www/nextcloud/html","Code":0,"Trace":[{"file":"/var/www/nextcloud/html/apps/firstrunwizard/lib/Notification/Notifier.php","line":205,"function":"imagePath","class":"OC\\URLGenerator","type":"->"},{"file":"/var/www/nextcloud/html/apps/firstrunwizard/lib/Notification/Notifier.php","line":105,"function":"setAppHintDetails","class":"OCA\\FirstRunWizard\\Notification\\Notifier","type":"->"},{"file":"/var/www/nextcloud/html/lib/private/Notification/Manager.php","line":337,"function":"prepare","class":"OCA\\FirstRunWizard\\Notification\\Notifier","type":"->"},{"file":"/var/www/nextcloud/html/apps/notifications/lib/Controller/EndpointController.php","line":103,"function":"prepare","class":"OC\\Notification\\Manager","type":"->"},{"file":"/var/www/nextcloud/html/lib/private/AppFramework/Http/Dispatcher.php","line":208,"function":"listNotifications","class":"OCA\\Notifications\\Controller\\EndpointController","type":"->"},{"file":"/var/www/nextcloud/html/lib/private/AppFramework/Http/Dispatcher.php","line":114,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/html/lib/private/AppFramework/App.php","line":161,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/html/lib/private/Route/Router.php","line":302,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/html/ocs/v1.php","line":43,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/html/ocs/v2.php","line":7,"args":["/var/www/nextcloud/html/ocs/v1.php"],"function":"require_once"}],"File":"/var/www/nextcloud/html/lib/private/URLGenerator.php","Line":242,"message":"image not found: image:apps/whiteboard.svg webroot: serverroot:/var/www/nextcloud/html","exception":{},"CustomMessage":"image not found: image:apps/whiteboard.svg webroot: serverroot:/var/www/nextcloud/html"}}
{"reqId":"qyjLtyhGwfuNUHKMxHSC","level":3,"time":"2024-09-14T22:34:34+00:00","remoteAddr":"x.x.x.x","user":"melroy","app":"no app in context","method":"GET","url":"/ocs/v2.php/apps/notifications/api/v2/notifications?format=json","message":"image not found: image:apps/whiteboard.svg webroot: serverroot:/var/www/nextcloud/html","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.29.2","version":"30.0.0.14","exception":{"Exception":"RuntimeException","Message":"image not found: image:apps/whiteboard.svg webroot: serverroot:/var/www/nextcloud/html","Code":0,"Trace":[{"file":"/var/www/nextcloud/html/apps/firstrunwizard/lib/Notification/Notifier.php","line":205,"function":"imagePath","class":"OC\\URLGenerator","type":"->"},{"file":"/var/www/nextcloud/html/apps/firstrunwizard/lib/Notification/Notifier.php","line":105,"function":"setAppHintDetails","class":"OCA\\FirstRunWizard\\Notification\\Notifier","type":"->"},{"file":"/var/www/nextcloud/html/lib/private/Notification/Manager.php","line":337,"function":"prepare","class":"OCA\\FirstRunWizard\\Notification\\Notifier","type":"->"},{"file":"/var/www/nextcloud/html/apps/notifications/lib/Controller/EndpointController.php","line":103,"function":"prepare","class":"OC\\Notification\\Manager","type":"->"},{"file":"/var/www/nextcloud/html/lib/private/AppFramework/Http/Dispatcher.php","line":208,"function":"listNotifications","class":"OCA\\Notifications\\Controller\\EndpointController","type":"->"},{"file":"/var/www/nextcloud/html/lib/private/AppFramework/Http/Dispatcher.php","line":114,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/html/lib/private/AppFramework/App.php","line":161,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/html/lib/private/Route/Router.php","line":302,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/html/ocs/v1.php","line":43,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/html/ocs/v2.php","line":7,"args":["/var/www/nextcloud/html/ocs/v1.php"],"function":"require_once"}],"File":"/var/www/nextcloud/html/lib/private/URLGenerator.php","Line":242,"message":"image not found: image:apps/whiteboard.svg webroot: serverroot:/var/www/nextcloud/html","exception":{},"CustomMessage":"image not found: image:apps/whiteboard.svg webroot: serverroot:/var/www/nextcloud/html"}} In all cases |
I can confirmed that i have the exactly same issue, but in my case i never receive a 200 response like you do, it is always giving me an error 500 response, and this is a clean installation of Nextcloud NC30 FYI. |
This may sound stupid or unrelated, but I had the same issue and noticed a lot of errors in the protocol as described in this Thread. As described I deactivated the survey app and installed then disabled the whiteboard app. After this my notifications came up again. |
I'm also getting |
yeah, I just really hope the upcoming NC30.1 bugfix release will take care of these strange 500 errors. |
TLDR:
|
v30.0.1 has since been published. Closing. |
You're correct, I can confirm, with v30.0.1 I don't see this error anymore. Thanks! |
Bug description
The official OCS Notification API v2 is running 500 server error. More details at the bottom!
(I already try to logout and login again, but the problem persists).
https://cloud.melroy.org/ocs/v2.php/apps/notifications/api/v2/notifications
Other bug: I also can't select Nextcloud server 30 from the drop-down menu in this issue template of GitHub... During creating this issue... PR created for this: nextcloud/server#47973
Steps to reproduce
Expected behavior
No 500 server error on Notifications API v2.
Nextcloud Server version
30
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.3
Web server
Nginx
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Upgraded to a MAJOR version (ex. 28 to 29)
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
If you would mean
php ./occ integrity:check-core
? Then this command run fine, without any output.Nextcloud Logs
Note: When I get the 500 error, I don't see any error in the error log anymore... So
"OCP\\HintException: Configuration was not read or initialized correctly, not overwriting /var/www/nextcloud/html/config/config.php at /var/www/nextcloud/html/lib/private/Config.php#266
error message only happened once!?Additional info
Request Headers:
Response:
Response headers:
Nginx log message:
192.168.1.102 - - [14/Sep/2024:23:02:36 +0200] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/3.0" 500 166 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0" "cloud.melroy.org" 0.017
I already tried to enable loglevel 2 or 1, but no errors in the log.. I reload PHP8.3-fpm service as well to avoid having cache issues. Nothing works 😢 . And I do not know how to debug the 500 error, apart from saying
Internal Server Error
.The text was updated successfully, but these errors were encountered: