-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Upgrade to 8.1.3 fails with URL route error #19145
Comments
Running the update once again works, but I am not able to enable the Contacts app anymore. Relevant log line:
|
Had to run the update once again (?), and this time everything seems to work. I have been able to enable the Contacts app now. I'm not sure what happened, but would be happy to provide additional detail if necessary |
Dup of: #18224 |
Apologies, didn't see it. |
@lmontrieux I'm just wondering as #18224 had stated that this should be fixed with 8.1.2/8.1.3 |
Good point. Reopening, since apparently the issue is still there |
Hmm, this should have been fixed with 8.1.3, since the fix in #18844 made it in before the release. |
Confirmed from deb repo. Second occ upgrade ran without the error, but a third run was needed to get everything, including all apps, enabled again. |
OK, so the problem is two-fold:
|
+1 |
+1 -> Me too: At the first try, the route error (see above) occurred. The second update try was successful, then had to activate calendar and contacts app in the apps section. After each activation a new run of update was needed. |
@classen, yeah, same here. However, contacts still don't work. |
The extra DB update run is normal, because the app's DB needs to be updated too. Anyone still having these issues with 8.2 ? |
I have this with an upgrade from 8.1.3 to 8.1.4.
|
I might have a solution to this. It won't be pretty, but it should solve the problem. Give me 24h to create a PR. EDIT: Never mind, I couldn't think of a clean way to implement it. This was the idea: Loading an app will make sure the router knows it isn't fully loaded, by setting |
@cmonteroluque I just set the sev to high, because there is at least one bug report for this per day. Feel free to downgrade it if you think it's not that critical. |
I get this exception after an upgrade from 8.0.4 to 8.1.3, but only under the administrator account: "Symfony\Component\Routing\Exception\RouteNotFoundException","Message": So, like everyone else, I had to run "occ upgrade" after enabling each app (contacts, calendar, galleryplus), but everything went smoothly then. And my apps are working fine for everybody, except the admin. |
@LukasReschke any idea ? I heard you mention something about magic hacky routes for the settings non-app ? |
This is not only related to settings. Also random apps fail. Sometimes music/news/contacts ... just randomly...I guess this has to do with app loading order. |
I ended up commenting out the "More Apps" menu entry (lines 64-74) in "core/templates/layout.user.php" until a fix is released. |
@a-germain How ist the "More Apps" related to this issue? |
@RealRancor please see my previous post:
The layout has a route for "settings_apps" that appears as the "More Apps" in the user menu. In my case, since only the "settings_apps" threw an exception after upgrading, and it's not an app you can disable, removing the chunk of code responsible for displaying it "solves" my issue temporarly. I understand it would not fix it for other use cases, like contact or gallery, etc. |
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. |
I see a bunch of people saying that giving the upgrade another shot should "fix" the issue, but in my case, the last upgrade was successful. Now if I run it again it says: php ./occ upgrade Am I experiencing a different issue? |
What worked for me was to move the calendar/ folder out of the apps/ folder and reinstall it via the admin panel. After you do this, Owncloud will detect that the files for the calendar/ app are more recent than the DB records and next time you try to access Owncloud in the browser it will prompt for an update (which you can't avoid anyway). Follow that and everything should be back and proper. |
@icewind1991 please ask for help from @Xenopathic or @LukasReschke if needed |
Catch missing route exceptions: #20788 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Trying to update to 8.1.3, I get the following error, and the update fails:
Here are the last few lines of owncloud.log, which seem related:
The text was updated successfully, but these errors were encountered: