#201 Account deletion doesn't work from UI

Closed
opened 3 years ago by aab · 2 comments
aab commented 3 years ago

When the delete button is pressed, the message "User deletion in progress..." appears, but it stays like that.

This appears in mysql log:

2020-08-14 17:18:59 gnusocial[gnusocial] @ localhost [] ERROR 1062: Duplicate entry '125634-deleted' for key 'PRIMARY' : INSERT INTO profile_role (profile_id , role , created ) VALUES ( 125634 , 'deleted' , '2020-08-14 15:18:59' )

Using deleteprofile.php works fine

When the delete button is pressed, the message "User deletion in progress..." appears, but it stays like that. This appears in mysql log: 2020-08-14 17:18:59 gnusocial[gnusocial] @ localhost [] ERROR 1062: Duplicate entry '125634-deleted' for key 'PRIMARY' : INSERT INTO `profile_role` (`profile_id` , `role` , `created` ) VALUES ( 125634 , 'deleted' , '2020-08-14 15:18:59' ) Using deleteprofile.php works fine
aab commented 3 years ago
Poster

Ok, this seems related to RedisCache and/or RedisQueue. Once disabled, i can delete profiles from UI. There's a new error message, tough:

Argument 1 passed to Activitypub_delete::delete_to_array() must be an instance of Notice, string given, called in /var/www/gnusocial/plugins/ActivityPub/lib/postman.php on line 419

Ok, this seems related to RedisCache and/or RedisQueue. Once disabled, i can delete profiles from UI. There's a new error message, tough: Argument 1 passed to Activitypub_delete::delete_to_array() must be an instance of Notice, string given, called in /var/www/gnusocial/plugins/ActivityPub/lib/postman.php on line 419
Diogo Cordeiro commented 3 years ago
Owner

Fixed with b1e6b00545

Fixed with https://notabug.org/diogo/gnu-social/commit/b1e6b00545508a625271ce2b1b93c1ab72d01dfc
Sign in to join this conversation.
No Milestone
No assignee
2 Participants
Loading...
Cancel
Save
There is no content yet.