Nextcloud-Ankündigung zu Nginx Security Issue verschwindet nicht

Ich habe PHP geupdatet und das nginx-Konfigurationsfile wie vorgeschlagen angepasst. Warum verschwindet nach einem Neustart des Servers die Ankündigung nicht?

Kannst Du bitte einen Screenshot posten, was wo genau angezeigt wird und nicht verschwindet.

1 Like

Ich klicke an dieser Stelle immer auf das Kreuz in der oberen rechten Ecke und dann verschwindet die Benachrichtigung, inklusive des Markers am Glockensymbol. Dies funktioniert bei Dir nicht?

Da erscheint bei mir kurz hintereinander zweimal die Meldung:

Benachrichtigung konnte nicht verworfen werden

Diese Meldungen verschwinden dann ebenfalls nacheinander.

Und der rote Punkt an der Glocke bleibt.

Hast Du schon einen Blick in die Nextcloud Logdatei geworfen was zum Zeitpunkt dieser Meldung dort zu finden ist? Eventuell gibt es ja ein Problem beim Datenbankzugriff.

Das habe ich nur, wenn mein Token/Session abgelaufen ist. Da hilft normalerweise nur sich neu anzumelden, auch wenn die Seite im Browser noch zu funktionieren scheint.

Ab- und anmelden und Cache leeren bringt keine Besserung.

Welche ist die richtige Logdatei, in der hierzu etwas stehen könnte?

Wie ich bereits schrieb, geht es mir um die Nextcloud-Logdatei, welche sich standardmäßig im Datenverzeichnis (datadirectory) befindet.

Aha. Danke. Das wusste ich nicht:

{"reqId":"99zRvICJGhbBK3IK8Wdt","level":3,"time":"2019-11-03T16:00:43+00:00","remoteAddr":"94.223.159.170","user":"vatolin","app":"no app in context","method":"GET","url":"/ocs/v2.php/apps/notifications/api/v2/notifications","message":{"Exception":"Symfony\\Component\\Routing\\Exception\\RouteNotFoundException","Message":"Unable to generate a URL for the named route \"ocs.provisioning_api.AppsController.disable\" as such route does not exist.","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Route/Router.php","line":337,"function":"generate","class":"Symfony\\Component\\Routing\\Generator\\UrlGenerator","type":"->","args":["ocs.provisioning_api.AppsController.disable",{"app":"nextcloud_announcements"},1]},{"file":"/var/www/html/lib/private/Route/CachingRouter.php","line":60,"function":"generate","class":"OC\\Route\\Router","type":"->","args":["ocs.provisioning_api.AppsController.disable",{"app":"nextcloud_announcements"},false]},{"file":"/var/www/html/lib/private/URLGenerator.php","line":95,"function":"generate","class":"OC\\Route\\CachingRouter","type":"->","args":["ocs.provisioning_api.AppsController.disable",{"app":"nextcloud_announcements"},false]},{"file":"/var/www/html/apps/nextcloud_announcements/lib/Notification/Notifier.php","line":116,"function":"linkToOCSRouteAbsolute","class":"OC\\URLGenerator","type":"->","args":["provisioning_api.AppsController.disable",{"app":"nextcloud_announcements"}]},{"file":"/var/www/html/lib/private/Notification/Manager.php","line":253,"function":"prepare","class":"OCA\\NextcloudAnnouncements\\Notification\\Notifier","type":"->","args":[{"__class__":"OC\\Notification\\Notification"},"de"]},{"file":"/var/www/html/apps/notifications/lib/Controller/EndpointController.php","line":102,"function":"prepare","class":"OC\\Notification\\Manager","type":"->","args":[{"__class__":"OC\\Notification\\Notification"},"de"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":170,"function":"listNotifications","class":"OCA\\Notifications\\Controller\\EndpointController","type":"->","args":["v2"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":99,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Notifications\\Controller\\EndpointController"},"listNotifications"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":126,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Notifications\\Controller\\EndpointController"},"listNotifications"]},{"file":"/var/www/html/lib/private/AppFramework/Routing/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Notifications\\Controller\\EndpointController","listNotifications",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"apiVersion":"v2","_route":"ocs.notifications.Endpoint.listNotifications"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"apiVersion":"v2","_route":"ocs.notifications.Endpoint.listNotifications"}]},{"file":"/var/www/html/lib/private/Route/Router.php","line":297,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"apiVersion":"v2","_route":"ocs.notifications.Endpoint.listNotifications"}]},{"file":"/var/www/html/ocs/v1.php","line":82,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/ocsapp/apps/notifications/api/v2/notifications"]},{"file":"/var/www/html/ocs/v2.php","line":24,"args":["/var/www/html/ocs/v1.php"],"function":"require_once"}],"File":"/var/www/html/3rdparty/symfony/routing/Generator/UrlGenerator.php","Line":130,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:70.0) Gecko/20100101 Firefox/70.0","version":"17.0.0.9","id":"5dbef9abc85c1"}

Vorführeffekt: In dem Moment, als ich das Logfile geöffnet habe, ist die Meldung verschwunden. Merkwürdig.

Vielleicht gab es ein Problem mit dem Caching der Daten?! Na ja, dann kannst Du ja diese Anfrage mit ruhigem Gewissen schließen :wink: