[SOLVED] Problem after update NC 25 with users and groups: login impossible

Nextcloud version (eg, 20.0.5): update from v.24.0.6.1 to v.25.0.0.18
Operating system and version (eg, Ubuntu 20.04): Linux h2web150 4.9.0-0.bpo.12-amd64 #1 SMP Debian 4.9.210-1~deb8u1 (2020-02-21) x86_64
Apache or nginx version (eg, Apache 2.4.25): Apache
PHP version (eg, 7.4): 7.4.32

The issue you are facing: Following the update of Nextcloud from v.24.0.6.1 to v.25.0.0.18, login is now impossible: a blank page displays after sending identifiers and if I reload the page, I return to login.
Access is however possible for users who were already connected before the update: the system is accessible online (but more synchronization with the NC client)

Various tests have allowed me to determine that it is the registration of the user to a group that is problematic. Indeed, if I create a new user, he can log in. As soon as I register him to a group (admin group or any other), login is impossible.
Same with an existing user: if I remove it from the groups, he can connect. Otherwise, he cannot.
Note that synchronization only works for the new user.

On another NC instance, also updated at the same time, I do not encounter this problem at all. However, there are only 2 users and only the admin group. No problems connecting and using NC

Is this the first time you’ve seen this error? Y

The output of config.php file:

<?php
$CONFIG = array (
  'instanceid' => '...',
  'passwordsalt' => '...',
  'secret' => '...',
  'trusted_domains' => 
  array (
    0 => 'www.fomain.ltd',
    1 => 'fomain.ltd',
  ),
  'datadirectory' => '/.../nextcloud-data',
  'dbtype' => 'mysql',
  'version' => '25.0.0.18',
  'overwrite.cli.url' => 'https://www..../nextcloud',
  'dbname' => '...',
  'dbhost' => '...',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => '...',
  'dbpassword' => '...',
  'installed' => true,
  'updater.secret' => '...',
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 2,
);

