-
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
Users page loads all groups, make page unaccessible, i.e. not possible to manage users #9201
Comments
Can you post a full bug report using the issue template please? |
Steps to reproduce
Expected behaviourList of all users. Links to manage users. Actual behaviourThe Users page never loads and we are disconnected. Server configurationOperating system: Debian 7 Web server: Database: PHP version: List of activated apps: The content of config/config.php: Are you using external storage, if yes which one: local/smb/sftp/... NFS 4 on iSCSI. Are you using encryption: yes/no No Client configurationBrowser: Operating system: LogsWeb server error logNothing owcloud.mydomain.com 192.168.1.10 - - [25/Jun/2014:14:32:05 +0200] "GET /core/img/noise.png?2014-04-29T01:25:00Z HTTP/1.0" 200 3125 "https://owcloud.mydomain.com/remote.php/core.css?v=b56ea7b6aa77f6f9008bc9362fab3597" "Mozilla/5.0 (X11; Linux i686; rv:30.0) Gecko/20100101 Firefox/30.0" ownCloud log (data/owncloud.log)owncloud.log : nothing about this request Browser log
|
Seems that I see the same with latest stable6. Looks like we have introduced a regression. |
Although there are no changes in settings/users.php or the corresponding js. hm… somehow a search over any users is triggered. |
I need to correct me, it look like it only occurs with a lot of groups, because they are loaded all at once :-/ but that is not new. @odesport can you confirm you have a significant amount of LDAP groups? |
Yes. There are 380 000 groups in the oc_ldap_group_mapping table. |
Thank you for confirmation, I adjusted the title. |
The problem exists also in master. |
It sounds like this remains an issue in 7, since it is an issue in master? |
We need to release note the limitation of large numbers of groups making it difficult to manage users in ownCloud. |
We also need to look at how we handle large number of user groups, either with filters on the front, or can figure out how to handle it. |
#9014 Related. |
We need to make groups lazy-load like users, or at least get them via ajax instead of upon page generation. |
I'll look into making the sidebar lazy load the groups. Note that this is only half the solution because the groups for the dropdowns will still be loaded before the page is rendered. One possible solution for this is use select2 + ajax load as I have done here: #10968 Also there's the question whether to add infinite scrolling to the sidebar as well... I'll start with a simple ajax lazy load for the sidebar for now... |
Can we do a lazy load of groups in both places, with a type ahead filter? |
We can, but for the type ahead we'd better use select2 to save some time... (similar to the external storage user/group selection) Also we might need to make the user list full-ajax instead of having the first page rendered on the server and the next pages with ajax. I'm experimenting with that at the moment. |
no time for this, moving to "planned" for the next release |
Hey, this issue has been closed because the label (This is an automated comment from GitMate.io.) |
Hey, this issue has been closed because the label (This is an automated comment from GitMate.io.) |
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. |
Hi,
When I connect with the admin profile, the Users page never loads and I'm disconnected. I have to delete cookie to re-connect with the admin account. I use LDAP to athenticate users and the oc_ldap_user_mapping in the MySQL DB contains 115000 entries.
I use Nginx as reverse proxy and two Apache servers behind.
Thanks
The text was updated successfully, but these errors were encountered: