User not found - Impossible to delete - Impossible to recrete
I have some users in my zitadel instance that cannot be updated/deleted.
[not_found] User could not be found (COMMAND-ugjs0upun6)
[not_found] User could not be found (COMMAND-bd4ir1mblj)
The user is visible with all the data in the console.
The status is active.
But impossible to use it.
When I try to create a new user with the same email/username, I have the error : User already exists ...
So weird ...
Please help me.
12 Replies
Hi @JayPe, I'm an AI assistant for ZITADEL. While a team member reviews this question, I'll see if I can find relevant sources for your question.
Answer
I wasn't able to find a direct answer, here are some relevant sources:
1. Delete user (1) : This documentation covers the DELETE endpoint for removing users, which changes the user state to 'deleted' and prevents login.
2. unable to use management of user (2) : This Discord discussion addresses user management issues where users couldn't be created or managed, with troubleshooting around service user permissions and manager roles.
Since your issue involves users that are visible in the console but cannot be updated/deleted via API calls, this appears to be a data consistency issue that may require direct support assistance.
I recommend clicking the "Ask for help" button to tag a team member who can investigate the specific user IDs and database state in your instance.
To learn more, see the sources I considered:
[1] Delete user
[2] unable to use management of user
Feel free to tag @Ask Inkeep with additional questions.
hey @JayPe pls try via the API to delete the user if you can and please let me know if that helps.
what version are you on and are you self hosted?.
v3.0.0
Same error
Yes self hosted
same thing
hey @JayPe I have to take a look more, the only possible solution I could share atm is to to upgrade your cluster(v3.0.0 is quite old, we already have v4.x.x) and if you can give me steps to reproduce.
I already had this kind of problem.
Even after an upgrade I had the error
hey @JayPe this is strange, do you have steps to reproduce?. Because that os the ONLY way to me to verify in that case.
zitadel v3.0.0 is STILL an older release. Several critical fixes and improvements have been made in the next versions.
Consider upgrading to the latest stable version, as many "Not Found" issues were resolved in later releases.
The issue might indicate database inconsistency(not sure but could be a possibility). One community member resolved similar issue by deleting all secrets and redeploying from scratch with a clean database
GitHub
{"code":5, "message":"Not Found"} in log-in popup · zitadel zitade...
I try to self-host Zitadel again, on a fresh install. I config the front-end with clientID of a new app from new project ang org. {"code":5, "message":"Not Found"} Act...
After upgrading to 4.3.3 I had the exact same problem in my UAT env.
I had to restore a former backup.
But here I can't as it's in production, and don't know when the problem occured
I don't know how to reproduce
But my feeling is that occured when I upgrade a version. Whatever the version on some users.
It's really weird because when checking the code, the errors should pop up when the user is in a inactive state or unknown state.
But by checking database, the user is in active state
I also look more, and it could also be related to projections, theres a query that the user inserted that fixed their issue. The reason why i am saying this is because some users state left stale on upgrades, so that could be an issue.
GitHub
[Bug]: Zitadel version upgrade stuck · Issue #8390 · zitadel/zitadel
Preflight Checklist I could not find a solution in the documentation, the existing issues or discussions I have joined the ZITADEL chat Environment Self-hosted Version 2.54.6 Database CockroachDB D...