nextcloud / server

☁️ Nextcloud server, a safe home for all your data
https://nextcloud.com
GNU Affero General Public License v3.0
27.54k stars 4.08k forks source link

[Bug]: `/ocs/v2.php/cloud/users/admin` returns `998` when accessing "Users" page #49194

Open x19419378 opened 2 weeks ago

x19419378 commented 2 weeks ago

⚠️ This issue respects the following points: ⚠️

Bug description

I encountered an error stating "An error occurred during the request. Unable to proceed." when accessing the "users" page.

Upon investigation, I found that the system call to "/ocs/v2.php/cloud/users/admin" failed, returning the following response: {"ocs":{"meta":{"status":"failure","statuscode":998,"message":""},"data":[]}}.

Steps to reproduce

1. 2. 3.

Expected behavior

No error

Nextcloud Server version

29

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.3

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?

Configuration report

List of activated Apps

Nextcloud Signing status

Nextcloud Logs

Additional info

No response

joshtrichards commented 2 weeks ago

998 likely means the user does not exist.

Unfortunately, you did not fill out the bug reporting template. Unless you fill that in, there's not much we can do so this Issue will likely be closed (unless you update it with more information).

x19419378 commented 2 weeks ago

Image

Admin is the administrator account. I created a new account managed by admin. When I log in to this account and go to the "users" page, I can’t see the administrator account. Could this be the reason for the error? @joshtrichards

skjnldsv commented 1 week ago

if admin is your manager, it means you're not an admin. You cannot see or edit the admin user