# \#merge-user

**URL:** https://meta.discourse.org/tag/merge-user/639.md

[Latest](https://meta.discourse.org/latest.md) · [Categories](https://meta.discourse.org/categories.md) · [Tags](https://meta.discourse.org/tags.md)

---

## [Merging user accounts](https://meta.discourse.org/t/merging-user-accounts/275288)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**Replies:** 5\
**Last updated:** [September 3, 2026, 2:39pm UTC](https://meta.discourse.org/t/merging-user-accounts/275288 "2026-09-03T14:39:41Z")

</div>

:bookmark: This guide explains how to merge multiple user accounts into a single Discourse account. It covers merging non-staff users through the Discourse UI and merging staff users via the console. …

---

## [Topic Votes don't transfer when merging accounts](https://meta.discourse.org/t/topic-votes-dont-transfer-when-merging-accounts/277376)

<div class="topic-metadata">

**Author:** [@Luicid](https://meta.discourse.org/u/Luicid)\
**Replies:** 8\
**Last updated:** [December 3, 2025, 7:10am UTC](https://meta.discourse.org/t/topic-votes-dont-transfer-when-merging-accounts/277376 "2025-12-03T07:10:13Z")

</div>

Hello, I searched for a topic but couldn’t find one addressing the same issue I’m facing. When I merge an old account that has voted on many topics into a new account: The votes aren’t transferred. The vote count on …

---

## [User merge never finish](https://meta.discourse.org/t/user-merge-never-finish/369209)

<div class="topic-metadata">

**Author:** [@Julien\_Palard](https://meta.discourse.org/u/Julien_Palard)\
**Replies:** 4\
**Last updated:** [June 10, 2025, 4:55am UTC](https://meta.discourse.org/t/user-merge-never-finish/369209 "2025-06-10T04:55:28Z")

</div>

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…

---

## [I'm attempting to merge user accounts](https://meta.discourse.org/t/im-attempting-to-merge-user-accounts/342147)

<div class="topic-metadata">

**Author:** [@Nick\_Torres](https://meta.discourse.org/u/Nick_Torres)\
**Replies:** 5\
**Last updated:** [May 28, 2025, 1:00am UTC](https://meta.discourse.org/t/im-attempting-to-merge-user-accounts/342147 "2025-05-28T01:00:42Z")

</div>

I’m an admin for a forum. A user requested their old account to be merged with their new account. The follow is their activity: When I attempted to merge accounts, the site was stuck on 'merging accounts…". I let it…

---

## [Issue merging user accounts, web interace and rake console](https://meta.discourse.org/t/issue-merging-user-accounts-web-interace-and-rake-console/293938)

<div class="topic-metadata">

**Author:** [@cmahns](https://meta.discourse.org/u/cmahns)\
**Replies:** 10\
**Last updated:** [May 14, 2025, 2:53pm UTC](https://meta.discourse.org/t/issue-merging-user-accounts-web-interace-and-rake-console/293938 "2025-05-14T14:53:28Z")

</div>

Currently running into an issue of a failed user merge of a very active user account into a new user. The user no longer has access to the previous user account and email, and due to my instance being on Auth0 SSO (which…

---

## [Merge users not possible from UI or CLI](https://meta.discourse.org/t/merge-users-not-possible-from-ui-or-cli/238430)

<div class="topic-metadata">

**Author:** [@McFly](https://meta.discourse.org/u/McFly)\
**Replies:** 2\
**Last updated:** [May 14, 2025, 2:28pm UTC](https://meta.discourse.org/t/merge-users-not-possible-from-ui-or-cli/238430 "2025-05-14T14:28:41Z")

</div>

Hello community, Discourse version : 2.9.0.beta9( 42c64abe15 ) After a merger of two successful Discourse communities, there are some duplicate users (especially those who did not put the same addresses) But unfor…

---

## [UI issue when merging accounts](https://meta.discourse.org/t/ui-issue-when-merging-accounts/353135)

<div class="topic-metadata">

**Author:** [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)\
**Replies:** 0\
**Last updated:** [February 19, 2025, 5:29pm UTC](https://meta.discourse.org/t/ui-issue-when-merging-accounts/353135 "2025-02-19T17:29:28Z")

</div>

Today I ran into a strange problem here on meta when merging two accounts, at the request of a member. I was able to do it as usual and it worked, but something went wrong in the UI. Steps: merge using the button at t…

---

## ['Staged User' issue](https://meta.discourse.org/t/staged-user-issue/340354)

<div class="topic-metadata">

**Author:** [@vwcnot](https://meta.discourse.org/u/vwcnot)\
**Replies:** 6\
**Last updated:** [December 4, 2024, 6:18pm UTC](https://meta.discourse.org/t/staged-user-issue/340354 "2024-12-04T18:18:17Z")

</div>

I have taken over a co-moderator of a Discourse forum. A user wishes me to change their primary email. When I enter the new email address and click on the ‘Change’ button I get the following error message: “There was an…

---

## [Don't log all post edits in staff action logs for a user-merge](https://meta.discourse.org/t/dont-log-all-post-edits-in-staff-action-logs-for-a-user-merge/312376)

<div class="topic-metadata">

**Author:** [@Isambard](https://meta.discourse.org/u/Isambard)\
**Replies:** 3\
**Last updated:** [June 17, 2024, 1:17pm UTC](https://meta.discourse.org/t/dont-log-all-post-edits-in-staff-action-logs-for-a-user-merge/312376 "2024-06-17T13:17:25Z")

</div>

Merging user accounts I just tried this and it spams the staff action logs with each post edit. I think it would be more useful to add ‘merge user’ as a staff action and not log every single post change.

---

## [Points/Cheers not updated after merging accounts](https://meta.discourse.org/t/points-cheers-not-updated-after-merging-accounts/306177)

<div class="topic-metadata">

**Author:** [@salbertelli](https://meta.discourse.org/u/salbertelli)\
**Replies:** 9\
**Last updated:** [May 10, 2024, 6:36pm UTC](https://meta.discourse.org/t/points-cheers-not-updated-after-merging-accounts/306177 "2024-05-10T18:36:01Z")

</div>

Hi all! In testing, I successfully merged two user accounts, and their badges and points were transferred over to the target account as expected. However, yesterday, during the production merge, although the Stats were …

---

## [Multiple non-stackable badges as a merged user](https://meta.discourse.org/t/multiple-non-stackable-badges-as-a-merged-user/276916)

<div class="topic-metadata">

**Author:** [@twofoursixeight](https://meta.discourse.org/u/twofoursixeight)\
**Replies:** 1\
**Last updated:** [October 2, 2023, 7:39pm UTC](https://meta.discourse.org/t/multiple-non-stackable-badges-as-a-merged-user/276916 "2023-10-02T19:39:33Z")

</div>

Reproduction: User B gets created. User B goes for badges User B gets merged into user A. In their badges page, multiple non-stacked badges are stacked twice The badges get automatically removed right after the next b…

---

## [Merging users confuses User Notes plugin and Suspension history](https://meta.discourse.org/t/merging-users-confuses-user-notes-plugin-and-suspension-history/278578)

<div class="topic-metadata">

**Author:** [@packman](https://meta.discourse.org/u/packman)\
**Replies:** 8\
**Last updated:** [September 11, 2023, 4:58pm UTC](https://meta.discourse.org/t/merging-users-confuses-user-notes-plugin-and-suspension-history/278578 "2023-09-11T16:58:56Z")

</div>

I merged a user who had a user note into another user with no notes. After the merge I now see the target user account having one note but when I click on the User Notes button the note doesn’t exist and I just get a cha…

---

## [Discobot oneboxes the forum as a merged user](https://meta.discourse.org/t/discobot-oneboxes-the-forum-as-a-merged-user/276915)

<div class="topic-metadata">

**Author:** [@twofoursixeight](https://meta.discourse.org/u/twofoursixeight)\
**Replies:** 1\
**Last updated:** [August 30, 2023, 1:47pm UTC](https://meta.discourse.org/t/discobot-oneboxes-the-forum-as-a-merged-user/276915 "2023-08-30T13:47:32Z")

</div>

Reproduction: Create user B. On user B, get the Licensed and/or certified badges User B gets merged into user A. Log in to user A, then go to the PM that you did the tutorial on User B An interactable forum gets onebox…

---

## [Merging accounts keeps the likes from the account before the merge](https://meta.discourse.org/t/merging-accounts-keeps-the-likes-from-the-account-before-the-merge/277121)

<div class="topic-metadata">

**Author:** [@twofoursixeight](https://meta.discourse.org/u/twofoursixeight)\
**Replies:** 1\
**Last updated:** [August 30, 2023, 2:16am UTC](https://meta.discourse.org/t/merging-accounts-keeps-the-likes-from-the-account-before-the-merge/277121 "2023-08-30T02:16:23Z")

</div>

There is a bug where your own posts stay liked when account a likes account b then account B. gets merged into account A. It also causes a graphical bug. Reproduction: Create your user account, user B. Like user A’s p…

---

## [Merged two users, stats don't change](https://meta.discourse.org/t/merged-two-users-stats-dont-change/272878)

<div class="topic-metadata">

**Author:** [@per\_coh](https://meta.discourse.org/u/per_coh)\
**Replies:** 2\
**Last updated:** [July 26, 2023, 9:36am UTC](https://meta.discourse.org/t/merged-two-users-stats-dont-change/272878 "2023-07-26T09:36:38Z")

</div>

Hi folks. I just used the merge feature on our test server. The removed user had 1 topic and the new user has 1 topic. However, while the new user’s admin stats say “2 topics”, the public profile page says “0 topics.” …

---

## [Error merging users with duplicate poll votes](https://meta.discourse.org/t/error-merging-users-with-duplicate-poll-votes/154711)

<div class="topic-metadata">

**Author:** [@rollerbob](https://meta.discourse.org/u/rollerbob)\
**Replies:** 4\
**Last updated:** [June 14, 2023, 11:16am UTC](https://meta.discourse.org/t/error-merging-users-with-duplicate-poll-votes/154711 "2023-06-14T11:16:27Z")

</div>

Relevant part of the error rake aborted! ActiveRecord::RecordNotUnique: PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index\_poll\_votes\_on\_poll\_id\_and\_poll\_option\_id\_and\_user\_id" DETAIL: K…

---

## [Merging users could keep existing profile picture](https://meta.discourse.org/t/merging-users-could-keep-existing-profile-picture/260133)

<div class="topic-metadata">

**Author:** [@Julien\_Palard](https://meta.discourse.org/u/Julien_Palard)\
**Replies:** 0\
**Last updated:** [March 31, 2023, 5:08pm UTC](https://meta.discourse.org/t/merging-users-could-keep-existing-profile-picture/260133 "2023-03-31T17:08:19Z")

</div>

Just merged user A (new account, nick with 1 at the end, has profile picture) into user B (old account, nice nick, but no profile picture). Result is an account with no profile picture. An enhancement could be: in case…

---

## [Users:merge returning an error on \`can\_delete\_user\`](https://meta.discourse.org/t/users-merge-returning-an-error-on-can-delete-user/258045)

<div class="topic-metadata">

**Author:** [@Crius](https://meta.discourse.org/u/Crius)\
**Replies:** 0\
**Last updated:** [March 14, 2023, 2:03am UTC](https://meta.discourse.org/t/users-merge-returning-an-error-on-can-delete-user/258045 "2023-03-14T02:03:15Z")

</div>

I’m trying to merge old accounts of a user into the current main account. He had two previous accounts. One small-ish (hundreds of posts) and another with with over a thousands of posts. Tried via the web interface and…

---

## [Rake task for merging users](https://meta.discourse.org/t/rake-task-for-merging-users/89086)

<div class="topic-metadata">

**Author:** [@gerhard](https://meta.discourse.org/u/gerhard)\
**Replies:** 61\
**Last updated:** [August 12, 2022, 3:02pm UTC](https://meta.discourse.org/t/rake-task-for-merging-users/89086 "2022-08-12T15:02:17Z")

</div>

As of Discourse 2.5.0.beta3, site admins can merge non-staff users without needing to access the console. For security, staff users will still need to be merged via the console. Visit the user admin page, and select “Me…

---

## [Now that there is an API call for Merge Users, how to call it?](https://meta.discourse.org/t/now-that-there-is-an-api-call-for-merge-users-how-to-call-it/149820)

<div class="topic-metadata">

**Author:** [@mpemburn](https://meta.discourse.org/u/mpemburn)\
**Replies:** 5\
**Last updated:** [May 19, 2022, 9:50am UTC](https://meta.discourse.org/t/now-that-there-is-an-api-call-for-merge-users-how-to-call-it/149820 "2022-05-19T09:50:41Z")

</div>

Hi, I started a topic yesterday (now closed) about calling the Merge Users plugin programmatically, and Rafael kindly referred me to the release notes, which feature a mention of the plugin now having a UI (Discourse 2.…

---

## [Is that possible to undo merge 2 users without restoring backup?](https://meta.discourse.org/t/is-that-possible-to-undo-merge-2-users-without-restoring-backup/208500)

<div class="topic-metadata">

**Author:** [@th21](https://meta.discourse.org/u/th21)\
**Replies:** 1\
**Last updated:** [November 8, 2021, 5:48am UTC](https://meta.discourse.org/t/is-that-possible-to-undo-merge-2-users-without-restoring-backup/208500 "2021-11-08T05:48:03Z")

</div>

Mistakenly merged 2 accounts, any way to undo this operation?

---

## [Merge Users borked?](https://meta.discourse.org/t/merge-users-borked/178529)

<div class="topic-metadata">

**Author:** [@Paul\_King](https://meta.discourse.org/u/Paul_King)\
**Replies:** 3\
**Last updated:** [February 5, 2021, 12:36pm UTC](https://meta.discourse.org/t/merge-users-borked/178529 "2021-02-05T12:36:32Z")

</div>

After successfully updating my discourse installation from beta 2.7 beta 2 to 2.7 beta 3 just now, I tried a ‘merge users’, for a user who has only made 270 odd posts between his two accounts. 45 minutes later, website …

---

## [Merging user failing](https://meta.discourse.org/t/merging-user-failing/172390)

<div class="topic-metadata">

**Author:** [@Alexander\_Wright](https://meta.discourse.org/u/Alexander_Wright)\
**Replies:** 1\
**Last updated:** [December 9, 2020, 2:24pm UTC](https://meta.discourse.org/t/merging-user-failing/172390 "2020-12-09T14:24:53Z")

</div>

I’m getting an error when trying to merge two user accounts. I had a problem with my SSO provider giving a different ID. This has caused a small number of users to end up with duplicate accounts. The SSO issue is now f…

---

## [User merge failed, corrupted database entries due to third party plugin](https://meta.discourse.org/t/user-merge-failed-corrupted-database-entries-due-to-third-party-plugin/166159)

<div class="topic-metadata">

**Author:** [@aschrijver](https://meta.discourse.org/u/aschrijver)\
**Replies:** 31\
**Last updated:** [October 6, 2020, 9:09pm UTC](https://meta.discourse.org/t/user-merge-failed-corrupted-database-entries-due-to-third-party-plugin/166159 "2020-10-06T21:09:35Z")

</div>

Original title: Forum front page inaccessible (blank screen or 404) I am moderator at the SocialHub forum at https://socialhub.activitypub.rocks which is the technology forum for the ActivityPub protocol that drives the …

---

## [Unlogged error while failing to merge users](https://meta.discourse.org/t/unlogged-error-while-failing-to-merge-users/156522)

<div class="topic-metadata">

**Author:** [@mcdanlj](https://meta.discourse.org/u/mcdanlj)\
**Replies:** 3\
**Last updated:** [July 15, 2020, 5:31am UTC](https://meta.discourse.org/t/unlogged-error-while-failing-to-merge-users/156522 "2020-07-15T05:31:42Z")

</div>

I have one person who for historical reasons has two identities on my forum, and (with permission) I’m trying to merge them. After maybe 15 seconds after typing the unlock “transfer” phrase and starting the merge, I get …

---

## [Merge users - core feature vs plugin](https://meta.discourse.org/t/merge-users-core-feature-vs-plugin/153802)

<div class="topic-metadata">

**Author:** [@Paracelsus](https://meta.discourse.org/u/Paracelsus)\
**Replies:** 3\
**Last updated:** [June 9, 2020, 5:40am UTC](https://meta.discourse.org/t/merge-users-core-feature-vs-plugin/153802 "2020-06-09T05:40:58Z")

</div>

Hi, this is not really a support topic, more of something I’ve stumbled upon: We had this situation where we needed to merge two users where the one being merged and deleted afterwards had more than 4500 posts. Using c…

---

## [Adding UI for Merge Users](https://meta.discourse.org/t/adding-ui-for-merge-users/149673)

<div class="topic-metadata">

**Author:** [@mpemburn](https://meta.discourse.org/u/mpemburn)\
**Replies:** 6\
**Last updated:** [April 29, 2020, 5:37pm UTC](https://meta.discourse.org/t/adding-ui-for-merge-users/149673 "2020-04-29T17:37:07Z")

</div>

Hi, We would like to be able to call the Merge Users plugin (discourse-merge-users/plugin.rb at master · curiousdannii/discourse-merge-users · GitHub) programmatically in some manner. I’ve used the API quite a bit for …

---

## [Users:merge cannot load such file rb-inotify](https://meta.discourse.org/t/users-merge-cannot-load-such-file-rb-inotify/135452)

<div class="topic-metadata">

**Author:** [@mcdanlj](https://meta.discourse.org/u/mcdanlj)\
**Replies:** 4\
**Last updated:** [December 10, 2019, 12:28am UTC](https://meta.discourse.org/t/users-merge-cannot-load-such-file-rb-inotify/135452 "2019-12-10T00:28:39Z")

</div>

I’m running 2.4.0.beta8 (8a6421565e in a docker deployment built about a month and a half ago), and I am trying to merge two user records: time bin/rake 'users:merge\[old\_name,new\_name\]' rake aborted! LoadError: cannot l…

---

## [Rake users:merge on former admin account throws error](https://meta.discourse.org/t/rake-users-merge-on-former-admin-account-throws-error/108716)

<div class="topic-metadata">

**Author:** [@Jim.Morrison](https://meta.discourse.org/u/Jim.Morrison)\
**Replies:** 14\
**Last updated:** [February 12, 2019, 10:07pm UTC](https://meta.discourse.org/t/rake-users-merge-on-former-admin-account-throws-error/108716 "2019-02-12T22:07:06Z")

</div>

A former admin has left the company and I am trying to merge his old account into his personal account and encountering errors: rake users:merge\['source','target'\] rake aborted! ArgumentError: ArgumentError /var/www/…

---

## [Rake users:merge fails to delete user with small posts](https://meta.discourse.org/t/rake-users-merge-fails-to-delete-user-with-small-posts/106827)

<div class="topic-metadata">

**Author:** [@jomaxro](https://meta.discourse.org/u/jomaxro)\
**Replies:** 1\
**Last updated:** [January 19, 2019, 12:44pm UTC](https://meta.discourse.org/t/rake-users-merge-fails-to-delete-user-with-small-posts/106827 "2019-01-19T12:44:17Z")

</div>

When attempting to merge users accounts, twice now the merge has failed to complete properly as the user has small posts which are not deleted. In both cases I’ve encountered the small posts were invites in an email, mea…

[Next page](https://meta.discourse.org/tag/merge-user/639.md?match_all_tags=true&page=1&tags%5B%5D=merge-user)
