core icon indicating copy to clipboard operation
core copied to clipboard

Users tab - not all users are shown at once

Open ryul opened this issue 13 years ago • 23 comments

On my Owncloud installation users in the "Users" tab are not shown all at once. Only if I scroll down to the "end" more users are load and I need to do this again and again till all users are show up.
I activated the LDAP feature, so many users (300+) need to be loaded.

What could be the problem or is this a normal behavior? If this a normal behavior it is not a good idea with many users. I need to search for specific users and can't find them, if they're not show up.

1

2

ryul avatar Jan 03 '13 12:01 ryul

I have similar problem, but i can see about 35 user, can anyone help?

StefanoCipriani avatar Jan 04 '13 19:01 StefanoCipriani

That is normal behavior. Otherwise, you would be staring a blank screen while it loaded all of the users in one go. This took minutes for installs that had thousands of users.

I'll keep this open because we do need a way to search for users in the list.

MTGap avatar Jan 04 '13 19:01 MTGap

In my case users aren't show also if I scroll down to the end, and I have less then of 50 users.

StefanoCipriani avatar Jan 04 '13 19:01 StefanoCipriani

I modified the value in the file /owncloud/settings/users.php from 30 to 40 and for me works fine

if($isadmin) { $accessiblegroups = OC_Group::getGroups(); $accessibleusers = OC_User::getUsers('', 40); $subadmins = OC_SubAdmin::getAllSubAdmins(); }else{ $accessiblegroups = OC_SubAdmin::getSubAdminsGroups(OC_User::getUser()); $accessibleusers = OC_Group::usersInGroups($accessiblegroups, '', 40); $subadmins = false; }

StefanoCipriani avatar Jan 04 '13 19:01 StefanoCipriani

@StefanoCipriani Thanks! That worked for me! I changed the value to 1000, it takes some time (15 - 20s) now, but that's ok.

ryul avatar Jan 07 '13 10:01 ryul

@MTGap Yes, that's really nescessary. I need to search for users all the time and the normal browser search feature does not work. A sort feature for names, groups, quotas would be nice too.

ryul avatar Jan 07 '13 12:01 ryul

In my case the search field in the user list does not work. Isn't this meant to work with LDAP users? How do I find a specific user if this does not work? Is there a way to filter or search users in the current version with LDAP users that works?

simsala avatar Feb 04 '13 11:02 simsala

While I understand the need for limiting the initial number of users returned, coupled with the fact that the users are not in alphabetical order it cripples the system worse than waiting 4 minutes for all 3,000 users to load. If we cannot get a search working, can we at least get a sort by option for the user list?

Edit: I found an already open issue for the sorting bug https://github.com/owncloud/core/issues/1609

slm4996 avatar Feb 21 '13 13:02 slm4996

I’m closing this issue because it has been inactive for a few months. This probably means it’s not reproducible or it has been fixed in a newer version.

Please reopen if the error still persists with the latest stable version (currently ownCloud 5.0.9) and then please use the issue template. You an also contribute directly by providing a patch – see the developer manual. :)

Thank you!

jancborchardt avatar Aug 06 '13 21:08 jancborchardt

wait.

This still is an issue. Nothing has changed.

That's why nobody says anything…

Not because it's resolved.

simsala avatar Aug 08 '13 11:08 simsala

@simsala sure, no problem. Just general cleanup of issues. Reopening.

So can anyone take this on? @bantu @VicDeo @ringmaster

jancborchardt avatar Aug 08 '13 12:08 jancborchardt

@bantu @VicDeo @ringmaster we only need a 'quick hack' for stable5 - OC6 will ship the new user management @raghunayyar Please add tests with big number of users and groups to the new implementation of user management. THX

DeepDiver1975 avatar Aug 08 '13 12:08 DeepDiver1975

Stumbled across this today, I have the same issue, although the user list NEVER seems to populate fully, 700 LDAP Users in 2 OUs, Windows AD, Owncloud 5.0.9 running on a QNAP TS-469U. Using MYSQL

jimmyeao avatar Aug 09 '13 14:08 jimmyeao

What's the intended solution for the issue in stable5? The hacks just increased the default amount, which seems unwise for the majority of installations with low user counts. Introducing something configurable ramps this up quite a bit from a "quick hack".

ringmaster avatar Aug 09 '13 20:08 ringmaster

maybe add a timer and load chunks of X users until all are loaded? :wild-guess:

DeepDiver1975 avatar Aug 09 '13 21:08 DeepDiver1975

Ideally, even if a timer was implemented, there would be some user feedback on the screen to indicate when not all users had yet been loaded so that searching (via the browser's find operation? - reporter never specified how this was being done) for a user could be accomplished successfully after loading was complete.

ringmaster avatar Aug 09 '13 21:08 ringmaster

@DeepDiver1975 I am on for writing tests. :)

raghunayyar avatar Sep 21 '13 06:09 raghunayyar

I hope this will be fixed with the new user management backend in ownCloud 7

karlitschek avatar Oct 17 '13 11:10 karlitschek

This is an issue for us, as well. We need some way to quickly search for a user amongst the 2000+ users defined by the LDAP; and also a correct loading as they do not load alphabetically but simply in the order provided by the LDAP query.

sshipway avatar Oct 20 '13 23:10 sshipway

self assigning most of the settings issues. food for november. :)

raghunayyar avatar Oct 21 '13 10:10 raghunayyar