The output of your Apache/nginx/system log in /var/log/____:

 domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:39:36 +0100] "GET /nextcloud/ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 81 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:39:06 +0100] "GET /nextcloud/ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 81 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:38:36 +0100] "GET /nextcloud/ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 81 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:38:06 +0100] "GET /nextcloud/ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 81 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:37:36 +0100] "GET /nextcloud/ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 81 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:37:06 +0100] "GET /nextcloud/ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 81 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:36:35 +0100] "GET /nextcloud/ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 81 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:36:05 +0100] "GET /nextcloud/ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 81 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:35:35 +0100] "GET /nextcloud/apps/files_rightclick/l10n/fr.js?v=199e310d-1 HTTP/1.1" 200 536 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:35:35 +0100] "GET /nextcloud/core/css/server.css.map HTTP/1.1" 200 3312 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:35:35 +0100] "GET /nextcloud/index.php/settings/admin/logging HTTP/1.1" 401 43 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:35:35 +0100] "GET /nextcloud/apps/logreader/l10n/fr.js?v=199e310d-1 HTTP/1.1" 200 632 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:35:35 +0100] "GET /nextcloud/dist/files_sharing-main.js?v=199e310d-1 HTTP/1.1" 200 254 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:35:35 +0100] "GET /nextcloud/core/l10n/fr.js?v=199e310d-1 HTTP/1.1" 200 19345 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:35:35 +0100] "GET /nextcloud/apps/theming/l10n/fr.js?v=199e310d-1 HTTP/1.1" 200 2397 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:35:35 +0100] "GET /nextcloud/apps/notifications/l10n/fr.js?v=199e310d-1 HTTP/1.1" 200 1474 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:35:35 +0100] "GET /nextcloud/apps/user_status/l10n/fr.js?v=199e310d-1 HTTP/1.1" 200 737 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:35:35 +0100] "GET /nextcloud/apps/firstrunwizard/l10n/fr.js?v=199e310d-1 HTTP/1.1" 200 4360 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:35:35 +0100] "GET /nextcloud/apps/theming/js/theming.js?v=199e310d-1 HTTP/1.1" 200 60 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:35:34 +0100] "GET /nextcloud/ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 81 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:35:35 +0100] "GET /nextcloud/apps/settings/l10n/fr.js?v=199e310d-1 HTTP/1.1" 200 15301 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:35:35 +0100] "GET /nextcloud/apps/files/l10n/fr.js?v=199e310d-1 HTTP/1.1" 200 4982 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:35:35 +0100] "GET /nextcloud/apps/files_sharing/l10n/fr.js?v=199e310d-1 HTTP/1.1" 200 5934 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:35:33 +0100] "GET /nextcloud/index.php/apps/theming/theme/default.css?plain=1&v=cdd93e4c HTTP/1.1" 500 - "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:35:33 +0100] "GET /nextcloud/dist/icons.css HTTP/1.1" 200 30980 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:35:33 +0100] "GET /nextcloud/dist/icons.css HTTP/1.1" 200 30980 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:35:33 +0100] "GET /nextcloud/index.php/apps/theming/theme/default.css?plain=1&v=cdd93e4c HTTP/1.1" 500 - "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:35:33 +0100] "GET /nextcloud/index.php/apps/theming/theme/dark.css?plain=1&v=cdd93e4c HTTP/1.1" 500 - "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:35:33 +0100] "GET /nextcloud/index.php/apps/theming/theme/dark.css?plain=1&v=cdd93e4c HTTP/1.1" 500 - "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:35:33 +0100] "GET /nextcloud/dist/icons.css HTTP/1.1" 200 30980 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:35:32 +0100] "GET /nextcloud/core/css/server.css?v=199e310d-1 HTTP/1.1" 200 27017 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:35:32 +0100] "GET /nextcloud/core/css/server.css?v=199e310d-1 HTTP/1.1" 200 27017 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:35:05 +0100] "GET /nextcloud/index.php/apps/logreader/poll?lastReqId=Y2LUeLXQ1LMTZZ2h1e-hnAAAAQs HTTP/1.1" 200 457 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:35:04 +0100] "GET /nextcloud/index.php/apps/logreader/get?offset=0&count=50&levels=11111 HTTP/1.1" 200 2211 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:35:04 +0100] "PUT /nextcloud/ocs/v2.php/apps/user_status/api/v1/heartbeat?format=json HTTP/1.1" 200 114 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:35:04 +0100] "GET /nextcloud/index.php/apps/logreader/settings HTTP/1.1" 200 107 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:35:04 +0100] "GET /nextcloud/ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 81 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:35:04 +0100] "GET /nextcloud/ocs/v2.php/search/providers?from=%2Fnextcloud%2Fsettings%2Fadmin%2Flogging HTTP/1.1" 200 278 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:35:03 +0100] "GET /nextcloud/index.php/settings/admin/logging HTTP/1.1" 200 10301 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:35:04 +0100] "GET /nextcloud/apps/logreader/js/logreader-main.js?v=199e310d-1 HTTP/1.1" 200 201748 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:35:04 +0100] "GET /nextcloud/apps/settings/js/settings.js?v=199e310d-1 HTTP/1.1" 200 1309 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:35:04 +0100] "GET /nextcloud/dist/settings-legacy-admin.js?v=199e310d-1 HTTP/1.1" 200 2054 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:35:04 +0100] "GET /nextcloud/apps/settings/l10n/fr.js?v=199e310d-1 HTTP/1.1" 200 15301 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:35:04 +0100] "GET /nextcloud/apps/firstrunwizard/l10n/fr.js?v=199e310d-1 HTTP/1.1" 200 4360 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:35:04 +0100] "GET /nextcloud/apps/files_rightclick/js/script.js?v=199e310d-1 HTTP/1.1" 200 3219 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:35:04 +0100] "GET /nextcloud/apps/files_rightclick/l10n/fr.js?v=199e310d-1 HTTP/1.1" 200 536 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:35:04 +0100] "GET /nextcloud/apps/firstrunwizard/js/about.js?v=199e310d-1 HTTP/1.1" 200 293 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:35:04 +0100] "GET /nextcloud/dist/core-main.js?v=199e310d-1 HTTP/1.1" 200 49999 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:35:04 +0100] "GET /nextcloud/core/l10n/fr.js?v=199e310d-1 HTTP/1.1" 200 19345 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:35:04 +0100] "GET /nextcloud/dist/core-unified-search.js?v=199e310d-1 HTTP/1.1" 200 11675 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:35:04 +0100] "GET /nextcloud/apps/files_sharing/l10n/fr.js?v=199e310d-1 HTTP/1.1" 200 5934 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:35:04 +0100] "GET /nextcloud/dist/files_sharing-main.js?v=199e310d-1 HTTP/1.1" 200 254 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:35:04 +0100] "GET /nextcloud/apps/logreader/l10n/fr.js?v=199e310d-1 HTTP/1.1" 200 632 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:35:04 +0100] "GET /nextcloud/core/js/setupchecks.js?v=199e310d-1 HTTP/1.1" 200 8348 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:35:04 +0100] "GET /nextcloud/dist/core-files_client.js?v=199e310d-1 HTTP/1.1" 200 4294 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:35:04 +0100] "GET /nextcloud/dist/core-files_fileinfo.js?v=199e310d-1 HTTP/1.1" 200 521 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:34:58 +0100] "GET /nextcloud/core/img/actions/checkbox-mark.svg HTTP/1.1" 200 212 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:34:56 +0100] "GET /nextcloud/ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 81 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:34:55 +0100] "GET /nextcloud/apps/logreader/js/logreader-main.js?v=199e310d-1 HTTP/1.1" 200 201748 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:34:56 +0100] "GET /nextcloud/index.php/apps/logreader/poll?lastReqId=Y2LUaO9gg9xIYo5y1ErmrwAAAMg HTTP/1.1" 200 435 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:34:56 +0100] "GET /nextcloud/index.php/apps/logreader/get?offset=0&count=50&levels=11111 HTTP/1.1" 200 2221 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:34:56 +0100] "PUT /nextcloud/ocs/v2.php/apps/user_status/api/v1/heartbeat?format=json HTTP/1.1" 200 114 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:34:56 +0100] "GET /nextcloud/ocs/v2.php/search/providers?from=%2Fnextcloud%2Fsettings%2Fadmin%2Flogging HTTP/1.1" 200 278 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:34:56 +0100] "GET /nextcloud/index.php/apps/logreader/settings HTTP/1.1" 200 107 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:34:55 +0100] "GET /nextcloud/apps/logreader/l10n/fr.js?v=199e310d-1 HTTP/1.1" 200 632 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:34:55 +0100] "GET /nextcloud/index.php/settings/admin/logging HTTP/1.1" 200 10294 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:34:46 +0100] "GET /nextcloud/apps/theming/js/theming.js?v=199e310d-1 HTTP/1.1" 200 60 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:34:46 +0100] "GET /nextcloud/apps/notifications/l10n/fr.js?v=199e310d-1 HTTP/1.1" 200 1474 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:34:46 +0100] "GET /nextcloud/apps/files_rightclick/js/files.js?v=199e310d-1 HTTP/1.1" 200 1269 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:34:46 +0100] "GET /nextcloud/apps/files_rightclick/js/script.js?v=199e310d-1 HTTP/1.1" 200 3219 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:34:46 +0100] "GET /nextcloud/dist/settings-legacy-admin.js?v=199e310d-1 HTTP/1.1" 200 2054 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:34:46 +0100] "GET /nextcloud/dist/core-main.js?v=199e310d-1 HTTP/1.1" 200 49999 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:34:46 +0100] "GET /nextcloud/apps/settings/l10n/fr.js?v=199e310d-1 HTTP/1.1" 200 15301 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:34:46 +0100] "GET /nextcloud/apps/files_sharing/l10n/fr.js?v=199e310d-1 HTTP/1.1" 200 5934 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:34:46 +0100] "GET /nextcloud/dist/files_sharing-main.js?v=199e310d-1 HTTP/1.1" 200 254 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:34:46 +0100] "GET /nextcloud/dist/core-files_client.js?v=199e310d-1 HTTP/1.1" 200 4294 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:34:46 +0100] "GET /nextcloud/apps/files/js/jquery.fileupload.js?v=199e310d-1 HTTP/1.1" 200 13670 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:34:46 +0100] "GET /nextcloud/apps/theming/l10n/fr.js?v=199e310d-1 HTTP/1.1" 200 2397 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:34:46 +0100] "GET /nextcloud/apps/firstrunwizard/l10n/fr.js?v=199e310d-1 HTTP/1.1" 200 4360 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:34:46 +0100] "GET /nextcloud/apps/settings/js/settings.js?v=199e310d-1 HTTP/1.1" 200 1309 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:34:46 +0100] "GET /nextcloud/apps/files_rightclick/l10n/fr.js?v=199e310d-1 HTTP/1.1" 200 536 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:34:46 +0100] "GET /nextcloud/apps/firstrunwizard/js/about.js?v=199e310d-1 HTTP/1.1" 200 293 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:34:46 +0100] "GET /nextcloud/core/l10n/fr.js?v=199e310d-1 HTTP/1.1" 200 19345 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:34:46 +0100] "GET /nextcloud/core/js/setupchecks.js?v=199e310d-1 HTTP/1.1" 200 8348 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:34:46 +0100] "GET /nextcloud/dist/core-unified-search.js?v=199e310d-1 HTTP/1.1" 200 11675 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:34:46 +0100] "GET /nextcloud/dist/settings-vue-settings-admin-delegation.js?v=199e310d-1 HTTP/1.1" 200 2731 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:34:46 +0100] "GET /nextcloud/dist/core-files_fileinfo.js?v=199e310d-1 HTTP/1.1" 200 521 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:34:46 +0100] "GET /nextcloud/index.php/settings/admin/admindelegation HTTP/1.1" 200 11205 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:34:35 +0100] "GET /nextcloud/index.php/apps/logreader/poll?lastReqId=Y2LUVdIBBbF5bEvB-6kJLQAAAQE HTTP/1.1" 200 458 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:34:34 +0100] "GET /nextcloud/ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 81 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:34:34 +0100] "GET /nextcloud/ocs/v2.php/search/providers?from=%2Fnextcloud%2Fsettings%2Fadmin%2Flogging HTTP/1.1" 200 278 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:34:34 +0100] "GET /nextcloud/index.php/apps/logreader/settings HTTP/1.1" 200 107 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:34:32 +0100] "GET /nextcloud/core/l10n/fr.js?v=199e310d-1 HTTP/1.1" 200 19345 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:34:32 +0100] "GET /nextcloud/apps/files_sharing/l10n/fr.js?v=199e310d-1 HTTP/1.1" 200 5934 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:34:32 +0100] "GET /nextcloud/apps/logreader/l10n/fr.js?v=199e310d-1 HTTP/1.1" 200 632 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:34:35 +0100] "GET /nextcloud/index.php/apps/theming/icon/settings?v=1 HTTP/1.1" 500 - "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:34:35 +0100] "GET /nextcloud/index.php/apps/theming/favicon/settings?v=1 HTTP/1.1" 500 - "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:34:35 +0100] "GET /nextcloud/index.php/apps/logreader/get?offset=0&count=50&levels=11111 HTTP/1.1" 200 2213 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:34:35 +0100] "PUT /nextcloud/ocs/v2.php/apps/user_status/api/v1/heartbeat?format=json HTTP/1.1" 200 114 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
