nextcloud / server

☁️ Nextcloud server, a safe home for all your data
https://nextcloud.com
GNU Affero General Public License v3.0
27.53k stars 4.08k forks source link

[Bug]: "Unable to generate a URL for the named route" messages with every update #43910

Closed mayonezo closed 3 months ago

mayonezo commented 9 months ago

⚠️ This issue respects the following points: ⚠️

Bug description

I get a bunch of these errors with every update:

Unable to generate a URL for the named route \"theming.Theming.getThemeStylesheet\" as such route does not exist.
Unable to generate a URL for the named route \"theming.Theming.getThemeStylesheet\" as such route does not exist.
Unable to generate a URL for the named route \"theming.Theming.getThemeStylesheet\" as such route does not exist.
Unable to generate a URL for the named route \"theming.Theming.getThemeStylesheet\" as such route does not exist.
Unable to generate a URL for the named route \"theming.Theming.getThemeStylesheet\" as such route does not exist.
Unable to generate a URL for the named route \"theming.Theming.getThemeStylesheet\" as such route does not exist.
Unable to generate a URL for the named route \"theming.Theming.getThemeStylesheet\" as such route does not exist.
Unable to generate a URL for the named route \"theming.Theming.getThemeStylesheet\" as such route does not exist.
Unable to generate a URL for the named route \"theming.Theming.getThemeStylesheet\" as such route does not exist.
Unable to generate a URL for the named route \"theming.Theming.getThemeStylesheet\" as such route does not exist.
Unable to generate a URL for the named route \"activity.Activities.index\"" as such route does not exist.
Unable to generate a URL for the named route \"bookmarks.web_view.index\"" as such route does not exist.
Unable to generate a URL for the named route \"files.view.index\"" as such route does not exist.
Unable to generate a URL for the named route \"keeweb.page.index\"" as such route does not exist.
Unable to generate a URL for the named route \"maps.page.index\"" as such route does not exist.
Unable to generate a URL for the named route \"photos.page.index\"" as such route does not exist.

Steps to reproduce

  1. Update Nextcloud

Expected behavior

No error messages.

Installation method

Manual

Nextcloud Server version

28.0.3

Operating system

Debian

PHP engine version

8.2

Web server

Apache

Database engine version

MariaDB

Is this bug present after an update or on a fresh install?

update

Are you using the Nextcloud Server Encryption module?

No

What user-backends are you using?

Configuration report

No response

List of activated Apps

No response

Nextcloud Signing status

No response

Nextcloud Logs

