{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/19145","labels_url":"https://api.github.com/repos/owncloud/core/issues/19145/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/19145/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/19145/events","html_url":"https://github.com/owncloud/core/issues/19145","id":107137114,"number":19145,"title":"Upgrade to 8.1.3 fails with URL route error","user":{"login":"lmontrieux","id":203099,"avatar_url":"https://avatars.githubusercontent.com/u/203099?v=3","gravatar_id":"","url":"https://api.github.com/users/lmontrieux","html_url":"https://github.com/lmontrieux","followers_url":"https://api.github.com/users/lmontrieux/followers","following_url":"https://api.github.com/users/lmontrieux/following{/other_user}","gists_url":"https://api.github.com/users/lmontrieux/gists{/gist_id}","starred_url":"https://api.github.com/users/lmontrieux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmontrieux/subscriptions","organizations_url":"https://api.github.com/users/lmontrieux/orgs","repos_url":"https://api.github.com/users/lmontrieux/repos","events_url":"https://api.github.com/users/lmontrieux/events{/privacy}","received_events_url":"https://api.github.com/users/lmontrieux/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/owncloud/core/labels/sev2-high","name":"sev2-high","color":"fc2929"},{"url":"https://api.github.com/repos/owncloud/core/labels/update","name":"update","color":"e10c02"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/61","html_url":"https://github.com/owncloud/core/milestones/8.1.5-current-maintenance","labels_url":"https://api.github.com/repos/owncloud/core/milestones/61/labels","id":1300948,"number":61,"title":"8.1.5-current-maintenance","description":null,"creator":{"login":"MorrisJobke","id":245432,"avatar_url":"https://avatars.githubusercontent.com/u/245432?v=3","gravatar_id":"","url":"https://api.github.com/users/MorrisJobke","html_url":"https://github.com/MorrisJobke","followers_url":"https://api.github.com/users/MorrisJobke/followers","following_url":"https://api.github.com/users/MorrisJobke/following{/other_user}","gists_url":"https://api.github.com/users/MorrisJobke/gists{/gist_id}","starred_url":"https://api.github.com/users/MorrisJobke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MorrisJobke/subscriptions","organizations_url":"https://api.github.com/users/MorrisJobke/orgs","repos_url":"https://api.github.com/users/MorrisJobke/repos","events_url":"https://api.github.com/users/MorrisJobke/events{/privacy}","received_events_url":"https://api.github.com/users/MorrisJobke/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":12,"state":"open","created_at":"2015-09-11T12:40:05Z","updated_at":"2015-11-13T09:51:03Z","due_on":"2015-12-23T00:00:00Z","closed_at":null},"comments":23,"created_at":"2015-09-18T05:35:15Z","updated_at":"2015-11-15T10:39:32Z","closed_at":null,"body":"Trying to update to 8.1.3, I get the following error, and the update fails:\r\n\r\n```\r\nSymfony\\Component\\Routing\\Exception\\RouteNotFoundException: Unable to generate a URL for the named route \"calendar_index\" as such route does not exist.\r\n```\r\n\r\nHere are the last few lines of owncloud.log, which seem related:\r\n\r\n```\r\n\"reqId\":\"xVav1QqMQl3YXheDBhin\",\"remoteAddr\":\"136.187.82.195\",\"app\":\"webdav\",\"message\":\"Exception: {\\\"Message\\\":\\\"HTTP\\\\\\/1.1 503 Service unavailable\\\",\\\"Code\\\":0,\\\"Trace\\\":\\\"#0 [internal function]: {closure}(Object(Sabre\\\\\\\\HTTP\\\\\\\\Request), Object(Sabre\\\\\\\\HTTP\\\\\\\\Response))\\\\n#1 \\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/3rdparty\\\\\\/sabre\\\\\\/event\\\\\\/lib\\\\\\/EventEmitterTrait.php(105): call_user_func_array(Object(Closure), Array)\\\\n#2 \\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/3rdparty\\\\\\/sabre\\\\\\/dav\\\\\\/lib\\\\\\/DAV\\\\\\/Server.php(456): Sabre\\\\\\\\Event\\\\\\\\EventEmitter->emit('beforeMethod', Array)\\\\n#3 \\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/3rdparty\\\\\\/sabre\\\\\\/dav\\\\\\/lib\\\\\\/DAV\\\\\\/Server.php(254): Sabre\\\\\\\\DAV\\\\\\\\Server->invokeMethod(Object(Sabre\\\\\\\\HTTP\\\\\\\\Request), Object(Sabre\\\\\\\\HTTP\\\\\\\\Response))\\\\n#4 \\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/remote.php(64): Sabre\\\\\\\\DAV\\\\\\\\Server->exec()\\\\n#5 \\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/remote.php(135): handleException(Object(RemoteException))\\\\n#6 {main}\\\",\\\"File\\\":\\\"\\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/remote.php\\\",\\\"Line\\\":55}\",\"level\":4,\"time\":\"2015-09-18T05:29:27+00:00\"}\r\n{\"reqId\":\"HHQHYqifIkZjol5gf6SL\",\"remoteAddr\":\"136.187.82.195\",\"app\":\"webdav\",\"message\":\"Exception: {\\\"Message\\\":\\\"HTTP\\\\\\/1.1 503 Service unavailable\\\",\\\"Code\\\":0,\\\"Trace\\\":\\\"#0 [internal function]: {closure}(Object(Sabre\\\\\\\\HTTP\\\\\\\\Request), Object(Sabre\\\\\\\\HTTP\\\\\\\\Response))\\\\n#1 \\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/3rdparty\\\\\\/sabre\\\\\\/event\\\\\\/lib\\\\\\/EventEmitterTrait.php(105): call_user_func_array(Object(Closure), Array)\\\\n#2 \\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/3rdparty\\\\\\/sabre\\\\\\/dav\\\\\\/lib\\\\\\/DAV\\\\\\/Server.php(456): Sabre\\\\\\\\Event\\\\\\\\EventEmitter->emit('beforeMethod', Array)\\\\n#3 \\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/3rdparty\\\\\\/sabre\\\\\\/dav\\\\\\/lib\\\\\\/DAV\\\\\\/Server.php(254): Sabre\\\\\\\\DAV\\\\\\\\Server->invokeMethod(Object(Sabre\\\\\\\\HTTP\\\\\\\\Request), Object(Sabre\\\\\\\\HTTP\\\\\\\\Response))\\\\n#4 \\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/remote.php(64): Sabre\\\\\\\\DAV\\\\\\\\Server->exec()\\\\n#5 \\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/remote.php(135): handleException(Object(RemoteException))\\\\n#6 {main}\\\",\\\"File\\\":\\\"\\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/remote.php\\\",\\\"Line\\\":55}\",\"level\":4,\"time\":\"2015-09-18T05:29:59+00:00\"}\r\n{\"reqId\":\"FmiElc+g26BN8UVAcijg\",\"remoteAddr\":\"136.187.82.195\",\"app\":\"index\",\"message\":\"Exception: {\\\"Exception\\\":\\\"OC\\\\\\\\NeedsUpdateException\\\",\\\"Message\\\":\\\"\\\",\\\"Code\\\":0,\\\"Trace\\\":\\\"#0 \\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/app.php(98): OC_App::loadApp('activity')\\\\n#1 \\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/util.php(127): OC_App::loadApps(Array)\\\\n#2 \\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/lib\\\\\\/base.php(873): OC_Util::setupFS()\\\\n#3 \\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/index.php(40): OC::handleRequest()\\\\n#4 {main}\\\",\\\"File\\\":\\\"\\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/app.php\\\",\\\"Line\\\":118}\",\"level\":4,\"time\":\"2015-09-18T05:30:10+00:00\"}\r\n{\"reqId\":\"1TMm\\/QK7ffnXVTTvxCVm\",\"remoteAddr\":\"136.187.82.195\",\"app\":\"update\",\"message\":\"Exception: {\\\"Exception\\\":\\\"Symfony\\\\\\\\Component\\\\\\\\Routing\\\\\\\\Exception\\\\\\\\RouteNotFoundException\\\",\\\"Message\\\":\\\"Unable to generate a URL for the named route \\\\\\\"calendar_index\\\\\\\" as such route does not exist.\\\",\\\"Code\\\":0,\\\"Trace\\\":\\\"#0 \\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/route\\\\\\/router.php(306): Symfony\\\\\\\\Component\\\\\\\\Routing\\\\\\\\Generator\\\\\\\\UrlGenerator->generate('calendar_index', Array, false)\\\\n#1 \\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/urlgenerator.php(65): OC\\\\\\\\Route\\\\\\\\Router->generate('calendar_index', Array)\\\\n#2 \\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/helper.php(139): OC\\\\\\\\URLGenerator->linkToRoute('calendar_index', Array)\\\\n#3 \\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/lib\\\\\\/public\\\\\\/util.php(306): OC_Helper::linkToRoute('calendar_index', Array)\\\\n#4 \\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/apps\\\\\\/calendar\\\\\\/appinfo\\\\\\/app.php(30): OCP\\\\\\\\Util::linkToRoute('calendar_index')\\\\n#5 \\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/app.php(139): require_once('\\\\\\/var\\\\\\/www\\\\\\/ownclo...')\\\\n#6 \\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/app.php(120): OC_App::requireAppFile('calendar')\\\\n#7 \\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/app.php(1173): OC_App::loadApp('calendar', false)\\\\n#8 \\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/installer.php(218): OC_App::updateApp('calendar')\\\\n#9 \\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/installer.php(248): OC_Installer::updateApp(Array)\\\\n#10 \\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/updater.php(487): OC_Installer::updateAppByOCSId('168707')\\\\n#11 \\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/updater.php(308): OC\\\\\\\\Updater->upgradeAppStoreApps(Array)\\\\n#12 \\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/updater.php(195): OC\\\\\\\\Updater->doUpgrade('8.1.3.0', '8.1.1.3')\\\\n#13 \\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/core\\\\\\/ajax\\\\\\/update.php(87): OC\\\\\\\\Updater->upgrade()\\\\n#14 {main}\\\",\\\"File\\\":\\\"\\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/3rdparty\\\\\\/symfony\\\\\\/routing\\\\\\/Symfony\\\\\\/Component\\\\\\/Routing\\\\\\/Generator\\\\\\/UrlGenerator.php\\\",\\\"Line\\\":134}\",\"level\":4,\"time\":\"2015-09-18T05:30:26+00:00\"}\r\n```"},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/156801054","html_url":"https://github.com/owncloud/core/issues/19145#issuecomment-156801054","issue_url":"https://api.github.com/repos/owncloud/core/issues/19145","id":156801054,"user":{"login":"wiwie","id":2605261,"avatar_url":"https://avatars.githubusercontent.com/u/2605261?v=3","gravatar_id":"","url":"https://api.github.com/users/wiwie","html_url":"https://github.com/wiwie","followers_url":"https://api.github.com/users/wiwie/followers","following_url":"https://api.github.com/users/wiwie/following{/other_user}","gists_url":"https://api.github.com/users/wiwie/gists{/gist_id}","starred_url":"https://api.github.com/users/wiwie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wiwie/subscriptions","organizations_url":"https://api.github.com/users/wiwie/orgs","repos_url":"https://api.github.com/users/wiwie/repos","events_url":"https://api.github.com/users/wiwie/events{/privacy}","received_events_url":"https://api.github.com/users/wiwie/received_events","type":"User","site_admin":false},"created_at":"2015-11-15T10:39:32Z","updated_at":"2015-11-15T10:39:32Z","body":"The update seems to work for me, when I start it a second time after the first failed attempt. I didn't change anything in the code."}}