User merge never finish

Hi!

Running a self-hosted Discourse 3.5.0.beta6-dev ( da0b303568 ), I tried a user merge today and it never completed.

Nothing interesting in /logs/.

Looks like the merge have been done (messages from the old merged account appears in the new account, inscription date of the new account has been updated to the inscription date of the merged account), so maybe it’s OK and the merge is successfull. Maybe it is only partial :smiley:

Graphically it looks like it’s still working:

It’s been more than 30 minutes now, to merge two very small accounts (like 20 messages), so I bet it’s blocked or something. The load average on the server is 0.05 so it’s not working hard.

1 Like

Hi @Julien_Palard.

Was the “from” account deleted? If not, the merge process didn’t complete.

I encountered a account merge hanging like this and reported my findings and the solution for the specific cause of the problem I had here:

Even if you are able to solve the problem, I do think the lack of communication about the error could be considered a defect (even if one that only affects a very small percentage of users). It is not a very friendly behavior for the admin to have to go hunting through the logs to discover that the process has failed and the merge is never going to finish.

1 Like

Ohh good question! Yes the “form” account was deleted. That’s reassuring.

So, few hours later I still have the popup, I opened the console just in case, and found:

ℹ️ Discourse v3.5.0.beta6-dev — https://github.com/discourse/discourse/commits/da0b303568 — Ember v5.12.0 app.js:239:10
Erreur d’analyse XML : mal formé
Emplacement : https://discuss.afpy.org/message-bus/0dae6fbaeb7542e68e9ba597dee034e0/poll?dlp=t
Numéro de ligne 1, Colonne 4 : 4 poll:1:4
Erreur d’analyse XML : mal formé
Emplacement : https://discuss.afpy.org/message-bus/0dae6fbaeb7542e68e9ba597dee034e0/poll
Numéro de ligne 1, Colonne 4 : poll:1:4