domain.ltd 2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc - - [02/Nov/2022:21:34:32 +0100] "GET /nextcloud/apps/logreader/js/logreader-main.js?v=199e310d-1 HTTP/1.1" 200 201748 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0" 

Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

{"reqId":"Y2LgqiqZc2UMGxCvEvBEHgAAAEQ","level":3,"time":"2022-11-02T21:27:09+00:00","remoteAddr":"2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc","user":"AlainR","app":"PHP","method":"PROPFIND","url":"/nextcloud/remote.php/dav/files/AlainR/","message":"Nesting level too deep - recursive dependency? at /REMOVED/nextcloud/lib/private/Log/ExceptionSerializer.php#215","userAgent":"Mozilla/5.0 (Linux) mirall/3.6.0git (Nextcloud, manjaro-5.15.74-3-MANJARO ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"25.0.0.18","data":{"app":"PHP"}}
{"reqId":"Y2LgwTwXGRhfty8XvLEFfwAAAQM","level":3,"time":"2022-11-02T21:27:29+00:00","remoteAddr":"2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc","user":"infomaniak","app":"PHP","method":"POST","url":"/nextcloud/index.php/login","message":"Nesting level too deep - recursive dependency? at /REMOVED/nextcloud/lib/private/Log/ExceptionSerializer.php#215","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0","version":"25.0.0.18","data":{"app":"PHP"}}
{"reqId":"Y2Lg5dWnHTEkp1TDySVHgAAAAUI","level":3,"time":"2022-11-02T21:28:05+00:00","remoteAddr":"2001:1715:4e20:c291:aa5e:45ff:fea3:2bdc","user":"infomaniak","app":"PHP","method":"POST","url":"/nextcloud/index.php/login","message":"Nesting level too deep - recursive dependency? at /REMOVED/nextcloud/lib/private/Log/ExceptionSerializer.php#215","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0","version":"25.0.0.18","data":{"app":"PHP"}}

The host has found the solution:

Probably a problem with the application itself:
[Bug]: Error when adding a new user with group membership / PHP Fatal error: Nesting level too deep - recursive dependency? · Issue #32432 · nextcloud/server · GitHub
Running the occ app:disable circles command solves the problem.

And it works, so I just post here the solution and mark this topic as resolved.