Unable to delete users, usergroups, users from user groups

Nextcloud version (eg, 20.0.5): 23.0.0
Operating system and version (eg, Ubuntu 20.04): Ubuntu 20.04.3 LTS
Apache or nginx version (eg, Apache 2.4.25): 2.4.41
PHP version (eg, 7.4): 8.0

The issue you are facing:

When every I want to delete an user; disable it; delete a group; delete a user from the group I will get the message: An error occured during the request. Unable to proceed.

Is this the first time you’ve seen this error? (Y/N): No

Steps to replicate it:

It appens al the time adding a user is not an issue

The output of your Nextcloud log in Admin > Logging:

Wierd thing is noting gets logged for this in de nextcloud.log

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php $CONFIG = array ( 'instanceid' => 'oc0rwjg5r1kg', 'passwordsalt' => 'ZHS/Eymok1YGwVJbDM2uYR3IAxOe03', 'secret' => 'C3Zzu89dPYJJur72D7/quQdZzOWi8iPXmE/UnQ3trqa7ggSV', 'trusted_domains' => array ( 0 => '###', ), 'datadirectory' => '/apps/asterix/nextcloud/tmp-nextcloud1638622674/nextcloud/data', 'dbtype' => 'mysql', 'version' => '23.0.0.10', 'overwrite.cli.url' => '###', 'dbname' => 'nextcloud', 'dbhost' => 'localhost', 'dbport' => '', 'dbtableprefix' => 'oc_', 'mysql.utf8mb4' => true, 'dbuser' => '###', 'dbpassword' => '###', 'installed' => true, ); The output of your Apache/nginx/system log in `/var/log/____`: acceslog ``` 157.245.34.113 - - [04/Dec/2021:00:06:35 +0000] "GET /_ignition/execute-solution HTTP/1.1" 404 491 "-" "python-requests/2.18.4" 119.28.114.205 - - [04/Dec/2021:00:09:25 +0000] "\x16\x03\x01" 400 483 "-" "-" 119.28.114.205 - - [04/Dec/2021:00:09:26 +0000] "\x16\x03\x01" 400 483 "-" "-" 119.28.114.205 - - [04/Dec/2021:00:10:11 +0000] "\x16\x03\x03\x01\xa5\x01" 400 483 "-" "-" 119.28.114.205 - - [04/Dec/2021:00:10:13 +0000] "\x16\x03\x03\x01\xa5\x01" 400 483 "-" "-" 119.28.114.205 - - [04/Dec/2021:00:10:14 +0000] "\x16\x03\x03\x01V\x01" 400 483 "-" "-" 119.28.114.205 - - [04/Dec/2021:00:10:15 +0000] "\x16\x03\x03\x01H\x01" 400 483 "-" "-" 119.28.114.205 - - [04/Dec/2021:00:10:15 +0000] "\x16\x03\x03\x01\x99\x01" 400 483 "-" "-" 119.28.114.205 - - [04/Dec/2021:00:10:16 +0000] "\x16\x03\x02\x01\x9a\x01" 400 483 "-" "-" 119.28.114.205 - - [04/Dec/2021:00:10:16 +0000] "\x16\x03\x01\x01\xa7\x01" 400 483 "-" "-" 119.28.114.205 - - [04/Dec/2021:00:10:17 +0000] "\x16\x03\x01\x01\xa7\x01" 400 483 "-" "-" 119.28.114.205 - - [04/Dec/2021:00:10:19 +0000] "\x16\x03\x01\x01\x9d\x01" 400 483 "-" "-" 119.28.114.205 - - [04/Dec/2021:00:10:19 +0000] "\x16\x03\x01\x01\xb4\x01" 400 483 "-" "-" 192.241.215.76 - - [04/Dec/2021:00:57:32 +0000] "GET /ecp/Current/exporttool/microsoft.exchange.ediscovery.exporttool.application HTTP/1.1" 404 5004 "-" "Mozilla/5.0 zgrab/0.x" 160.116.22.19 - - [04/Dec/2021:00:59:22 +0000] "-" 408 4734 "-" "-" 160.116.22.19 - - [04/Dec/2021:00:59:30 +0000] "GET / HTTP/1.1" 200 5216 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4 240.111 Safari/537.36" 160.116.22.19 - - [04/Dec/2021:00:59:52 +0000] "GET /favicon.ico HTTP/1.1" 404 5192 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4 240.111 Safari/537.36" 160.116.22.19 - - [04/Dec/2021:00:59:59 +0000] "GET /robots.txt HTTP/1.1" 404 5192 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4 240.111 Safari/537.36" 160.116.22.19 - - [04/Dec/2021:01:00:13 +0000] "GET /.well-known/security.txt HTTP/1.1" 404 5192 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4 240.111 Safari/537.36" 94.156.137.59 - - [04/Dec/2021:01:10:04 +0000] "GET / HTTP/1.1" 200 467 "-" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36" 157.230.216.203 - - [04/Dec/2021:01:20:31 +0000] "GET /ab2g HTTP/1.1" 400 483 "-" "-" 157.230.216.203 - - [04/Dec/2021:01:20:31 +0000] "GET /ab2h HTTP/1.1" 400 483 "-" "-" 47.90.161.18 - - [04/Dec/2021:02:12:05 +0000] "POST /cgi-bin/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/bin/sh HTTP/1.1" 400 486 "-" "curl/7.80.0" 185.142.236.43 - - [04/Dec/2021:02:14:54 +0000] "GET / HTTP/1.1" 200 5035 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.137 Safari/537.36" 185.142.236.43 - - [04/Dec/2021:02:16:19 +0000] "\n" 400 5068 "-" "-" 185.142.236.43 - - [04/Dec/2021:02:16:19 +0000] "\n" 400 5272 "-" "-" 185.142.236.43 - - [04/Dec/2021:02:16:24 +0000] "\n" 400 5068 "-" "-" 65.49.20.67 - - [04/Dec/2021:02:38:28 +0000] "GET / HTTP/1.1" 200 5035 "-" "-" 87.27.29.165 - - [04/Dec/2021:02:51:14 +0000] "GET / HTTP/1.0" 200 486 "-" "-" 116.68.97.216 - - [04/Dec/2021:02:54:26 +0000] "POST /HNAP1/ HTTP/1.0" 408 485 "-" "-" 192.241.211.132 - - [04/Dec/2021:03:07:10 +0000] "GET /owa/auth/logon.aspx?url=https%3a%2f%2f1%2fecp%2f HTTP/1.1" 404 5004 "-" "Mozilla/5.0 zgrab/0.x" 128.1.248.42 - - [04/Dec/2021:03:07:50 +0000] "GET /cgi-bin/config.exp HTTP/1.1" 404 5004 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36" 192.241.209.79 - - [04/Dec/2021:03:32:19 +0000] "GET /hudson HTTP/1.1" 404 435 "-" "Mozilla/5.0 zgrab/0.x" 35.220.229.69 - - [04/Dec/2021:03:39:46 +0000] "GET / HTTP/1.1" 200 523 "-" "-" 209.141.32.65 - - [04/Dec/2021:03:47:29 +0000] "GET /static/js/main.62b1528b.chunk.js HTTP/1.1" 404 455 "https://bensee.com.cn" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.54 Safari/537.36" 193.118.53.210 - - [04/Dec/2021:04:17:01 +0000] "GET / HTTP/1.1" 200 5028 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36" 180.149.125.163 - - [04/Dec/2021:05:12:18 +0000] "GET /stalker_portal/server/tools/auth_simple.php HTTP/1.1" 404 435 "-" "Mozilla/5.0 (Windows NT 5.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36" 161.35.90.153 - - [04/Dec/2021:05:19:52 +0000] "GET / HTTP/1.0" 200 486 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:82.0) Gecko/20100101 Firefox/82.0" 161.35.90.153 - - [04/Dec/2021:05:21:10 +0000] "HEAD / HTTP/1.1\n" 400 5272 "-" "-" 128.14.134.170 - - [04/Dec/2021:05:32:21 +0000] "GET / HTTP/1.1" 200 460 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36" 185.180.143.8 - - [04/Dec/2021:05:41:58 +0000] "GET / HTTP/1.1" 200 5028 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36" 209.141.59.190 - - [04/Dec/2021:05:49:45 +0000] "GET /fbd/index.html HTTP/1.1" 404 450 "https://1b1d.com" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.54 Safari/537.36" 168.138.171.112 - - [04/Dec/2021:06:05:12 +0000] "GET / HTTP/1.1" 200 467 "-" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36" 142.93.107.166 - - [04/Dec/2021:06:16:10 +0000] "GET / HTTP/1.1" 200 460 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) Project-Resonance (http://project-resonance.com/) (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36" 136.144.41.117 - - [04/Dec/2021:06:31:31 +0000] "GET / HTTP/1.1" 200 479 "-" "Linux Gnu (cow)" 66.240.236.109 - - [04/Dec/2021:06:43:58 +0000] "GET / HTTP/1.1" 200 460 "-" "Mozilla/5.0 zgrab/0.x" 184.105.139.68 - - [04/Dec/2021:07:08:14 +0000] "GET / HTTP/1.1" 200 467 "-" "-" 23.183.83.18 - - [04/Dec/2021:07:19:49 +0000] "GET /main.dart.js HTTP/1.1" 404 455 "https://www.k3k88.com" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.54 Safari/537.36" 64.227.8.121 - - [04/Dec/2021:07:42:28 +0000] "GET /w00tw00t.at.blackhats.romanian.anti-sec:) HTTP/1.1" 404 454 "-" "ZmEu" 64.227.8.121 - - [04/Dec/2021:07:42:29 +0000] "GET /phpMyAdmin/scripts/setup.php HTTP/1.1" 404 454 "-" "ZmEu" 94.232.43.63 - - [04/Dec/2021:08:06:44 +0000] "\x03" 400 483 "-" "-" error.log [Sat Dec 04 13:47:27.283272 2021] [dav:error] [pid 151199] [client 213.127.87.66:61661] Could not fetch resource information. [400, #0] [Sat Dec 04 13:47:27.283299 2021] [dav:error] [pid 151199] [client 213.127.87.66:61661] The URL contains extraneous path components. The resource could not be identified. [400, #0] [Sat Dec 04 13:47:29.978553 2021] [dav:error] [pid 151209] [client 213.127.87.66:61658] Could not fetch resource information. [400, #0] [Sat Dec 04 13:47:29.978569 2021] [dav:error] [pid 151209] [client 213.127.87.66:61658] The URL contains extraneous path components. The resource could not be identified. [400, #0] [Sat Dec 04 13:47:33.087776 2021] [dav:error] [pid 151239] [client 213.127.87.66:61687] Could not fetch resource information. [400, #0] [Sat Dec 04 13:47:33.087800 2021] [dav:error] [pid 151239] [client 213.127.87.66:61687] The URL contains extraneous path components. The resource could not be identified. [400, #0] [Sat Dec 04 13:47:40.240192 2021] [dav:error] [pid 150022] [client 213.127.87.66:61668] Could not fetch resource information. [400, #0] [Sat Dec 04 13:47:40.240217 2021] [dav:error] [pid 150022] [client 213.127.87.66:61668] The URL contains extraneous path components. The resource could not be identified. [400, #0] [Sat Dec 04 13:49:13.501172 2021] [dav:error] [pid 151201] [client 213.127.87.66:39033] Could not fetch resource information. [400, #0] [Sat Dec 04 13:49:13.501210 2021] [dav:error] [pid 151201] [client 213.127.87.66:39033] The URL contains extraneous path components. The resource could not be identified. [400, #0] [Sat Dec 04 13:49:34.758596 2021] [dav:error] [pid 151506] [client 213.127.87.66:39062] Could not fetch resource information. [400, #0] [Sat Dec 04 13:49:34.758620 2021] [dav:error] [pid 151506] [client 213.127.87.66:39062] The URL contains extraneous path components. The resource could not be identified. [400, #0] [Sat Dec 04 13:49:35.875291 2021] [dav:error] [pid 151239] [client 213.127.87.66:39118] Could not fetch resource information. [400, #0] [Sat Dec 04 13:49:35.875312 2021] [dav:error] [pid 151239] [client 213.127.87.66:39118] The URL contains extraneous path components. The resource could not be identified. [400, #0] [Sat Dec 04 13:56:02.896168 2021] [core:error] [pid 150022] [client 45.155.205.233:48954] AH00126: Invalid URI in request POST /cgi-bin/.%2e/.%2e/.%2e/.%2e/bin/sh HTTP/1.1 [Sat Dec 04 13:58:52.976034 2021] [dav:error] [pid 151224] [client 213.127.87.66:39039] Could not fetch resource information. [400, #0] [Sat Dec 04 13:58:52.976054 2021] [dav:error] [pid 151224] [client 213.127.87.66:39039] The URL contains extraneous path components. The resource could not be identified. [400, #0] [Sat Dec 04 13:58:53.218768 2021] [dav:error] [pid 151199] [client 213.127.87.66:61680] Could not fetch resource information. [400, #0] [Sat Dec 04 13:58:53.218795 2021] [dav:error] [pid 151199] [client 213.127.87.66:61680] The URL contains extraneous path components. The resource could not be identified. [400, #0] [Sat Dec 04 13:58:56.177274 2021] [dav:error] [pid 151629] [client 213.127.87.66:39185] Could not fetch resource information. [400, #0] [Sat Dec 04 13:58:56.177306 2021] [dav:error] [pid 151629] [client 213.127.87.66:39185] The URL contains extraneous path components. The resource could not be identified. [400, #0] [Sat Dec 04 13:58:59.155836 2021] [dav:error] [pid 151572] [client 213.127.87.66:61687] Could not fetch resource information. [400, #0] [Sat Dec 04 13:58:59.155858 2021] [dav:error] [pid 151572] [client 213.127.87.66:61687] The URL contains extraneous path components. The resource could not be identified. [400, #0] [Sat Dec 04 13:59:05.842837 2021] [dav:error] [pid 151224] [client 213.127.87.66:61742] Could not fetch resource information. [400, #0] [Sat Dec 04 13:59:05.842858 2021] [dav:error] [pid 151224] [client 213.127.87.66:61742] The URL contains extraneous path components. The resource could not be identified. [400, #0] [Sat Dec 04 13:59:19.848948 2021] [dav:error] [pid 151199] [client 213.127.87.66:39091] Could not fetch resource information. [400, #0] [Sat Dec 04 13:59:19.848972 2021] [dav:error] [pid 151199] [client 213.127.87.66:39091] The URL contains extraneous path components. The resource could not be identified. [400, #0] [Sat Dec 04 13:59:20.606896 2021] [dav:error] [pid 151209] [client 213.127.87.66:39113] Could not fetch resource information. [400, #0] [Sat Dec 04 13:59:20.606916 2021] [dav:error] [pid 151209] [client 213.127.87.66:39113] The URL contains extraneous path components. The resource could not be identified. [400, #0] [Sat Dec 04 13:59:21.768163 2021] [dav:error] [pid 151506] [client 213.127.87.66:39026] Could not fetch resource information. [400, #0] [Sat Dec 04 13:59:21.768182 2021] [dav:error] [pid 151506] [client 213.127.87.66:39026] The URL contains extraneous path components. The resource could not be identified. [400, #0] [Sat Dec 04 13:59:23.933349 2021] [dav:error] [pid 151239] [client 213.127.87.66:39117] Could not fetch resource information. [400, #0] [Sat Dec 04 13:59:23.933369 2021] [dav:error] [pid 151239] [client 213.127.87.66:39117] The URL contains extraneous path components. The resource could not be identified. [400, #0] [Sat Dec 04 13:59:25.509216 2021] [dav:error] [pid 150024] [client 213.127.87.66:39005] Could not fetch resource information. [400, #0] [Sat Dec 04 13:59:25.509241 2021] [dav:error] [pid 150024] [client 213.127.87.66:39005] The URL contains extraneous path components. The resource could not be identified. [400, #0] [Sat Dec 04 13:59:26.517995 2021] [dav:error] [pid 150022] [client 213.127.87.66:39057] Could not fetch resource information. [400, #0] [Sat Dec 04 13:59:26.518028 2021] [dav:error] [pid 150022] [client 213.127.87.66:39057] The URL contains extraneous path components. The resource could not be identified. [400, #0] [Sat Dec 04 13:59:27.752059 2021] [dav:error] [pid 151629] [client 213.127.87.66:39187] Could not fetch resource information. [400, #0] [Sat Dec 04 13:59:27.752080 2021] [dav:error] [pid 151629] [client 213.127.87.66:39187] The URL contains extraneous path components. The resource could not be identified. [400, #0] [Sat Dec 04 13:59:28.207314 2021] [dav:error] [pid 151170] [client 213.127.87.66:39041] Could not fetch resource information. [400, #0] [Sat Dec 04 13:59:28.207339 2021] [dav:error] [pid 151170] [client 213.127.87.66:39041] The URL contains extraneous path components. The resource could not be identified. [400, #0] [Sat Dec 04 14:00:25.150870 2021] [dav:error] [pid 150024] [client 213.127.87.66:61675] Could not fetch resource information. [400, #0] [Sat Dec 04 14:00:25.150897 2021] [dav:error] [pid 150024] [client 213.127.87.66:61675] The URL contains extraneous path components. The resource could not be identified. [400, #0] [Sat Dec 04 14:01:57.733997 2021] [dav:error] [pid 151209] [client 213.127.87.66:39040] Could not fetch resource information. [400, #0] [Sat Dec 04 14:01:57.734048 2021] [dav:error] [pid 151209] [client 213.127.87.66:39040] The URL contains extraneous path components. The resource could not be identified. [400, #0] [Sat Dec 04 14:02:01.200899 2021] [dav:error] [pid 150022] [client 213.127.87.66:39132] Could not fetch resource information. [400, #0] [Sat Dec 04 14:02:01.200922 2021] [dav:error] [pid 150022] [client 213.127.87.66:39132] The URL contains extraneous path components. The resource could not be identified. [400, #0] [Sat Dec 04 14:05:26.186925 2021] [dav:error] [pid 150024] [client 213.127.87.66:39034] Could not fetch resource information. [400, #0] [Sat Dec 04 14:05:26.186945 2021] [dav:error] [pid 150024] [client 213.127.87.66:39034] The URL contains extraneous path components. The resource could not be identified. [400, #0] ```