Unable to delete a local user
Environment
- Installation type (OTP or From Source): Source
- Pleroma version (could be found in the "Version" tab of settings in Pleroma-FE): 2.4.0
- Elixir version (
elixir -v
for from source installations, N/A for OTP): Elixir 1.10.4 (compiled with Erlang/OTP 22) - Operating system: Ubuntu 20.04.2
- PostgreSQL version (
psql -V
): 13.4
Bug description
When you try to delete an account, according to the docs, you can use this command :
sudo -Hu pleroma MIX_ENV=prod mix pleroma.user rm user_name
It seems to work, as you are granted with the "User user_name deleted." but when you list your users, using the "list" command, the user is still here, just deactivated (state is_active: false).
Any additional try to remove the user using the command throws a message "No local user user_name".
I can't also delete using the admin panel (user marked as deactivated but never deleted)