Internal server error: "no app in context"

Hi, today nextcloud is not syncing files anymore…
I jumped in the logfile and I found repeatedly this issue:

{"reqId":"zkGc7PBXp3qyng0Kkfvq","level":0,"time":"2025-11-28T18:15:07+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","message":"CLI cron call has selected job OCA\\Files\\BackgroundJob\\ScanFiles (id: 12,>{"reqId":"zkGc7PBXp3qyng0Kkfvq","level":0,"time":"2025-11-28T18:15:07+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","message":"Starting job OCA\\Files\\BackgroundJob\\ScanFiles (id: 12, arguments: null)">{"reqId":"zkGc7PBXp3qyng0Kkfvq","level":0,"time":"2025-11-28T18:15:07+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","message":"Finished job OCA\\Files\\BackgroundJob\\ScanFiles (id: 12, arguments: null) >{"reqId":"zkGc7PBXp3qyng0Kkfvq","level":0,"time":"2025-11-28T18:15:08+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--","message":"dirty table reads: SELECT * FROM `*PREFIX*jobs` WHERE (`reserve>

Do someone have an idea about how to solve it?
TIA

Hi @alphashock

Log level 0 (= debug) causes a lot of noise.
2 (= Warnings) or even 3(= Error) is enough.

h.t.h.

ernolf

Thanks ernolf. This are level 3 lines:

  102903: {"reqId":"p549zLPlli2jk3xdDsE9","level":3,"time":"2025-11-28T18:08:17+00:00","remoteAddr":"45.142.185.10","user":"studio","app":"no app in context","method":"GET","url":"/ocs/v2.php/apps/recommendations/api/v1/recommendations/always","message":"FederatedUser is not complete","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36","version":"32.0.2.2","exception":{"Exception":"OCA\\Circles\\Exceptions\\FederatedUserException","Message":"FederatedUser is not complete","Code":500,"Trace":[{"file":"/snap/nextcloud/51274/htdocs/apps/circles/lib/Service/FederatedUserService.php","line":291,"function":"confirmFederatedUser","class":"OCA\\Circles\\Service\\FederatedUserService","type":"->"},{"file":"/snap/nextcloud/51274/htdocs/apps/circles/lib/CirclesManager.php","line":161,"function":"setCurrentUser","class":"OCA\\Circles\\Service\\FederatedUserService","type":"->"},{"file":"/var/snap/nextcloud/51274/nextcloud/extra-apps/groupfolders/lib/ACL/UserMapping/

  102912: {"reqId":"mexx0rAphzqmnGgFrsMV","level":3,"time":"2025-11-28T18:08:18+00:00","remoteAddr":"45.142.185.10","user":"studio","app":"webdav","method":"PROPFIND","url":"/remote.php/dav/files/studio/","message":"FederatedUser is not complete","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36","version":"32.0.2.2","exception":{"Exception":"OCA\\Circles\\Exceptions\\FederatedUserException","Message":"FederatedUser is not complete","Code":500,"Trace":[{"file":"/snap/nextcloud/51274/htdocs/apps/circles/lib/Service/FederatedUserService.php","line":291,"function":"confirmFederatedUser","class":"OCA\\Circles\\Service\\FederatedUserService","type":"->"},{"file":"/snap/nextcloud/51274/htdocs/apps/circles/lib/CirclesManager.php","line":161,"function":"setCurrentUser","class":"OCA\\Circles\\Service\\FederatedUserService","type":"->"},{"file":"/var/snap/nextcloud/51274/nextcloud/extra-apps/groupfolders/lib/ACL/UserMapping/UserMappingManager.php","line":98,"func

  102913: {"reqId":"mexx0rAphzqmnGgFrsMV","level":3,"time":"2025-11-28T18:08:18+00:00","remoteAddr":"45.142.185.10","user":"studio","app":"no app in context","method":"PROPFIND","url":"/remote.php/dav/files/studio/","message":"Uncaught exception","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36","version":"32.0.2.2","exception":{"Exception":"OCA\\Circles\\Exceptions\\FederatedUserException","Message":"FederatedUser is not complete","Code":500,"Trace":[{"file":"/snap/nextcloud/51274/htdocs/apps/circles/lib/Service/FederatedUserService.php","line":291,"function":"confirmFederatedUser","class":"OCA\\Circles\\Service\\FederatedUserService","type":"->"},{"file":"/snap/nextcloud/51274/htdocs/apps/circles/lib/CirclesManager.php","line":161,"function":"setCurrentUser","class":"OCA\\Circles\\Service\\FederatedUserService","type":"->"},{"file":"/var/snap/nextcloud/51274/nextcloud/extra-apps/groupfolders/lib/ACL/UserMapping/UserMappingManager.php","line":98,"func

  102975: {"reqId":"SgpHdndheeyDqsd3HPs0","level":3,"time":"2025-11-28T18:08:40+00:00","remoteAddr":"45.142.185.10","user":"studio","app":"index","method":"GET","url":"/index.php/settings/user","message":"FederatedUser is not complete","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36","version":"32.0.2.2","exception":{"Exception":"OCA\\Circles\\Exceptions\\FederatedUserException","Message":"FederatedUser is not complete","Code":500,"Trace":[{"file":"/snap/nextcloud/51274/htdocs/apps/circles/lib/Service/FederatedUserService.php","line":291,"function":"confirmFederatedUser","class":"OCA\\Circles\\Service\\FederatedUserService","type":"->"},{"file":"/snap/nextcloud/51274/htdocs/apps/circles/lib/CirclesManager.php","line":161,"function":"setCurrentUser","class":"OCA\\Circles\\Service\\FederatedUserService","type":"->"},{"file":"/var/snap/nextcloud/51274/nextcloud/extra-apps/groupfolders/lib/ACL/UserMapping/UserMappingManager.php","line":98,"function":"star