Awesome work! Always nice to see new widgets be created 😄
[nodebb-plugin-import] Import your forum to NBB
Let me know when you're comfortable enough for me to list this site on nodebb.org, and the 'who is using nodebb' list. I'll also tweet and facebook the URL, when you're ready for it.
@psychobunny I will thank you !
Apologies for resurrecting this topic, but is this plugin available for v1.4 of NodeBB? I don't see it listed in the list of available plugins on the admin panel.
alff0x1f last edited by alff0x1f
LATEST VERSION ONLY SUPPORTS:
I install nodeBB v1.0.0 and update my forum to 1.2.0 after import information from my old forum (v 1.2.0 was actual when I import from phpbb3)
(IMHO it is most important plugin for commtity grow and I don't know why it is not support for actual versions)
Ah that's a shame. I just tried to downgrade, but encountered all sorts of problems :(.
@Tom-Wilson if you're importing an old forum, I'm assuming you'd be starting from scratch. Just reset your database and do
git checkout v1.0.0and then the regular setup steps from there.
If you're trying to merge with existing data already in NBB, that's another thing entirely.
I don't know why it is not support for actual versions
It's because it takes a lot of work to keep the plugin up to date with the newest version. We know it works for v1.0.0 but since it touches some internal api's that aren't necessarily supposed to be developer-facing, it will encounter more breakages than say, a normal plugin.
I will be upping support soon to a more recent version. Sorry guys it's been a few crazy months and didn't get a chance to work on it.
Great to hear - looking forward to it!
GaryBusey last edited by
@bentael I'm got a new forum set up with v1.0.0 and everything seems to work, except I get an "invalid csrf token" error when I try to log in. I have nodebb listening on a public facing interface, no proxying. The URL I'm using to access the site matches the one in config.json, it's just the server IP. I had no problems earlier with a different db and the most recent nodebb release, but the importer obviously won't work there.
Thanks for any help.
@GaryBusey make sure sockets are working. Check for any errors on the client or server. Try running nodebb in dev mode with
oPignonLibre last edited by
Has anyone managed to import a fairly large mybb forum with the importer ? I wanted to migrate from an old mybb1.6 forum with ~5000threads, 15000 members and around 1.5M individual posts. I first migrated that forum to mybb1.8 then installed nodebb 1.0.0 as per the nodebb-plugin-import github readme.
The import works for a while but nodebb eventually crash before all the posts are imported.
I tried cleaning up the original database with only sticky threads + threads whose latest post was less than 2y old. Still didn't manage to do a successfull import. Sadly resuming the import creates duplicated threads.
One physical machine with 16GB of ram, original database in a mariadb docker container, destination DB on mongodb 3.4.1 running in the official docker container, nodebb on another docker container based on the official ubuntu xenial image.
@oPignonLibre there is a memory leak, i've known of this issue, but I am refactoring the importer plugin.
here's what you can do if the crash is because you ran out of memory,
- go back to NodeBB Admin panel > Plugins > Import
- Resume the import by clicking on "Last import was interrupted, try to resume"
- the import will start to re-import all the posts, but it will skip the ones already imported
With 1.5M posts, you might have to do this a couple of times - I have definitely imported over 2M posts, and once 60M, it wasn't fun, but doable.
I just moved homes and I am still settling in, I will wrap up my refactor soon, and it will support NodeBB 1.4+ too, sorry the inconvenience.
wait, sorry I just read that.
Sadly resuming the import creates duplicated threads.
really? I have never had this issue. I will take a look, can you give me a small sample of data, and link me to the mybb exporter that you're using?
send it to [email protected]
alff0x1f last edited by
@alff0x1f Humm.. i will take a look
oPignonLibre last edited by oPignonLibre
Sorry for the late reply,
I will look at creating some additionnal swap space before importation. I didn't monitor memory usage during initial attempts.
I will try first with a smaller sample and will send it to you if duplication still happens. I used asciicat's mybb exporter.
Looks not too far from the goal .
Users and categories import looks good.
Just a lot of topics and messages missing...
The log (minus repetitive errors for topics and messages import) :
Maybe the problem is with topics import and the related error error:user-too-new ?
Possible to help me solving this issue ? That would consolidate another importer for NodeBB .
Arany last edited by Arany
is this plugin still maintained? I am asking because we would like to migrate our board with ~25M posts. And the supported version 1.0.3 is nearly two years old. So we would like to do a migration over the course of a month or so, while we keep syncing new/changed content to the new forum, while the old is still in place.
It would not be very practical to move once, and then upgrade, as the forum would have to be down for quite some time, while the migration process is running for a long time. Not even able to change configuration before going live.
Thanks for replying.