Group Folders: Unable to use app with 1000+ Active Directory catalog

Summary of the issue you are facing:

We have an issue with Group Folders plugin.
In our Nextcloud anable Active Directory sync with 1000+ User Groups.
When i want to create a test folder, it cannot be assemble to any group.
After some time i can try to choose some group, but when all any options disapear and screen go empty, except header.
Browser Console has an error:
“RangeError: Maximum call stack size exceeded…”

What reasons cause this error and can we (with huge AD-team catalog) even work in plugin?

The Basics

  • Nextcloud Server: 31.0.14
  • Operating system and version : Linux 5.15.0-153-generic x86_64
  • Web server and version (e.g, Apache 2.4.25): 2.4.66
  • PHP version (e.g, 8.3): 8.3.30
  • Is this the first time you’ve seen this error? (Yes / No): Yes
  • Installation method (e.g. AIO, NCP, Bare Metal/Archive, etc.): AIO

Steps to replicate it (hint: details matter!):

  1. Add Team Folders in you Nextcloud
  2. Go to Team Folders settings
  3. Create custom folder
  4. Try to connect group to new folder

Log entries

Web Browser - Chrome

react-dom.production.min.js:216 RangeError: Maximum call stack size exceeded
    at new e (vue.runtime.esm.js:830:14)
    at Te (vue.runtime.esm.js:897:16)
    at Le (vue.runtime.esm.js:917:49)
    at new e (vue.runtime.esm.js:866:17)
    at Te (vue.runtime.esm.js:897:16)
    at Le (vue.runtime.esm.js:917:49)
    at new e (vue.runtime.esm.js:866:17)
    at Te (vue.runtime.esm.js:897:16)
    at Le (vue.runtime.esm.js:917:49)
    at new e (vue.runtime.esm.js:866:17)
(anonymous)	@	react-dom.production.min.js:216

Add info as many as can in issue

With this many AD objects to sync are you sure that this is still an issue for the community? This looks more like an enterprise setup where you should get support from Nextcloud GmbH.

What do you mean?

I mean that you should probably get paid support for your Nextcloud. If you’re really using more than 1000 groups in Nextcloud, it’s very unlikely that you will find someone here who’s able to help you. This looks very much like an enterprise use-case.

You can get a quote for paid support here: Get a quote - Nextcloud