# Mybb import skips importing posts

**URL:** <https://meta.discourse.org/t/mybb-import-skips-importing-posts/62908>\
**Category:** Support\
**Created:** [5월 17, 2017, 10:41오후 UTC](https://meta.discourse.org/t/mybb-import-skips-importing-posts/62908 "2017-05-17T22:41:54Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![smaffulli](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/smaffulli/32/120462_2.png) [@smaffulli](https://meta.discourse.org/u/smaffulli)\
**Post date:** [5월 17, 2017, 10:41오후 UTC](https://meta.discourse.org/t/mybb-import-skips-importing-posts/62908/1 "2017-05-17T22:41:54Z")

</div>

hello folks, I’m trying to understand why the import script from mybb is failing to do its job on many posts. I’m trying to import from a forum that has around 190,000 posts. The import scripts imports some of them but many seem to be missing. The output of the script `RAILS_ENV=production ruby mybb.rb` contains lines like the ones below:

`166417 / 170395 ( 97.7%) [74673 items/min] Parent post 1044397448 doesn't exist. Skipping 186530: PHP: HTTP_HOST vs. SERVER_NAME`

or

`Parent post 1251298548 doesn't exist. Skipping 188213: $_POST empty`

and when I try to count how many of these posts are skipped, I get a considerable number, around 120,000. Quite a lot of them.

```plaintext
$ grep Skipping import.log | wc -l
124115

```

I can’t figure out why these posts are skipped. What does it mean that a `parent post` doesn’t exist? Any suggestion on where to look next?

---

_[View the full topic](https://meta.discourse.org/t/mybb-import-skips-importing-posts/62908)._
