Yiep! Ganz brav und ordentlich der Reihe nach gemacht
Was du vielleicht noch mal probieren könntest, die app “User Status” zu deaktivieren. Entweder im Web unter Apps, oder via occ app:disable user_status
.
Damit funktioniert (logischerweise) der user status nicht mehr, aber eventuell ist der Fehler erst mal weg.
Ok, das habe ich nun einmal gemacht und warte mal ab, wie sich das verhält. Vielen Dank dafür
Bei mir gibt’s keinen NC-Log-Eintrag; nur im apache-log habe ich den 500er
Irgendwo müsste eine Exception bei dir geloggt werden, bitte schaue noch mal genau.
…habe ich probiert; hat keine Auswirkung…
EDIT: War ein Irrtum hat das Problem wirksam behoben…
…also ähm ok ich duck’ mich ^^ Asche auf mein Haupt!
Wenn man die log-Einträge roh kopiert, steht da mehr am clipboard, als in der log-Anzeige:
{“reqId”:“foSNUL08W7k2EoOxpL35”,“level”:3,“time”:“2024-01-29T21:43:57+00:00”,“remoteAddr”:“77.xxx.xxx.xxx”,“user”:“betroffener_user”,“app”:“no app in context”,“method”:“PUT”,“url”:“/ocs/v2.php/apps/user_status/api/v1/heartbeat?format=json”,“message”:“Exception thrown: Exception”,“userAgent”:“Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0”,“version”:“28.0.1.1”,“exception”:{“Exception”:“Exception”,“Message”:“Call to a member function getTimestamp() on array in file ‘/var/www/nextcloud/apps/dav/lib/CalDAV/Status/StatusService.php’ line 105”,“Code”:0,“Trace”:[{“file”:“/var/www/nextcloud/lib/private/AppFramework/App.php”,“line”:184,“function”:“dispatch”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Route/Router.php”,“line”:315,“function”:“main”,“class”:“OC\AppFramework\App”,“type”:“::”},{“file”:“/var/www/nextcloud/ocs/v1.php”,“line”:65,“function”:“match”,“class”:“OC\Route\Router”,“type”:“->”},{“file”:“/var/www/nextcloud/ocs/v2.php”,“line”:23,“args”:[“/var/www/nextcloud/ocs/v1.php”],“function”:“require_once”}],“File”:“/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php”,“Line”:169,“Previous”:{“Exception”:“Error”,“Message”:“Call to a member function getTimestamp() on array”,“Code”:0,“Trace”:[{“function”:“OCA\DAV\CalDAV\Status\{closure}”,“class”:“OCA\DAV\CalDAV\Status\StatusService”,“type”:“->”,“args”:[“*** sensitive parameters replaced ***”]},{“file”:“/var/www/nextcloud/apps/dav/lib/CalDAV/Status/StatusService.php”,“line”:115,“function”:“array_filter”},{“file”:“/var/www/nextcloud/apps/user_status/lib/Listener/UserLiveStatusListener.php”,“line”:70,“function”:“processCalendarStatus”,“class”:“OCA\DAV\CalDAV\Status\StatusService”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/EventDispatcher/ServiceEventListener.php”,“line”:86,“function”:“handle”,“class”:“OCA\UserStatus\Listener\UserLiveStatusListener”,“type”:“->”},{“file”:“/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php”,“line”:230,“function”:“__invoke”,“class”:“OC\EventDispatcher\ServiceEventListener”,“type”:“->”},{“file”:“/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php”,“line”:59,“function”:“callListeners”,“class”:“Symfony\Component\EventDispatcher\EventDispatcher”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php”,“line”:94,“function”:“dispatch”,“class”:“Symfony\Component\EventDispatcher\EventDispatcher”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php”,“line”:106,“function”:“dispatch”,“class”:“OC\EventDispatcher\EventDispatcher”,“type”:“->”},{“file”:“/var/www/nextcloud/apps/user_status/lib/Controller/HeartbeatController.php”,“line”:100,“function”:“dispatchTyped”,“class”:“OC\EventDispatcher\EventDispatcher”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php”,“line”:230,“function”:“heartbeat”,“class”:“OCA\UserStatus\Controller\HeartbeatController”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php”,“line”:137,“function”:“executeController”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/AppFramework/App.php”,“line”:184,“function”:“dispatch”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Route/Router.php”,“line”:315,“function”:“main”,“class”:“OC\AppFramework\App”,“type”:“::”},{“file”:“/var/www/nextcloud/ocs/v1.php”,“line”:65,“function”:“match”,“class”:“OC\Route\Router”,“type”:“->”},{“file”:“/var/www/nextcloud/ocs/v2.php”,“line”:23,“args”:[“/var/www/nextcloud/ocs/v1.php”],“function”:“require_once”}],“File”:“/var/www/nextcloud/apps/dav/lib/CalDAV/Status/StatusService.php”,“Line”:105},“CustomMessage”:“Exception thrown: Exception”},“id”:“65b81c215bb9f”}
UND: Wenn ich die User status app deaktiviere, dann ist der Fehler tatsächlich weg…
Super, dann können wir wohl festhalten, dass es zumindest einen workaround gibt.
…wobei der log-Eintrag betrifft ja meine Browser-Sitzung (UserAgent … Ubuntu … Firefox); nicht die Android-Sitzung…