Users tab - not all users are shown at once
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.
I have similar problem, but i can see about 35 user, can anyone help?
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.
In my case users aren't show also if I scroll down to the end, and I have less then of 50 users.
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 Thanks! That worked for me! I changed the value to 1000, it takes some time (15 - 20s) now, but that's ok.
@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.
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?
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
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!
wait.
This still is an issue. Nothing has changed.
That's why nobody says anything…
Not because it's resolved.
@simsala sure, no problem. Just general cleanup of issues. Reopening.
So can anyone take this on? @bantu @VicDeo @ringmaster
@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
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
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".
maybe add a timer and load chunks of X users until all are loaded? :wild-guess:
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.
@DeepDiver1975 I am on for writing tests. :)
I hope this will be fixed with the new user management backend in ownCloud 7
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.
self assigning most of the settings issues. food for november. :)