{"reqId":"3SC9Q8DQ2ggOKsE5HxrF","level":1,"time":"2024-02-29T13:15:30+01:00","remoteAddr":"81.200.197.164","user":"--","app":"no app in context","method":"GET","url":"/nextcloud/index.php/apps/files/preview-service-worker.js","message":"Unable to generate a URL for the named route \"theming.Theming.getThemeStylesheet\" as such route does not exist.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36","version":"28.0.2.5","exception":{"Exception":"Symfony\\Component\\Routing\\Exception\\RouteNotFoundException","Message":"Unable to generate a URL for the named route \"theming.Theming.getThemeStylesheet\" as such route does not exist.","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":380,"function":"generate","class":"Symfony\\Component\\Routing\\Generator\\UrlGenerator","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/CachingRouter.php","line":65,"function":"generate","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/lib/private/URLGenerator.php","line":103,"function":"generate","class":"OC\\Route\\CachingRouter","type":"->"},{"file":"/var/www/nextcloud/apps/theming/lib/Service/ThemeInjectionService.php","line":92,"function":"linkToRoute","class":"OC\\URLGenerator","type":"->"},{"file":"/var/www/nextcloud/apps/theming/lib/Service/ThemeInjectionService.php","line":80,"function":"addThemeHeader","class":"OCA\\Theming\\Service\\ThemeInjectionService","type":"->"},{"file":"/var/www/nextcloud/apps/theming/lib/Listener/BeforeTemplateRenderedListener.php","line":80,"function":"injectHeaders","class":"OCA\\Theming\\Service\\ThemeInjectionService","type":"->"},{"file":"/var/www/nextcloud/lib/private/EventDispatcher/ServiceEventListener.php","line":86,"function":"handle","class":"OCA\\Theming\\Listener\\BeforeTemplateRenderedListener","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/lib/private/AppFramework/Middleware/AdditionalScriptsMiddleware.php","line":53,"function":"dispatchTyped","class":"OC\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php","line":142,"function":"afterController","class":"OC\\AppFramework\\Middleware\\AdditionalScriptsMiddleware","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":174,"function":"afterController","class":"OC\\AppFramework\\Middleware\\MiddlewareDispatcher","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/lib/base.php","line":1117,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":39,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/3rdparty/symfony/routing/Generator/UrlGenerator.php","Line":144,"message":"Unable to generate a URL for the named route \"theming.Theming.getThemeStylesheet\" as such route does not exist.","exception":{},"CustomMessage":"Unable to generate a URL for the named route \"theming.Theming.getThemeStylesheet\" as such route does not exist."}}
{"reqId":"3SC9Q8DQ2ggOKsE5HxrF","level":1,"time":"2024-02-29T13:15:30+01:00","remoteAddr":"81.200.197.164","user":"--","app":"no app in context","method":"GET","url":"/nextcloud/index.php/apps/files/preview-service-worker.js","message":"Unable to generate a URL for the named route \"activity.Activities.index\" as such route does not exist.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36","version":"28.0.2.5","exception":{"Exception":"Symfony\\Component\\Routing\\Exception\\RouteNotFoundException","Message":"Unable to generate a URL for the named route \"activity.Activities.index\" as such route does not exist.","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":380,"function":"generate","class":"Symfony\\Component\\Routing\\Generator\\UrlGenerator","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/CachingRouter.php","line":65,"function":"generate","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/lib/private/URLGenerator.php","line":103,"function":"generate","class":"OC\\Route\\CachingRouter","type":"->"},{"file":"/var/www/nextcloud/lib/private/NavigationManager.php","line":374,"function":"linkToRoute","class":"OC\\URLGenerator","type":"->"},{"file":"/var/www/nextcloud/lib/private/NavigationManager.php","line":131,"function":"init","class":"OC\\NavigationManager","type":"->"},{"file":"/var/www/nextcloud/apps/theming/lib/ThemingDefaults.php","line":199,"function":"getAll","class":"OC\\NavigationManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Defaults.php","line":271,"function":"getShortFooter","class":"OCA\\Theming\\ThemingDefaults","type":"->"},{"file":"/var/www/nextcloud/lib/public/Defaults.php","line":176,"function":"getLongFooter","class":"OC_Defaults","type":"->"},{"file":"/var/www/nextcloud/core/templates/layout.guest.php","line":51,"function":"getLongFooter","class":"OCP\\Defaults","type":"->"},{"file":"/var/www/nextcloud/lib/private/Template/Base.php","line":180,"args":["/var/www/nextcloud/core/templates/layout.guest.php"],"function":"include"},{"file":"/var/www/nextcloud/lib/private/Template/Base.php","line":150,"function":"load","class":"OC\\Template\\Base","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Template.php","line":139,"function":"fetchPage","class":"OC\\Template\\Base","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Template.php","line":170,"function":"fetchPage","class":"OC_Template","type":"->"},{"file":"/var/www/nextcloud/lib/public/AppFramework/Http/TemplateResponse.php","line":211,"function":"fetchPage","class":"OC_Template","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":182,"function":"render","class":"OCP\\AppFramework\\Http\\TemplateResponse","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/lib/base.php","line":1117,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":39,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/3rdparty/symfony/routing/Generator/UrlGenerator.php","Line":144,"message":"Unable to generate a URL for the named route \"activity.Activities.index\" as such route does not exist.","exception":{},"CustomMessage":"Unable to generate a URL for the named route \"activity.Activities.index\" as such route does not exist."}}
{"reqId":"3SC9Q8DQ2ggOKsE5HxrF","level":1,"time":"2024-02-29T13:15:30+01:00","remoteAddr":"81.200.197.164","user":"--","app":"no app in context","method":"GET","url":"/nextcloud/index.php/apps/files/preview-service-worker.js","message":"Unable to generate a URL for the named route \"bookmarks.web_view.index\" as such route does not exist.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36","version":"28.0.2.5","exception":{"Exception":"Symfony\\Component\\Routing\\Exception\\RouteNotFoundException","Message":"Unable to generate a URL for the named route \"bookmarks.web_view.index\" as such route does not exist.","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":380,"function":"generate","class":"Symfony\\Component\\Routing\\Generator\\UrlGenerator","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/CachingRouter.php","line":65,"function":"generate","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/lib/private/URLGenerator.php","line":103,"function":"generate","class":"OC\\Route\\CachingRouter","type":"->"},{"file":"/var/www/nextcloud/lib/private/NavigationManager.php","line":374,"function":"linkToRoute","class":"OC\\URLGenerator","type":"->"},{"file":"/var/www/nextcloud/lib/private/NavigationManager.php","line":131,"function":"init","class":"OC\\NavigationManager","type":"->"},{"file":"/var/www/nextcloud/apps/theming/lib/ThemingDefaults.php","line":199,"function":"getAll","class":"OC\\NavigationManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Defaults.php","line":271,"function":"getShortFooter","class":"OCA\\Theming\\ThemingDefaults","type":"->"},{"file":"/var/www/nextcloud/lib/public/Defaults.php","line":176,"function":"getLongFooter","class":"OC_Defaults","type":"->"},{"file":"/var/www/nextcloud/core/templates/layout.guest.php","line":51,"function":"getLongFooter","class":"OCP\\Defaults","type":"->"},{"file":"/var/www/nextcloud/lib/private/Template/Base.php","line":180,"args":["/var/www/nextcloud/core/templates/layout.guest.php"],"function":"include"},{"file":"/var/www/nextcloud/lib/private/Template/Base.php","line":150,"function":"load","class":"OC\\Template\\Base","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Template.php","line":139,"function":"fetchPage","class":"OC\\Template\\Base","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Template.php","line":170,"function":"fetchPage","class":"OC_Template","type":"->"},{"file":"/var/www/nextcloud/lib/public/AppFramework/Http/TemplateResponse.php","line":211,"function":"fetchPage","class":"OC_Template","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":182,"function":"render","class":"OCP\\AppFramework\\Http\\TemplateResponse","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/lib/base.php","line":1117,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":39,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/3rdparty/symfony/routing/Generator/UrlGenerator.php","Line":144,"message":"Unable to generate a URL for the named route \"bookmarks.web_view.index\" as such route does not exist.","exception":{},"CustomMessage":"Unable to generate a URL for the named route \"bookmarks.web_view.index\" as such route does not exist."}}
{"reqId":"3SC9Q8DQ2ggOKsE5HxrF","level":1,"time":"2024-02-29T13:15:30+01:00","remoteAddr":"81.200.197.164","user":"--","app":"no app in context","method":"GET","url":"/nextcloud/index.php/apps/files/preview-service-worker.js","message":"Unable to generate a URL for the named route \"files.view.index\" as such route does not exist.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36","version":"28.0.2.5","exception":{"Exception":"Symfony\\Component\\Routing\\Exception\\RouteNotFoundException","Message":"Unable to generate a URL for the named route \"files.view.index\" as such route does not exist.","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":380,"function":"generate","class":"Symfony\\Component\\Routing\\Generator\\UrlGenerator","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/CachingRouter.php","line":65,"function":"generate","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/lib/private/URLGenerator.php","line":103,"function":"generate","class":"OC\\Route\\CachingRouter","type":"->"},{"file":"/var/www/nextcloud/lib/private/NavigationManager.php","line":374,"function":"linkToRoute","class":"OC\\URLGenerator","type":"->"},{"file":"/var/www/nextcloud/lib/private/NavigationManager.php","line":131,"function":"init","class":"OC\\NavigationManager","type":"->"},{"file":"/var/www/nextcloud/apps/theming/lib/ThemingDefaults.php","line":199,"function":"getAll","class":"OC\\NavigationManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Defaults.php","line":271,"function":"getShortFooter","class":"OCA\\Theming\\ThemingDefaults","type":"->"},{"file":"/var/www/nextcloud/lib/public/Defaults.php","line":176,"function":"getLongFooter","class":"OC_Defaults","type":"->"},{"file":"/var/www/nextcloud/core/templates/layout.guest.php","line":51,"function":"getLongFooter","class":"OCP\\Defaults","type":"->"},{"file":"/var/www/nextcloud/lib/private/Template/Base.php","line":180,"args":["/var/www/nextcloud/core/templates/layout.guest.php"],"function":"include"},{"file":"/var/www/nextcloud/lib/private/Template/Base.php","line":150,"function":"load","class":"OC\\Template\\Base","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Template.php","line":139,"function":"fetchPage","class":"OC\\Template\\Base","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Template.php","line":170,"function":"fetchPage","class":"OC_Template","type":"->"},{"file":"/var/www/nextcloud/lib/public/AppFramework/Http/TemplateResponse.php","line":211,"function":"fetchPage","class":"OC_Template","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":182,"function":"render","class":"OCP\\AppFramework\\Http\\TemplateResponse","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/lib/base.php","line":1117,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":39,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/3rdparty/symfony/routing/Generator/UrlGenerator.php","Line":144,"message":"Unable to generate a URL for the named route \"files.view.index\" as such route does not exist.","exception":{},"CustomMessage":"Unable to generate a URL for the named route \"files.view.index\" as such route does not exist."}}
{"reqId":"3SC9Q8DQ2ggOKsE5HxrF","level":1,"time":"2024-02-29T13:15:30+01:00","remoteAddr":"81.200.197.164","user":"--","app":"no app in context","method":"GET","url":"/nextcloud/index.php/apps/files/preview-service-worker.js","message":"Unable to generate a URL for the named route \"keeweb.page.index\" as such route does not exist.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36","version":"28.0.2.5","exception":{"Exception":"Symfony\\Component\\Routing\\Exception\\RouteNotFoundException","Message":"Unable to generate a URL for the named route \"keeweb.page.index\" as such route does not exist.","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":380,"function":"generate","class":"Symfony\\Component\\Routing\\Generator\\UrlGenerator","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/CachingRouter.php","line":65,"function":"generate","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/lib/private/URLGenerator.php","line":103,"function":"generate","class":"OC\\Route\\CachingRouter","type":"->"},{"file":"/var/www/nextcloud/lib/private/NavigationManager.php","line":374,"function":"linkToRoute","class":"OC\\URLGenerator","type":"->"},{"file":"/var/www/nextcloud/lib/private/NavigationManager.php","line":131,"function":"init","class":"OC\\NavigationManager","type":"->"},{"file":"/var/www/nextcloud/apps/theming/lib/ThemingDefaults.php","line":199,"function":"getAll","class":"OC\\NavigationManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Defaults.php","line":271,"function":"getShortFooter","class":"OCA\\Theming\\ThemingDefaults","type":"->"},{"file":"/var/www/nextcloud/lib/public/Defaults.php","line":176,"function":"getLongFooter","class":"OC_Defaults","type":"->"},{"file":"/var/www/nextcloud/core/templates/layout.guest.php","line":51,"function":"getLongFooter","class":"OCP\\Defaults","type":"->"},{"file":"/var/www/nextcloud/lib/private/Template/Base.php","line":180,"args":["/var/www/nextcloud/core/templates/layout.guest.php"],"function":"include"},{"file":"/var/www/nextcloud/lib/private/Template/Base.php","line":150,"function":"load","class":"OC\\Template\\Base","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Template.php","line":139,"function":"fetchPage","class":"OC\\Template\\Base","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Template.php","line":170,"function":"fetchPage","class":"OC_Template","type":"->"},{"file":"/var/www/nextcloud/lib/public/AppFramework/Http/TemplateResponse.php","line":211,"function":"fetchPage","class":"OC_Template","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":182,"function":"render","class":"OCP\\AppFramework\\Http\\TemplateResponse","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/lib/base.php","line":1117,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":39,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/3rdparty/symfony/routing/Generator/UrlGenerator.php","Line":144,"message":"Unable to generate a URL for the named route \"keeweb.page.index\" as such route does not exist.","exception":{},"CustomMessage":"Unable to generate a URL for the named route \"keeweb.page.index\" as such route does not exist."}}
{"reqId":"3SC9Q8DQ2ggOKsE5HxrF","level":1,"time":"2024-02-29T13:15:30+01:00","remoteAddr":"81.200.197.164","user":"--","app":"no app in context","method":"GET","url":"/nextcloud/index.php/apps/files/preview-service-worker.js","message":"Unable to generate a URL for the named route \"maps.page.index\" as such route does not exist.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36","version":"28.0.2.5","exception":{"Exception":"Symfony\\Component\\Routing\\Exception\\RouteNotFoundException","Message":"Unable to generate a URL for the named route \"maps.page.index\" as such route does not exist.","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":380,"function":"generate","class":"Symfony\\Component\\Routing\\Generator\\UrlGenerator","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/CachingRouter.php","line":65,"function":"generate","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/lib/private/URLGenerator.php","line":103,"function":"generate","class":"OC\\Route\\CachingRouter","type":"->"},{"file":"/var/www/nextcloud/lib/private/NavigationManager.php","line":374,"function":"linkToRoute","class":"OC\\URLGenerator","type":"->"},{"file":"/var/www/nextcloud/lib/private/NavigationManager.php","line":131,"function":"init","class":"OC\\NavigationManager","type":"->"},{"file":"/var/www/nextcloud/apps/theming/lib/ThemingDefaults.php","line":199,"function":"getAll","class":"OC\\NavigationManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Defaults.php","line":271,"function":"getShortFooter","class":"OCA\\Theming\\ThemingDefaults","type":"->"},{"file":"/var/www/nextcloud/lib/public/Defaults.php","line":176,"function":"getLongFooter","class":"OC_Defaults","type":"->"},{"file":"/var/www/nextcloud/core/templates/layout.guest.php","line":51,"function":"getLongFooter","class":"OCP\\Defaults","type":"->"},{"file":"/var/www/nextcloud/lib/private/Template/Base.php","line":180,"args":["/var/www/nextcloud/core/templates/layout.guest.php"],"function":"include"},{"file":"/var/www/nextcloud/lib/private/Template/Base.php","line":150,"function":"load","class":"OC\\Template\\Base","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Template.php","line":139,"function":"fetchPage","class":"OC\\Template\\Base","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Template.php","line":170,"function":"fetchPage","class":"OC_Template","type":"->"},{"file":"/var/www/nextcloud/lib/public/AppFramework/Http/TemplateResponse.php","line":211,"function":"fetchPage","class":"OC_Template","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":182,"function":"render","class":"OCP\\AppFramework\\Http\\TemplateResponse","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/lib/base.php","line":1117,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":39,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/3rdparty/symfony/routing/Generator/UrlGenerator.php","Line":144,"message":"Unable to generate a URL for the named route \"maps.page.index\" as such route does not exist.","exception":{},"CustomMessage":"Unable to generate a URL for the named route \"maps.page.index\" as such route does not exist."}}
{"reqId":"3SC9Q8DQ2ggOKsE5HxrF","level":1,"time":"2024-02-29T13:15:30+01:00","remoteAddr":"81.200.197.164","user":"--","app":"no app in context","method":"GET","url":"/nextcloud/index.php/apps/files/preview-service-worker.js","message":"Unable to generate a URL for the named route \"photos.page.index\" as such route does not exist.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36","version":"28.0.2.5","exception":{"Exception":"Symfony\\Component\\Routing\\Exception\\RouteNotFoundException","Message":"Unable to generate a URL for the named route \"photos.page.index\" as such route does not exist.","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":380,"function":"generate","class":"Symfony\\Component\\Routing\\Generator\\UrlGenerator","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/CachingRouter.php","line":65,"function":"generate","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/lib/private/URLGenerator.php","line":103,"function":"generate","class":"OC\\Route\\CachingRouter","type":"->"},{"file":"/var/www/nextcloud/lib/private/NavigationManager.php","line":374,"function":"linkToRoute","class":"OC\\URLGenerator","type":"->"},{"file":"/var/www/nextcloud/lib/private/NavigationManager.php","line":131,"function":"init","class":"OC\\NavigationManager","type":"->"},{"file":"/var/www/nextcloud/apps/theming/lib/ThemingDefaults.php","line":199,"function":"getAll","class":"OC\\NavigationManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Defaults.php","line":271,"function":"getShortFooter","class":"OCA\\Theming\\ThemingDefaults","type":"->"},{"file":"/var/www/nextcloud/lib/public/Defaults.php","line":176,"function":"getLongFooter","class":"OC_Defaults","type":"->"},{"file":"/var/www/nextcloud/core/templates/layout.guest.php","line":51,"function":"getLongFooter","class":"OCP\\Defaults","type":"->"},{"file":"/var/www/nextcloud/lib/private/Template/Base.php","line":180,"args":["/var/www/nextcloud/core/templates/layout.guest.php"],"function":"include"},{"file":"/var/www/nextcloud/lib/private/Template/Base.php","line":150,"function":"load","class":"OC\\Template\\Base","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Template.php","line":139,"function":"fetchPage","class":"OC\\Template\\Base","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Template.php","line":170,"function":"fetchPage","class":"OC_Template","type":"->"},{"file":"/var/www/nextcloud/lib/public/AppFramework/Http/TemplateResponse.php","line":211,"function":"fetchPage","class":"OC_Template","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":182,"function":"render","class":"OCP\\AppFramework\\Http\\TemplateResponse","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/lib/base.php","line":1117,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":39,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/3rdparty/symfony/routing/Generator/UrlGenerator.php","Line":144,"message":"Unable to generate a URL for the named route \"photos.page.index\" as such route does not exist.","exception":{},"CustomMessage":"Unable to generate a URL for the named route \"photos.page.index\" as such route does not exist."}}

Additional info

No response

joshtrichards commented 9 months ago

These all appear to be pre-update (they're from v28.0.2). You're seeing these because your loglevel < 2.

Do they stop after the update is successful? Are those apps functioning (e.g. photos, maps, keeweb, files, etc)?

mayonezo commented 9 months ago

Yes, they are all working. I get these messages with every update I start, like today, when I updated from v28.0.2 to v28.0.3

cmigliorini commented 6 months ago

I get this message after successfully (or so it seems) upgrading manually to 29.0.1, except it is for many applications -- which don't work, consequently:

joshtrichards commented 6 months ago

Yes, they are all working. I get these messages with every update I start, like today, when I updated from v28.0.2 to v28.0.3

@mayonezo This may just be a PHP opcache caching matter. The safest thing to do is to restart mod_php/fpm after an upgrade. What method, precisely, are you using to upgrade Nextcloud? Also, what are your PHP's web/fpm opcache.validate_timestamps and opcache.revalidate_freq values? You may simply need

@cmigliorini Same question to you.

EnderArchery commented 6 months ago

Same issue after upgrade to 29.0.1

Opcache values were configured as specified by former documentation and not an issue before. Were they changed?

A restart of... well eventually just the entire system, so I can't miss anything, didn't help either.

EnderArchery commented 6 months ago

Oh, my applications aeem to work though. But they appear about every minute or so. Every view seconds

cmigliorini commented 6 months ago

Yes, they are all working. I get these messages with every update I start, like today, when I updated from v28.0.2 to v28.0.3

@mayonezo This may just be a PHP opcache caching matter. The safest thing to do is to restart mod_php/fpm after an upgrade. What method, precisely, are you using to upgrade Nextcloud? Also, what are your PHP's web/fpm opcache.validate_timestamps and opcache.revalidate_freq values? You may simply need

@cmigliorini Same question to you.

Commented out -- default.

;opcache.validate_timestamps=1
;opcache.revalidate_freq=2

As for restarting, I did restart php/fpm several times -- in fact I upgraded from 8.1 to 8.2 then 8.3 just in case (other issue I had where that seemed relevant to at least try, since we could not find any reasonable explanation). Only thing I'm yet to try is to restart memcache and the bloody server :)

EnderArchery commented 6 months ago

Yes, they are all working. I get these messages with every update I start, like today, when I updated from v28.0.2 to v28.0.3

@mayonezo This may just be a PHP opcache caching matter. The safest thing to do is to restart mod_php/fpm after an upgrade. What method, precisely, are you using to upgrade Nextcloud? Also, what are your PHP's web/fpm opcache.validate_timestamps and opcache.revalidate_freq values? You may simply need @cmigliorini Same question to you.

Commented out -- default.

;opcache.validate_timestamps=1
;opcache.revalidate_freq=2

As for restarting, I did restart php/fpm several times -- in fact I upgraded from 8.1 to 8.2 then 8.3 just in case (other issue I had where that seemed relevant to at least try, since we could not find any reasonable explanation). Only thing I'm yet to try is to restart memcache and the bloody server :)

Won't work, have done that, just in case I missed a service.
It doesn't appear to be an opcache issue either

cmigliorini commented 6 months ago

As for restarting, I did restart php/fpm several times -- in fact I upgraded from 8.1 to 8.2 then 8.3 just in case (other issue I had where that seemed relevant to at least try, since we could not find any reasonable explanation). Only thing I'm yet to try is to restart memcache and the bloody server :)

restarting memcache did not help.

Also you asked: I first upgraded to 28.0.6.1 through the web updater, then ran into https://github.com/nextcloud/server/issues/45491, so I upgraded manually -- downloaded the zip from the URL offered by the web updater, then went through the f... manual :). It worked, then Memories required that I upgraded Posgres to 14, which I did. But I'm still having this issue...

cmigliorini commented 6 months ago

Funny thing: it first concerned 4 apps, none of them would actually be accessible. Now only Tasks and Memories are inaccessible and I only get the message for them. No warning, no console message, no error, no redirect.

Also I realize that I'm spamming this ticket which does not exactly applies to my case (my 29.0.1 works but for these messages -- and Memories but that might be irrelevant). Before I shut up until requested to talk:

I verified (browser devtools, logger app) that every time the logger polls for new entries, I get several of these (Info) messages for both apps (Tasks, Memories). So it's definitely the backend trying to find routes for apps and failing to do so.

cmigliorini commented 5 months ago

Disabling "fulltextsearch" then reenabling it solved the issue. Don't know if that works for @mayonezo @EnderArchery ?

EnderArchery commented 5 months ago

It seemed to work for a view seconds but... no, they came back

cmigliorini commented 5 months ago

It seemed to work for a view seconds but... no, they came back

Indeed, I wrote too fast. Maybe this: https://github.com/nextcloud/server/issues/45223#issuecomment-2145788194, will try later

cmigliorini commented 5 months ago

It was established the cause is -> https://github.com/nextcloud/fulltextsearch/issues/842. Not a Nextcloud Server issue.

mayonezo commented 5 months ago

opcache.validate_timestamps=1 is commented out and opcache.revalidate_freq=60

I think you did not quite finish your answer? What do I simply need?

Yes, they are all working. I get these messages with every update I start, like today, when I updated from v28.0.2 to v28.0.3

@mayonezo This may just be a PHP opcache caching matter. The safest thing to do is to restart mod_php/fpm after an upgrade. What method, precisely, are you using to upgrade Nextcloud? Also, what are your PHP's web/fpm opcache.validate_timestamps and opcache.revalidate_freq values? You may simply need

@cmigliorini Same question to you.

mayonezo commented 5 months ago

I don't have fulltextsearch installed.

Disabling "fulltextsearch" then reenabling it solved the issue. Don't know if that works for @mayonezo @EnderArchery ?

joshtrichards commented 4 months ago

@mayonezo You did not include much in your initial report. This will likely get closed out unless you update your initial report with your:

nextcloud-command commented 3 months ago

This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions.