# Error in migrating a MyBB to Discourse

**URL:** <https://meta.discourse.org/t/error-in-migrating-a-mybb-to-discourse/347302>\
**Category:** Migration\
**Created:** [January 15, 2025, 6:06pm UTC](https://meta.discourse.org/t/error-in-migrating-a-mybb-to-discourse/347302 "2025-01-15T18:06:43Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![serkhelesheyi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/serkhelesheyi/32/497726_2.png) [@serkhelesheyi](https://meta.discourse.org/u/serkhelesheyi)\
**Post date:** [January 15, 2025, 6:06pm UTC](https://meta.discourse.org/t/error-in-migrating-a-mybb-to-discourse/347302/1 "2025-01-15T18:06:43Z")

</div>

Hi  
I followed all the instructions in [this link](https://meta.discourse.org/t/migrate-a-mybb-forum-to-discourse/130789) but when I ran the migration script, the following output appeared. I have a few questions:  
**1. Was the migration completed successfully  
2. . If the report below indicates an issue, is there a way to determine the exact cause of problem?**

**Beginning of the log**

root@root:~/discourse$ bundle exec ruby script/import\_scripts/mybb.rb  
Loading existing groups…  
Loading existing users…  
Loading existing categories…  
Loading existing posts…  
Loading existing topics…

creating users  
875 / 1668 ( 52.5%) [454 items/min] Failed to create user id: 894, username: shahed, email: [sh-----@yahoo.com](mailto:sh-----@yahoo.com)  
user errors: [“Primary email has already been taken”]  
1415 / 1668 ( 84.8%) [485 items/min] Failed to create user id: 1442, username: haqiqi.1410, email: [h-----@gmail.com](mailto:h-----@gmail.com)  
user errors: [“Primary email has already been taken”]  
**1576 / 1668 ( 94.5%) [497 items/min] Failed to create user id: 1603, username: 6530091424, email: [j-----@yahoo.com](mailto:j-----@yahoo.com)**  
**user errors: [“Primary email has already been taken”]**  
97 / 97 (100.0%) [702 items/min] n]  
creating topics and posts  
2481 / 11705 ( 21.2%) [620 items/min] Warning: probably incorrect quote in post 2659  
7699 / 11705 ( 65.8%) [567 items/min] Warning: probably incorrect quote in post 8554  
10133 / 11705 ( 86.6%) [583 items/min] Warning: probably incorrect quote in post 11160  
**10323 / 11705 ( 88.2%) [583 items/min] Warning: probably incorrect quote in post 11584**  
**10548 / 11705 ( 90.1%) [582 items/min]**  
**private messages are not implemented**

Creating redirects…

Users…

```
 1660 / 1660 (100.0%) [7757 items/min]  

```

Categories…

```
  101 / 101 (100.0%) [4056 items/min]

```

Topics…

**Posts…**  
**3753 / 10652 ( 35.2%) [3111 items/min]**  
**banned users are not implemented**

Updating topic status

Updating bumped\_at on topics

Updating last posted at on users

Updating last seen at on users

Updating first\_post\_created\_at…

Updating user post\_count…

Updating user topic\_count…

Updating user digest\_attempted\_at…

Updating topic users

Updating post timings

Updating featured topic users

Updating featured topics in categories  
101 / 101 (100.0%) [1875 items/min] n]  
Resetting topic counters  
**End of the log**

**Thanks.**

---

_[View the full topic](https://meta.discourse.org/t/error-in-migrating-a-mybb-to-discourse/347302)._
