Skip to content

[Bug]: Administrative Account Page hangs when having many (ldap-)groups #50067

@someone-somenet-org

Description

@someone-somenet-org

⚠️ This issue respects the following points: ⚠️

Bug description

During testing the migratability of a bigger owncloud instance to nextcloud i encountered an issue that the Administrative Account Page will not load, in the form that the tab will hang indefinitely or crash.

It seems that something goes awry with "too many" groups.

(10000 LDAP/AD-users, 15000 LDAP/AD-groups and 10 local-db-users, 500 local-db-groups; most of which are dead/inactive)

Steps to reproduce

  1. Have 10000 LDAP/AD-users, 15000 LDAP/AD-groups + 10 local-db-users, 500 local-db-groups
  2. Open https://.../index.php/settings/users
  3. Tab hangs or crashes.

Disable LDAP-Groups (set group filter to for example (&(|(objectclass=groupp))))

  1. Have 10000 LDAP/AD-users, 0 LDAP/AD-groups + 10 local-db-users, 500 local-db-groups
  2. Open https://.../index.php/settings/users
  3. Tab loads after a while.

Expected behavior

The Tab to load always.

Nextcloud Server version

30

Operating system

RHEL/CentOS

PHP engine version

PHP 8.2

Web server

Apache (supported)

Database engine version

MySQL

Is this bug present after an update or on a fresh install?

None

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

List of activated Apps

Nextcloud Signing status

Nextcloud Logs

Additional info

No response

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions