-
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
Add warning on update that an app's code is missing #26227
Comments
I suppose this kind of situation could also happen when people upgrade using tarballs and forget to also move over the installed apps code. This is especially important for authentication apps. |
@VicDeo can you look into this ? Goal is mostly to make sure that we're not breaking up Let me know if you need help to setup LDAP quickly for the sake of testing. I usually use this docker https://github.com/owncloud/administration/tree/master/ldap-testing + zombies. To reproduce the issue:
Expected resultBefore the upgrade, when loading authentication apps, notice that code is missing and abort Actual resultUpgrade runs but repair steps do not run on LDAP users since the app is missing. |
@PVince81 Should it abort for any missing app or user_ldap only? |
I'd say for any app that is expected to be there. |
was added in 10.0.0 |
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. |
When loading apps during an upgrade, first check whether the app's code is really there.
For example if user_ldap is missing but is enabled, if someone runs an upgrade the repair steps will miss the LDAP users silently.
Best would be to be more strict here and stop the upgrade early.
This happened to me while testing an update from git v9.1.1 to master and forgot to check out the user_ldap repo on master.
@DeepDiver1975 @butonic @VicDeo
The text was updated successfully, but these errors were encountered: