Skip to content

Unable to delete all unactivated accounts #31480

Closed
@ggodlewski

Description

@ggodlewski

Description

I'm trying to get rid of spam users (over 800 of them)
I changed them to inactive following instructions from https://blog.roberthallam.org/2022/11/mass-delete-remove-purge-users-in-gitea/
Because I'm using sqlite3 it was: UPDATE user SET is_active = 'f' WHERE email != 'my@email';
In the UI all the users except mine are marked inactive.

Then I run Delete all unactivated accounts
It says Started Task: Delete all unactivated accounts using greenish text.

Nothing happens. I still have over 800 accounts.

Gitea Version

1.22.0

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

https://gist.github.com/ggodlewski/c17fb25618c3fac0539ae6891da66b6f

Screenshots

image
image

Git Version

2.45.1

Operating System

docker @ ubuntu

How are you running Gitea?

docker container: gitea/gitea:latest

Database

SQLite

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions