Skip to content
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]: "Unable to generate a URL for the named route" messages with every update #43910

Open
4 of 8 tasks
mayonezo opened this issue Feb 29, 2024 · 16 comments
Open
4 of 8 tasks
Labels

Comments

@mayonezo
Copy link

mayonezo commented Feb 29, 2024

⚠️ 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?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

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

@mayonezo mayonezo added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Feb 29, 2024
@joshtrichards
Copy link
Member

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
Copy link
Author

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
Copy link

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:

  • memories
  • maps
  • tasks
  • mediadc

Should I raise a new ticket for this?

@joshtrichards
Copy link
Member

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
Copy link

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
Copy link

EnderArchery commented May 28, 2024

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

@cmigliorini
Copy link

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
Copy link

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
Copy link

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 #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
Copy link

cmigliorini commented May 28, 2024

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
Copy link

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

@EnderArchery
Copy link

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

@cmigliorini
Copy link

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

Indeed, I wrote too fast. Maybe this: #45223 (comment), will try later

@cmigliorini
Copy link

It was established the cause is -> nextcloud/fulltextsearch#842. Not a Nextcloud Server issue.

@mayonezo
Copy link
Author

mayonezo commented Jun 4, 2024

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
Copy link
Author

mayonezo commented Jun 4, 2024

I don't have fulltextsearch installed.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants