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
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.
$ 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?