-
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
RouteNotFoundException during upgrade of an app #18861
Milestone
Comments
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
URLGenerator->linkToRoute('appname.page.index')
right inside theappinfo/app.php
(not inside a closure for the app navigation) - like the music app: https://github.com/owncloud/music/blob/bd492a38b0f90004805f0f80547d546aa2f7fa7d/appinfo/app.php#L26./occ app:enable appname
./occ app:disable appname
./occ app:enable appname
./occ upgrade
Expected
Upgrade runs just fine
Actual
Upgrade is broken an can not be executed
This is because the upgrade logic loads the app.php and then it want to load the route which is not loaded via
OC_App::loadApp
cc @Xenopathic @LukasReschke @nickvergessen
similiar to #8361 but on upgrade not in apps management.
The text was updated successfully, but these errors were encountered: