delete from user_api_userpreference where user_id=34;
delete from auth_userprofile where user_id=34;
delete from auth_registration where user_id=34
delete from auth_user where id=34;
But when I try to recreate a user with the same username, I get the following message about the user already existing in the forum: CommentClientRequestError : u'["Username is already taken"]'
My question is: what is the name of the table that still contains information about that username?
Thanks for any information.
We have run into this issue quite a bit as there isn’t really an API for deleting users in the forums that I’m aware of. By default, the user database for the cs_comments_service is in mongo under the cs_comments_service database and the users collection. You can remove with something like:
mongo
use cs_comments_service
db.users.find()
db.users.remove({username: "jimbo"})
--
You received this message because you are subscribed to the Google Groups "Open edX operations" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openedx-ops...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.