Is mongodb running? If you set up mongodb with authentication credentials, are those credentials set up correctly in config.json ?
MyBB to NodeBB Importer?
I am currently working on a mybb port of the Import.
it does not import:
- Passwords ( everybody needs to go the Lost Password Function)
- Postings of Deleted Users get Lost
- secondary Groups
and last but not least: If you have many Categories nodebb gets pretty slow.
Another Problem seems to be the stability of the current nodebb Version. It crashes during the Import around every 20k Posts ( my Forum is a bit larger than yours )
@Nifty wow..that's sounds great,
however it would be awesome if user's avatar could be imported too.
is your MyBB importer available for download? If it's possible I'm interested to try it on my test environment
@Febian I will release it as soon as it gets a bit more stable, there are currently to many glitches left. If you wait for a few more days...
@Nifty wow..thanks a ton!
I'll be waiting for the release
@julian No, i just started it (forking from the vbulletin exporter). The export is pretty strait forward. I just have a few props on posts for deleted users and so on.
Ah okay, good. If you work with @bentael, he can help you get your exporter working with his importer plugin, then you will only have to export out to a standard format, instead of having to handle the importing as well.
@julian Yes, thats what i am doing.
But even there you have to deal with postings who have no owner...
The main export is working, it is only on special cases where im am not happy with.
@Nifty the nodebb-plugin-import was recently updated to support posts and topics without a user, they will be posted as Guest.
You can also save a
_guestvalue on each topic or post, in case NodeBB supports a Guest-name in the future.
The vbulletin exporter has also been recently updated, check the diffs
anyways, let me know if you run into problem
@bentael Oh, Thanks a lot, you guys here are a lot more active than i am used to
Is there a way to get "extra" data through the standard import as well ? I have data like Notes on the users, flags on Postings & Threads and so on which i would like to import as well. This would give me the option to use them by an plugin later on.
My Forum has more than 800.000 Postings and over 13.000 Users, i would like to get as much extra data as possible transferred.
@Nifty If the data is standard, that is, they're part of all MyBB installs, then I don't see why the exporter can't include that as well.
However, if it is data introduced by a plugin, then it's difficult to say whether it belongs
@julian With all the other importers, they only support standard data that comes with Vanilla version of the forum software, it turns into the Mad Hatters tree when you start catering for each type of plugin and it's data.
it turns into the Mad Hatters tree when you start catering for each type of plugin and it's data.
This depends how generic data would be included. It the Import gives the plugin(s) the option to set generic data for each data type an generic way it would be the responsibility of the plugin to make the decision which data would be attached and where.
I don't talk about new Document Types, i just want to fill a few more fields, like Notes on the User Document ( standard mybb) a few fields which store Information from a few of my plugins ( this are generic fields unique to my installation ).
If it is possible to get this functionality into the Importer without hassel - that would be fine.
open a new issue here with the list of extra fields
then open another one here https://github.com/asciicat/nodebb-plugin-import-mybb just as a reference link
It is far from perfect, but ok for a test. Feedback is welcome. The import does currently not support groups.
TaLoche last edited by TaLoche
I'm not an expert user but I've managed to set up Nodebb v0.5.5 on Digital Ocean to play around with it for a while and everything is running pretty smoothly.
I've tried exporting my existing MyBB forum (21 Mo database) to my Nodebb installation and this is where things get tricky for me.
I've followed the instructions left by akhoury here:
I manage to get through all the steps, but I'm not to sure how I add your nodebb-plugin-mybbex to the process.
I've installed it through npm but in the Import plugin (from nodebb-plugin-import) I can't seem to select an exporter here
"Select one of the few detected on npmjs's registry" since the list is blank.
I've then tried the second solution "Or just enter the module's name or url you want to install": there I've typed the git address of your node-plugin-mybbex or the name of your plugin and the list in the previous step still stays blank.
If I try running the import, things start to happen but I have nearly 10 seconds before an automatic request to refresh the page arrives and when I do refresh I have an message stating an error since there's no npm exporter detected.
By any chance is there any way you can help me?
Thanks for all your work on the Mybb export plugin !
Install it by npm from a console session ( nodebb directory):
npm install git+https://github.com/NiftyXXL/nodebb-plugin-import-mybbex.git
Then enter as module name
on the exporter configuration page and mark "Skip the module install ".
TaLoche last edited by
Thanks Nifty for your reply!
I did a fresh Nodebb install, followed akhoury steps, added the npm install from a console session of your plugin and entered the name of your plugin as you said in your reply.
But I still get the error about no converter/importer being selected.
What am I doing wrong?
@TaLoche The error msg says "getaddrinfo " looks like a problem in resolving the mysql database host name to the ip address.
The mysql server is not on the same host as the nodebb ? you need to make sure that the nodebb server can connect to the mysql server ( which is usualy not possible as the default mysql only binds to localhost for security reasons).