OK.
Like we all do, we learn a lot from tests, test migrations, and so forth.
Today, I started from scratch on test migration 2, armed with a lot more knowledge,
The main differences are as follows:
- Installed discourse plugin
ruby-bbcode-to-md
before starting the install - Modified
vbulletin.rb
to account for many (not all) of our custom bbcode, like our icode and. mods tags - Modified
vbulletin.rb
to compensate for the fact thatvb3
does not have a filedata table (likevb4
) - Modified
vbulletin.rb
to compensate for an error in converting child forums to categories in discourse. - Moved all avatars to the
vb3
database from the file system before dumping the DB.
Running again, from scratch, vbulletin_neo.rb
:
root@localhost-app:/var/www/discourse# su discourse -c 'bundle exec ruby script/import_scripts/vbulletin_neo.rb'
root:@localhost wants vb3
Loading existing groups...
Loading existing users...
Loading existing categories...
Loading existing posts...
Loading existing topics...
importing groups..
20 / 20 (100.0%) [1542 items/min] ]
importing users
860 / 138144 ( 0.6%) [123 items/min] in]
Let's see how this goes....
PS: As a side note, when migrating like this, do not use the same username for your Discourse admin account as your legacy forum username (the forum you are migrating from) because if you do, there will be an issue importing your posts under your legacy forum username into discourse. In this "round two", I did not make that mistake