Duplicate posts importer-phpbb



  • Hello,

    I am testing nodeBB which is the greater candidate to migrate our old phpBB forum 👍
    However we encounter a problem with the importer-phpbb (tested psychobunny, jskorepa version...)
    Tested with version 1.0.3 (according to the documentation) and 1.0 and phpbb 3.0.7

    Problem : during the convertion, topics are created with the initial message, but when it go on the posts populating step, first message is duplicated.

    I had opened an issue on github @psychobunny but the problem seems to be global on all the importer-phpbb.

    Thanks,
    Arnaud.



  • Found *** a partial but incomplete *** solution 👍

    Copy paste this in /src/routes/debug.js
    Then start : ./nodebb dev

    Run : http://yourforum/debug/remove-op

    This clean the duplicate posts 👯
    But posts count is not updated. I will search for that.

    EDIT : not clean, some topics with one post are empty now... and i didn't find for the moment how to update the postcount...



  • Found nothing interesting about this behaviour so i up this thread.
    Some of ours posts are duplicated not the older ones... Strange.

    You can have a look at https://beta.entiamot.com to see the convertion results with the duplicated posts.

    Thanks.



  • Up !
    Nothing better right now 😢


  • Admin

    The post count is stored in the topic:<tid> hash, where <tid> is replaced with a specific tid. You can update the number here.



  • Thanks @julian 🙂
    Seems to be hard because you need to recompute the stats per user / global / topics / sub-forum...
    Is there/will, maybe in the future, a global functionnality to run a complete recompute of all stats ?


  • Admin

    I don't think so... because that would be a band-aid on top, instead of fixing the underlying problem.

    NodeBB to my knowledge properly keeps count of topics and posts... if it doesn't, please do let us know 😉



  • @julian said in Duplicate posts importer-phpbb:

    NodeBB to my knowledge properly keeps count of topics and posts... if it doesn't, please do let us know 😉

    Seems not ok if i change values in database, it keeps the wrong count in all stats 😢


Log in to reply
 


Looks like your connection to NodeBB was lost, please wait while we try to reconnect.