Cannot delete or rename user

I have two users in my system that were just recently, accidentally created and block their usernames. I would like to delete them, or at least rename them, so that “real” users can get their names.

So I go to the user page in the admin interface, and I press “Delete User”. However, now Discourse complains it cannot delete the user and I should check for posts. Well, these users never posted, and their post count on the same page is 0. How can I delete these users?

I also tried renaming the user, by pressing “Rename User”. However, then I end up on /404.

This is with a Discourse just re-built this morning, version: stable, version 1.4.6.

I am seeing this error in the logs:

PG::UndefinedTable: ERROR:  relation "group_managers" does not exist
LINE 5:                WHERE a.attrelid = '"group_managers"'::regcla...
:               SELECT a.attname, format_type(a.atttypid, a.atttypmod),
                     pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
                FROM pg_attribute a LEFT JOIN pg_attrdef d
                  ON a.attrelid = d.adrelid AND a.attnum = d.adnum
               WHERE a.attrelid = '"group_managers"'::regclass
                 AND a.attnum > 0 AND NOT a.attisdropped
               ORDER BY a.attnum

I guess that’s related?

Both of these issues were fixed by updating to version v1.5.0.beta11. Whatever…

1 Like

Sorry about that! :bug:s happen! :expressionless: