mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-02-05 00:29:40 +03:00
Unable to retrieve users from organizations #1222
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Roultabie on GitHub (Feb 24, 2022).
Subject of the issue
Unable to retrieve users from organizations.
Environment
Vaultwarden version: 1.24.0 (upgraded from bitwarden_rs 1.19.0-a121cb6f)
Webvault version: 2.25.1
Virtual Machine: Ubuntu 20.04
Database: mariadb.
Builded with documentation.
Step to reproduce
It seems that doesn't work only for me.
Additional informations
Before the last update, it was impossible to retrieve the list of users, but, if I invited a user, the list would appear.
Since the last update this workaround does not work anymore.
Picture of example:
Troubleshooting data
@BlackDex commented on GitHub (Feb 24, 2022):
This almost looks like a corrupted database, or maybe even an invalid schema, or some user which wasn't fully removed or something. I think it is the latter one which is the actual culprit here.
Try to do the following.
users_collections,foldersandfavoritestables. I would not touch thecipherstable, since it could have shared passwords.Also, try to check if you have ForeignKey check enabled on the database, since that is what should have prevented this.
@Roultabie commented on GitHub (Feb 24, 2022):
A big thank you !
The query returned me five user_uuid, after deleting them, problem was solved.
I had a problem in deleting users recently (PEBKAC), that must have been the cause.