Frontend freeze on version later than v1.0.2


  • Swedes

    Issues with random freeze v1.0.3, v1.x.x and master. Someone else or is it only me?


  • GNU/Linux

    What does freeze? The frontend? The node.js process? Requests? 100% CPU? nginx errors?
    Some more information on that would be nice ;)


  • Swedes

    I get nothing in the logs at all. Not even om nodebb dev mode. Server just crashes after a while


  • GNU/Linux

    Maybe you're out of memory and have no swap configured?


  • Swedes

    No, thats not the case! I reverting to v1.0.2 to check if it works better!


  • Swedes

    V1.0.2 did not work :( I am runnig this in Docker, I cant figure out why it freezes


  • GNU/Linux

    Are you using non-default plugins/theme? Might there be an incompatibility issue with NodeBB@^1.0.0?


  • Swedes

    No, standard persona theme. The system just hangs. No logs no nothing. Running as root in docker. If its idle for a while it hangs.


  • Swedes

    I am using mongodb and its not DB related. I guess it something wrong with dependencies for tag v1.0.3. I can stop the service but nobody can connect. It just freezes. Maybe to new persona? No loggs or errors :(

    Hard to troubleshoot this!

    I guess this is a frontend issue that triggers on certain db structure!


  • Swedes

    Branch v1.x.x seams to work better, except nodebb-plugin-custom-pages (Downgrade to 0.2.4)
    It had a crash fix in the git logs. Maybe thats why tag v.1.0.3 (without fix) it crashes :P


  • Swedes

    Nope, v1.x.x also crashes :( If I deactivate plugins are they gone from the process or can they still break things? Still troubleshooting .... seams to be something wrong with nodebb-plugin-custom-pages ....


  • GNU/Linux

    If deactivated they don't get loaded at all. So they can't break anything.


  • Swedes

    Ok, good 2 know. I am going insane over this issue. All seams more stable in tag v1.0.2. I can stop the server when the webb is crashed.

    I start it with this -> node loader.js --no-daemon --no-silent

    The plugin I use: https://www.nodebb.se/topic/4/bra-plugin-att-känna-till (Something unstable here) ?
    It can trigger in 5-30 mins so ite hell to find this issue ... Gahh...


  • Swedes

    Crash when all plugins are off wen > v1.0.2
    Could be nodebb-theme-persona ??

    .... Trying master now. Maybe that works :)

    ... Nope, master with no plugins and all disabled dont work. It could be docker or something in the DB. There must be a better way to troubleshoot this?

    Any new system dependency for > v1.0.2 ??


  • Swedes

    Need help here! I am stuck!

    If I connect to the same DB v1.0.2 works but not > v1.0.2. It dies random when you click in the menu om the site. (But you can still stop the server with nodebb stop without error) I get no errorlog what so ever! It just dies on me!

    I have another DB with less data.(Both are small databases) that seams to work with >v1.0.2. I guess its something in the DB that triggers this.

    How can I troubleshoot this?


  • Swedes

    1. I need a tip about database structure checker for nodebb (My other db is still alive so something is wrong).
    2. More verbose debugging somehow
    3. Is it possible to clean the db somehow without loosing data?

    @psychobunny what tools do you use to troubleshoot the system?


  • Translator

    did u run ./nodebb upgrade??


  • Swedes

    Yes i did :) More good ideas?


  • Swedes

    Trying now with node debug app.js but still no output :( Iam am stuck with v1.0.2. Unable fix this.


  • Swedes

    Is it possible to remove every plugin-settings from the DB? Or some other type of cleanup !


Log in to reply
 

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