-
Notifications
You must be signed in to change notification settings - Fork 3
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
wrong users list and empty export csv file #64
Comments
NC : 21.0.2 (i can give you an export of occ list users with user_id if it helps) |
No need for a full list, yet. Thank you for offering this. Do you see any commonalities in the affected (not listed) user accounts? Even independent of the user ID? FTR: A quick test on a Nextcloud 20.0.10 instance with a user id set to "_1602" did not provoke an issue. So the leading underscores I suspected first probably aren't related. Could you add which PHP version is used on the server/laptop hosting the userexport script? And thank you for posting the user/groups/download time info! Ref: Seems to be similar to #61 |
@labrude91 You could also test the API response directly from a shell with cURL:
Simply replace Repeat this using a non-affected user ID and compare the two outputs. Maybe you can find something of interest in the diff. |
Thank you for your quick answer. But could you post one or more of the IDs that are missing in the list? No commonalities in the list of missing users or long displayname or emojis.. |
My PHP version on my laptop is : PHP 7.3.24 I have since reduced the number of users. I now have 4,186. For the stat : |
Thank you for checking and adding the information. Interesting is the execution time for fetching the userlist (68,8 s for a single API call). This seems far too long for such a simple list, especially as it takes even longer than transferring the whole detailed userdata (in your case 4186 separate API calls). EDIT: The long query time could be linked to LDAP. I do not know how Nextcloud handles this in the background, but if it checks the userlist with the LDAP server first before serving the API request, this might be the reason. I am preparing a debug version/patch, that will give us more insight into the process. It will be accessible in a debug branch. Will give instructions on how to use it as soon as it's ready. |
Maybe related and possible solution: #65 |
Hello,
When I try to display a list of users with table or csv, there is a lot of empty values and I don't find all my users.
(screenshot1) If I try to Download CSV, this one is empty : 0 Ko
For information I use LDAP backend and I have 12000 users in here.
(Downloaded: 12234 users and 1 groups in 149.0 seconds)
I try 2 differents configuration : local Apache2/Php webserver in my ldaptop in MacOS Big Sur and in a webserver (Debian).
Some Help, please ?
The text was updated successfully, but these errors were encountered: