-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
[Bug]: Cannot view disabled users #43658
Comments
If the domain is correct and you do not use a subdirectory for Nextcloud then the URL is fine and should not return 404. |
I can connect to the domain before I should also mention that the cloud is behind an apache reverse proxy, but the other sites I have also another error message from developer tools in firefox from |
I can't reproduce this in a stock installation of v28.0.2. |
Can you show your Network tab from the browser console/inspector when trying to do look at the disabled users? |
For me this sounds a lot like a configuration issue with the reverse proxy, make sure to follow the guide: |
Here is a HAR-File from firefox developer tools: Somehow the issue is not happening anymore. It just started to working "magically". I don't know what happened as I didn't changed the configuration or restarted the webservers. I only added another proxy server into the |
This comment has been minimized.
This comment has been minimized.
Not sure either. I guess we'll keep an eye out for similar reports (and this will be here as a record in case someone searches for a similar matter).
Not in any way that comes to mind. I'll close this for now, but can always be revisited if it reoccurs. |
I have the same problem with one installation, but there is no reverse proxy active. Active apps: Getting a 404 error only for the "/ocs/v2.php/cloud/users/disabled"-URL: This error is only appearing for the main admin account (admin), if I click on "disabled users" within a subadmin (for a group), I don't get the 404 error. Update 05.04.2024 17:22 (CET): "ocs": { I tried to delete this uid from oc_accounts mysql table, but everytime I try to reload the page the id changed and was again created and visible in the oc_accounts table. I then tried to login with another admin account (in the admin group), which had no problems. After that, the problem was also gone fo the "admin"-account. Strange... Could also maybe have to do with some recently disabled ldap user. |
We have the same problem on one of our customers nextcloud servers. In the web browser the request to {
"ocs": {
"meta": {
"status": "failure",
"statuscode": 404,
"message": "User does not exist"
},
"data": []
}
} I could not find any clues on either the nextcloud logs, nginx logs and php-fpm logs. Attached is the generated support report: Server configuration detailOperating system: Linux 5.15.0-102-generic #112-Ubuntu SMP Tue Mar 5 16:50:32 UTC 2024 x86_64 Webserver: Unknown (cli) Database: mysql 10.6.16 PHP version: 8.1.27 Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, json, pcntl, Reflection, SPL, session, standard, sodium, mysqlnd, PDO, xml, apcu, bcmath, bz2, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, igbinary, imagick, intl, ldap, exif, mysqli, pdo_mysql, Phar, posix, readline, redis, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, zip, Zend OPcache Nextcloud version: 28.0.4 - 28.0.4.1 Updated from an older Nextcloud/ownCloud or fresh install: Where did you install Nextcloud from: unknown Signing status[] List of activated apps
Configuration (config/config.php)
Cron Configuration: Array External storages: files_external is disabled Encryption: no User-backends:
LDAP configuration
Browser: unknown |
So after a long time I found the cause of the issue. In order for me to figure out which users where causing the issue I had to modifiy server/lib/private/User/Manager.php Line 186 in deac58a
to \OC::$server->getLogger()->warning('User not found: \''. $uid .'\'', ['app' => 'debug']);
return null; this way when I open the deactivated user list I could actually see which user caused that error in the log. After making sure the user being shown in the log does actually not properly exist on nextcloud anymore I manually deleted all remaining database entries in mariadb for that user. Then I just repeat these steps until I eventually was able to see the list of deactivated users again. It would be great here if in a future update there could be some checks to maybe just skip invalid users when accessing that list or maybe offer some way to have the |
I agree! |
Getting the same error. No LDAP involved. Nextcloud is handling the users. I added the line that michael-r-elp recommended and found the two users it detected I thought I had removed a while back. I guess they were not properly deleted in the past. I found the tables they were in by grepping through a mysqldump and manually removed them like this. This technique is naive and not sure it's recommended... but after doing this I was able to navigate to the disabled accounts page
|
Bug description
If I try to view the disabled users I get the following error message: An error occurred during the request. Unable to proceed.
Steps to reproduce
Expected behavior
A list of disabled users should open
Installation method
Community Manual installation with Archive
Nextcloud Server version
28
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.1
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Updated from a MINOR version (ex. 22.1 to 22.2)
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
No response
Additional info
Error from developer tools in Firefox:
The text was updated successfully, but these errors were encountered: