Question about vB migration (Arabic)

General Discussion

Suggested Topics

  • 0 Votes
    1 Posts

    How do I migrate a forum from phpBB 3.0.9 to nodeBB 1.14.2?

    I've found some plugins but I'm pretty sure the version differences will cause major headaches :

    (importer wrong phpBB and nodeBB verions) : (migration exporter ? ) : (exporter closest version match but not quite : pbpBB 3.1 ) :

    (post migration, convert to markdown ) :

    Also I'm not quite sure of the procedure?

    Is it remote connect to the phpBB server stop the forum and install the exporter plugin then start the forum and pick up the entire forum as one database file, then stop new nodeBB forum install plugin then start the new forum and import the file?

    it's unclear from what's given.

    I also have some perhaps unusual requirements :

    I'm not interested in migrating accounts, in fact I specifically do not want to migrate accounts. the migration exists only as comfort for those who want to be able to look up the old archived threads (btw I will mark them all as read-only after migration) but effectively we are starting from scratch with new accounts.

    So I'm not interested in migrating the accounts and I'm wondering if that's an issue? do posts necessarily need to be created with an account or is creating posts made by an unattributed user name possible? (if nodeBB attributes posts from the old forum archive to a new forum joinee that's perfectly fine by me, not so if nodeBB refuses that a new joinee use that name under pretext that it's already under use. New users and content must take priority)

    will nodeBB allow this or will it require a account named "archivebot" for example to be "responsible", the "author" of all these posts. I'd prefer if I could at least preserve the author names buit if I can't that's an ok sacrifice.

    Also will nodeBB allow the original dates for the posts? or will all of them be of the date of the migration?

    TLDR: I don't know how to migrate from phpBB 3.0.9 to nodeBB 1.14.2 specifically there doesn't seem to be an upgrade path for those specific version numbers.

  • 1 Votes
    3 Posts

    Thanks, yeah I wrote a game server rcon web socket bot, which stores all the player information, so got the just of using mongo update/inserts/find functionality just never made a plugin for nodebb so was kinda weird on how to start lol.

  • 0 Votes
    14 Posts

    @whitts Have you find a solution ? I have the same error when i try to open the events page.

    Edit :
    Resolved the bug by the deletion of events data from mongodb.
    My guess is that I had a Event:Time object without an Event object in my database (event 2) :

    { "_id" : ObjectId("5758921b709a80dacd11a26b"), "_key" : "event:1", "type" : "restart", "uid" : 1, "ip" : "xxxxxxxxx", "timestamp" : 1465422363350, "eid" : 1 }
    { "_id" : ObjectId("5759ce06709a80dacd11a281"), "_key" : "event:3", "type" : "reload", "uid" : 1, "ip" : "xxxxxxxxx", "timestamp" : 1465503238088, "eid" : 3 }
    { "_id" : ObjectId("5759d4c6709a80dacd11a289"), "_key" : "event:4", "type" : "restart", "uid" : 1, "ip" : "xxxxxxxx", "timestamp" : 1465504966779, "eid" : 4 }
    { "_id" : ObjectId("5759d5afec5ec8c2ea6f7f4f"), "_key" : "event:5", "type" : "restart", "uid" : 1, "ip" : "xxxxxxxx", "timestamp" : 1465505199678, "eid" : 5 }
    { "_id" : ObjectId("5759d5afec5ec8c2ea6f7f4e"), "_key" : "events:time", "value" : "5", "score" : 1465505199678 }
    { "_id" : ObjectId("5759d4c6709a80dacd11a288"), "_key" : "events:time", "value" : "4", "score" : 1465504966779 }
    { "_id" : ObjectId("5759ce06709a80dacd11a280"), "_key" : "events:time", "value" : "3", "score" : 1465503238088 }
    { "_id" : ObjectId("5759cc2f709a80dacd11a27e"), "_key" : "events:time", "value" : "2", "score" : 1465502767958 }
    { "_id" : ObjectId("5758921b709a80dacd11a26a"), "_key" : "events:time", "value" : "1", "score" : 1465422363350 }

  • 0 Votes
    2 Posts

    @Chad nope. Redis and MongoDB are not comparable with MySQL first ahead as both are NoSQL. Additionally they also use a different port than MySQL. So basically you can install and run them without any issues.

  • 0 Votes
    2 Posts
    var meta = module.parent.require('./meta');. Then, meta.config may have the configuration (might need to double-check that). var nconf = module.parent.require('nconf'); will allow you to hook into the configuration utility we use: nconf.get('url') returns the full url. Unfortunately not -- our hooks are designed to keep the information passed in to a minimum. The posts.parse hook is called whenever a piece of content needs to be "parsed like a post". It is not strictly a hook that is called whenever a topic is loaded. Perhaps you can look into filter:post.getPosts?