Skip to content
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

[master] LDAP app not loaded during upgrade #26226

Closed
PVince81 opened this issue Sep 27, 2016 · 6 comments
Closed

[master] LDAP app not loaded during upgrade #26226

PVince81 opened this issue Sep 27, 2016 · 6 comments

Comments

@PVince81
Copy link
Contributor

Observed while running #26124

The UserManager object only iterates over local users.

Debugging showed that this call https://github.com/owncloud/core/blob/master/lib/private/Updater.php#L283 doesn't load any apps because loadApps checks for the maintenance flag and skips loading.

@DeepDiver1975 has anything changed here recently ?

@PVince81
Copy link
Contributor Author

PVince81 commented Sep 27, 2016

Okay, easier steps:

  1. Enable LDAP app and it up so it has users
  2. Increase version in version.php
  3. Set a breakpoint at https://github.com/owncloud/core/blob/master/lib/private/Updater.php#L283
  4. Run occ upgrade
  5. Debug into loadApps and see that it returns directly.

@DeepDiver1975
Copy link
Member

@DeepDiver1975 has anything changed here recently ?

nothing I can think of right away ...

@PVince81
Copy link
Contributor Author

I'm not yet 100% sure it's that loadApps call. When debugging on 9.1 it seems to also skip but worked because maybe it was enabled before.

In general it does seem that loadApps('authentication') never does anything so it doesn't fulfil its purpose.

@PVince81
Copy link
Contributor Author

silly me, I forgot that user_ldap is now in a separate repo...

Not critical then.

However it is still suspicious that loadApps('authentication') doesn't do anything, could hide potential issues.

@PVince81
Copy link
Contributor Author

Raised #26227 for an addition update check to make sure all auth apps are loaded.

@lock
Copy link

lock bot commented Jul 31, 2019

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.

@lock lock bot locked as resolved and limited conversation to collaborators Jul 31, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants