Sort by Newest to Oldest Question

General Discussion
  • @whitts I just tried it in testing ground... if you reply... delete and purge the reply the post stays on top

  • @pichalite ah.. at least now i know when someone has deleted and purged 😉

  • @whitts you can see those in ACP -> Advanced -> Events I think.

  • @pichalite Now i know why i never went to that link - it crashes my forum 🙂 ... Prob due to me being on an old master.

  • @whitts don't think that link was changed recently... it shouldn't crash just because you are on an old master... what error do you see in the logs?

  •  25/2 19:33 [162332] - error: TypeError: Cannot set property 'jsonString' of undefined
     [cluster] Child Process (162332) has exited (code: 1, signal: null)
     at C:\Apps\nodebb\src\events.js:53:23
    [cluster] Spinning up another process...
    at Array.forEach (native)
    at C:\Apps\nodebb\src\events.js:50:16
    at fn (C:\Apps\nodebb\node_modules\async\lib\async.js:746:34)
    at C:\Apps\nodebb\node_modules\async\lib\async.js:1212:16
    at C:\Apps\nodebb\node_modules\async\lib\async.js:166:37
    at C:\Apps\nodebb\node_modules\async\lib\async.js:706:43
    at C:\Apps\nodebb\node_modules\async\lib\async.js:167:37
    at C:\Apps\nodebb\node_modules\async\lib\async.js:1208:30
    at C:\Apps\nodebb\src\database\mongo\hash.js:53:4
    TypeError: Cannot set property 'jsonString' of undefined
    at C:\Apps\nodebb\src\events.js:53:23
    at Array.forEach (native)
    at C:\Apps\nodebb\src\events.js:50:16
    at fn (C:\Apps\nodebb\node_modules\async\lib\async.js:746:34)
    at C:\Apps\nodebb\node_modules\async\lib\async.js:1212:16
    at C:\Apps\nodebb\node_modules\async\lib\async.js:166:37
    at C:\Apps\nodebb\node_modules\async\lib\async.js:706:43
    at C:\Apps\nodebb\node_modules\async\lib\async.js:167:37
    at C:\Apps\nodebb\node_modules\async\lib\async.js:1208:30
    at C:\Apps\nodebb\src\database\mongo\hash.js:53:4
    

    @pichalite So is the newest to oldest thing a bug then? Thanks

  • @whitts no... events has lot of other items not just delete and purge. Try updating to latest master and see if you still get the error.

  • @pichalite said:

    @whitts I just tried it in testing ground... if you reply... delete and purge the reply the post stays on top

    I meant is this is a bug

  • @whitts I am not sure. @administrators ?

    I think the purge option should be removed for OP. It should only be for admins / mods

  • @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 }


Suggested Topics


  • Quick Question

    General Discussion
    0 Votes
    2 Posts
    422 Views

    Hi there -- no we don't apply any sort of stretching to the logo... perhaps it is an artifact of your theme?

  • 0 Votes
    2 Posts
    1k Views

    Even though this topic should be moved to another category, I would like to request this plugin as well.

  • Question

    General Discussion
    0 Votes
    3 Posts
    2k Views

    Kinda depends on which php forum. MongoDB uses more ram than mysql.

    I can definitely run MyBB lighter than Nodebb on my hosting. I believe that IPB and VBulletin don't run well on shared hosting, so I'd put them about matched with NodeBB in usage. Of course, its been so long since i tried running either of those i could be full of crap.

  • 0 Votes
    4 Posts
    2k Views

    @svetlana Yes, sandboxing is quick testing. And yes, you have it right, If you keep regular backups of mongo in that setup, you'll be fine (along with saving copy of your config, to be complete).

    If you want to really be good at deploying and upgrades, then at the bare minimum you should know how git works, how to change node versions, and how to set up / back up mongo. Everything else has pretty much been scripted out. Most of this stuff is either in the wiki or on this forum, you just have to look a little 😉

  • 0 Votes
    2 Posts
    2k Views

    Do you mean as a poll where users can vote on a response? If so, there's a poll plugin developed by @Schamper.
    https://community.nodebb.org/topic/1549/nodebb-plugin-poll-poll-plugin