After updating from NC 17 to 18 I am getting a lot of error messages in log.
I am trying to find what is going on but not success.
so here is a error message, please can you describe where problem is? or can you provide some solution? thanks
Symfony\Component\Routing\Exception\RouteNotFoundException: Unable to generate a URL for the named route "photos.page.index" as such route does not exist.
/usr/share/webapps/nextcloud/lib/private/Route/Router.php - line 339:
Symfony\Component\Routing\Generator\UrlGenerator->generate()
/usr/share/webapps/nextcloud/lib/private/Route/CachingRouter.php - line 59:
OC\Route\Router->generate()
/usr/share/webapps/nextcloud/lib/private/URLGenerator.php - line 82:
OC\Route\CachingRouter->generate()
/usr/share/webapps/nextcloud/lib/private/NavigationManager.php - line 293:
OC\URLGenerator->linkToRoute()
/usr/share/webapps/nextcloud/lib/private/NavigationManager.php - line 114:
OC\NavigationManager->init()
/usr/share/webapps/nextcloud/apps/theming/lib/ThemingDefaults.php - line 182:
OC\NavigationManager->getAll()
/usr/share/webapps/nextcloud/lib/private/legacy/defaults.php - line 263:
OCA\Theming\ThemingDefaults->getShortFooter()
/usr/share/webapps/nextcloud/lib/public/Defaults.php - line 169:
OC_Defaults->getLongFooter()
/usr/share/webapps/nextcloud/core/templates/layout.guest.php - line 55:
OCP\Defaults->getLongFooter()
/usr/share/webapps/nextcloud/lib/private/Template/Base.php - line 179:
include("/usr/share/ ... p")
/usr/share/webapps/nextcloud/lib/private/Template/Base.php - line 151:
OC\Template\Base->load()
/usr/share/webapps/nextcloud/lib/private/legacy/template.php - line 181:
OC\Template\Base->fetchPage()
/usr/share/webapps/nextcloud/lib/private/legacy/template.php - line 212:
OC_Template->fetchPage()
/usr/share/webapps/nextcloud/lib/private/Template/Base.php - line 132:
OC_Template->fetchPage()
/usr/share/webapps/nextcloud/lib/private/legacy/template.php - line 300:
OC\Template\Base->printPage()
/usr/share/webapps/nextcloud/remote.php - line 82:
OC_Template::printErrorPage()
/usr/share/webapps/nextcloud/remote.php - line 168:
handleException()
Symfony\Component\Routing\Exception\RouteNotFoundException: Unable to generate a URL for the named route “photos.page.index” as such route does not exist.
[no app in context] Error: Symfony\Component\Routing\Exception\RouteNotFoundException: Unable to generate a URL for the named route “photos.page.index” as such route does not exist. at <>
/var/www/nextcloud/lib/private/Route/Router.php line 339
Symfony\Component\Routing\Generator\UrlGenerator->generate(“photos.page.index”, [], 1)
/var/www/nextcloud/lib/private/Route/CachingRouter.php line 59
OC\Route\Router->generate(“photos.page.index”, [], false)
/var/www/nextcloud/lib/private/URLGenerator.php line 82
OC\Route\CachingRouter->generate(“photos.page.index”, [])
/var/www/nextcloud/lib/private/NavigationManager.php line 293
OC\URLGenerator->linkToRoute(“photos.page.index”)
/var/www/nextcloud/lib/private/NavigationManager.php line 114
OC\NavigationManager->init()
/var/www/nextcloud/apps/theming/lib/ThemingDefaults.php line 182
OC\NavigationManager->getAll(“guest”)
/var/www/nextcloud/lib/private/legacy/defaults.php line 263
OCA\Theming\ThemingDefaults->getShortFooter()
/var/www/nextcloud/lib/public/Defaults.php line 169
OC_Defaults->getLongFooter()
/var/www/nextcloud/core/templates/layout.guest.php line 55
OCP\Defaults->getLongFooter()
/var/www/nextcloud/lib/private/Template/Base.php line 179
include("/var/www/nextcl … p")
/var/www/nextcloud/lib/private/Template/Base.php line 151
OC\Template\Base->load("/var/www/nextcl … p", null)
/var/www/nextcloud/lib/private/legacy/template.php line 181
OC\Template\Base->fetchPage(null)
/var/www/nextcloud/lib/private/legacy/template.php line 212
OC_Template->fetchPage(null)
/var/www/nextcloud/lib/private/Template/Base.php line 132
OC_Template->fetchPage()
/var/www/nextcloud/lib/private/legacy/template.php line 300
OC\Template\Base->printPage()
/var/www/nextcloud/remote.php line 82
OC_Template::printErrorPage(“Path not found”, “”, 404)
/var/www/nextcloud/remote.php line 168
handleException(RemoteException {})
OPTIONS /remote.php/
from client-ip by nc_user at 2020-02-14T15:01:37+01:00
I have the same issue… clean install via the setup script
[no app in context] Error: Symfony\Component\Routing\Exception\RouteNotFoundException: Unable to generate a URL for the named route “photos.page.index” as such route does not exist. at <>
/var/www/html/nextcloud/lib/private/Route/Router.php line 339
Symfony\Component\Routing\Generator\UrlGenerator->generate(“photos.page.index”, [], 1)
/var/www/html/nextcloud/lib/private/Route/CachingRouter.php line 59
OC\Route\Router->generate(“photos.page.index”, [], false)
/var/www/html/nextcloud/lib/private/URLGenerator.php line 82
OC\Route\CachingRouter->generate(“photos.page.index”, [])
/var/www/html/nextcloud/lib/private/NavigationManager.php line 293
OC\URLGenerator->linkToRoute(“photos.page.index”)
/var/www/html/nextcloud/lib/private/NavigationManager.php line 114
OC\NavigationManager->init()
/var/www/html/nextcloud/apps/theming/lib/ThemingDefaults.php line 182
OC\NavigationManager->getAll(“guest”)
/var/www/html/nextcloud/lib/private/legacy/defaults.php line 263
OCA\Theming\ThemingDefaults->getShortFooter()
/var/www/html/nextcloud/lib/public/Defaults.php line 169
OC_Defaults->getLongFooter()
/var/www/html/nextcloud/core/templates/layout.guest.php line 55
OCP\Defaults->getLongFooter()
/var/www/html/nextcloud/lib/private/Template/Base.php line 179
include("/var/www/html/n … p")
/var/www/html/nextcloud/lib/private/Template/Base.php line 151
OC\Template\Base->load("/var/www/html/n … p", null)
/var/www/html/nextcloud/lib/private/legacy/template.php line 181
OC\Template\Base->fetchPage(null)
/var/www/html/nextcloud/lib/private/legacy/template.php line 212
OC_Template->fetchPage(null)
/var/www/html/nextcloud/lib/private/Template/Base.php line 132
OC_Template->fetchPage()
/var/www/html/nextcloud/lib/private/legacy/template.php line 333
OC\Template\Base->printPage()
/var/www/html/nextcloud/index.php line 65
OC_Template::printExceptionErrorPage(Exception {}, 500)
OK, but what is the solution, I think that switching those apps off is not correct one. I could not find bug report for this so not sure if someone is working on this. I dont have github account and dont want to create it for just this one thing …
How do you guys connect to Nextcloud? What system do you guys running?
I got those answers from user kesselb on Github
The log message is triggered by GVfs sending a OPTIONS request for /nextcloud/remote.php/. I guess you mounted Nextcloud via Nautilus.
Nextcloud does not understand that request, tries to show a error page and fails on generating routes for some apps.
I am not using Nautilus nor webdav connections.
I also don’t understand why different apps are causing this message. That can’t have anything to do with GVFS, can it?
Could it be caused by the so called Gnome Online Accounts? This feature is available in Cinnamon too, as far as I know. Me and a couple of users are using Fedora with Cinnamon DE and the rest is using Windows and Apple based units.
I have Cinnamon with installed gnome-online-account package version 3.36.0 on Fedora 32. Get the this error with activated “files” but not with disabled “files”.