Unable to generate a URL for the named route "calendar.view.index"

The following calendar error is suddenly output from two days ago. It occurs 3 times an hour.

[no app in context] Error: Symfony\Component\Routing\Exception\RouteNotFoundException: Unable to generate a URL for the named route "calendar.view.index" as such route does not exist. at <<closure>>

 0. /MY-NEXTCLOUD/lib/private/Route/Router.php line 339
    Symfony\Component\Routing\Generator\UrlGenerator->generate("calendar.view.index", [], 1)
 1. /MY-NEXTCLOUD/lib/private/Route/CachingRouter.php line 59
    OC\Route\Router->generate("calendar.view.index", [], false)
 2. /MY-NEXTCLOUD/lib/private/URLGenerator.php line 82
    OC\Route\CachingRouter->generate("calendar.view.index", [])
 3. /MY-NEXTCLOUD/lib/private/NavigationManager.php line 293
    OC\URLGenerator->linkToRoute("calendar.view.index")
 4. /MY-NEXTCLOUD/lib/private/NavigationManager.php line 114
    OC\NavigationManager->init()
 5. /MY-NEXTCLOUD/apps/theming/lib/ThemingDefaults.php line 182
    OC\NavigationManager->getAll("guest")
 6. /MY-NEXTCLOUD/lib/private/legacy/defaults.php line 263
    OCA\Theming\ThemingDefaults->getShortFooter()
 7. /MY-NEXTCLOUD/lib/public/Defaults.php line 169
    OC_Defaults->getLongFooter()
 8. /MY-NEXTCLOUD/core/templates/layout.guest.php line 55
    OCP\Defaults->getLongFooter()
 9. /MY-NEXTCLOUD/lib/private/Template/Base.php line 179
    include("/MY-NEXTC ... p")
10. /MY-NEXTCLOUD/lib/private/Template/Base.php line 151
    OC\Template\Base->load("/MY-NEXTC ... p", null)
11. /MY-NEXTCLOUD/lib/private/legacy/template.php line 181
    OC\Template\Base->fetchPage(null)
12. /MY-NEXTCLOUD/lib/private/legacy/template.php line 212
    OC_Template->fetchPage(null)
13. /MY-NEXTCLOUD/lib/private/Template/Base.php line 132
    OC_Template->fetchPage()
14. /MY-NEXTCLOUD/lib/private/legacy/template.php line 300
    OC\Template\Base->printPage()
15. /MY-NEXTCLOUD/remote.php line 82
    OC_Template::printErrorPage("Path not found", "", 404)
16. /MY-NEXTCLOUD/remote.php line 168
    handleException(RemoteException {})

PROPFIND /remote.php
from IP-ADDRESS by USERs-NAME at TIME: 

Only a few users are affected, not all. They have been using calendars for a long time.
Some other errors, such as “Unable to generate a URL”, have been reported on this forum, but can these be basically ignored? What I’m worried about is that it suddenly started to occur.

Calendar was updated to Ver.2.0.2. Is this the cause?
I have never downgraded a calendar.app. Can I downgrade by simply replacing my old calendar app?


Nextcloud 18.0.1, Calender 2.0.2, CentOS 7.7, Nginx 1.16.1, PHP 7.3.15, MariaDB 10.2.31

Same here, since NC 18.0.3 upgrade.

NC 18.0.3
Calendar 2.0.2
PHP 7.3.14
MariaDB 10.4.12
Debian 10… (up to date)

I run NC with nginx, but I had temporarily stopped nginx for about 3 hours the other day. The same error was issued while it was stopped.

I’ve updated to Calendar 2.0.3. It may be less frequent than before. But this error is still happening.

1 Like