SOLVED New Install - Plugin Page Freezes


  • @gotwf

    I normally use terminal but that failed so tried my GUI also. I really never go there but can access from my windows monitor if needed.

    I have one other node app running (it is ok to kill that for now too) but I have tried and with with sudo also.

    I left the browser open after clicking on 'find plugins' it was spinning and spinning and after about 8 minutes the page appeared. I then was actually then able to install a plugin form it !

    I really have no idea what is going on. I can only think that something is wrong from a previous installation and that something was left behind somewhere. Next option is format and reinstall OS. But....dont want to go down that road just for the sake of one page not loading. But something is definitely not right of course 🙂

  • Global Moderator Plugin & Theme Dev

    @sampo2910 yeah it sounds like you definitely have a service running. What OS are you using?


  • @pitaj yes I checked service is definitely running.

    Using 20.04. I’m thinking that is this really going to be an issue in the future and need sorting now ? Or something I can leave ?

    As I said the forum works fine and can navigate all over other than the going to extend- plugins and ‘find plugins’ tab and going to ‘install plugins’ last option from main plugins tab.

  • GNU/Linux Gamers

    @sampo2910 try

    sudo systemctl stop nodebb.service
    

  • @dunlix ' try sudo systemctl stop nodebb.service'

    This worked. I can go into dev mode no problem now. But when I go to plugins it still freezes.

    What can i now do to clear this rogue process that we talked about? If any.

    Waiting about 5 mins and the page finally appears...but that was same yesterday. So now we know how to kill it but still no change with problem.

    Could it be something to do with NGINX VHost or config.json ? I noticed when I installed a discord notification plugin...it worked..but the link on the discord server was to localhost. config.json url was wrong and not on my forum url. I changed that and fixed. Plugin freeze is still the same.


  • After clicking the tab and two coffees later the page is there. So it is not 'blocked' or restricted I guess.

    So why is it hanging and freezing and then sometimes appearing after 2 coffees 🙂 haha

    plugins page.png

  • Community Rep

    @sampo2910 said in New Install - Plugin Page Freezes:

    @dunlix ' try sudo systemctl stop nodebb.service'
    This worked. I can go into dev mode no problem now. But when I go to plugins it still freezes.

    Holy, holy, guacamole! 🥑 🤦

    Kudos to @dunlix for explicitly stating the obvious. 👍

  • NodeBB

    Does your database have indices?
    Check with db.objects.getIndexes().
    Find plugins page loads pretty fast on this forum and my local.

  • Global Moderator Plugin & Theme Dev

    @sampo2910 you can do sudo systemctl disable nodebb to turn off the service and it shouldn't restart automatically like it has.

    That was the rogue process so you've taken care of it.

    As for the plugins page, is it still hanging your browser out is it just taking a long time to load?


  • @pitaj Is it not better to have it run as a service so you don’t need to start each time the Server reboots ?

    How is that the rogue service?

    At the moment the page still hangs….

  • Community Rep

    @pitaj said in New Install - Plugin Page Freezes:

    @sampo2910 you can do sudo systemctl disable nodebb to turn off the service and it shouldn't restart automatically like it has.

    @sampo2910 said in New Install - Plugin Page Freezes:

    @pitaj Is it not better to have it run as a service so you don’t need to start each time the Server reboots ?

    Generally for production use, yes. This is testing and dev use, however, so better to disable now as pitaj recommends above, debug, and then re-enable when you're ready transition to production.

    In the meantime, since will be in test and dev use you will likely have your fingers in the box as a matter of course. So then easier to start manually from cli w/logs to console for real time "observablility". 🐕


  • So thanks to @dunlix for letting us 'know' what we probably did already know but forgotten 🙂 i.e. : sudo systemctl stop nodebb.service

    I have also done as @PitaJ recommended and disabled the service. As you say @gotwf fingers in a box and not so bad just to start manually after a reboot.

    The page is still hanging/freezing but I guess after this huge thread 🙂 it is something I am going to have to live with.

  • Community Rep

    @sampo2910 Mayhaps not. As all of the above was getting in the way. Now you can focus on the original issue. Iterative debugging. 😉

  • Global Moderator Plugin & Theme Dev

    Do you mind monitoring your cpu usage while the plugin page loads? Have you tried accessing it from a different computer? Have you tried accessing a different page while the plugin page is loading?

    Are you comfortable sharing credentials with me via chat so I can take a closer look?

  • GNU/Linux Gamers

    Haha good thing I remember that especially since I don’t use Linux, only for NodeBB.


  • I will mark this now as solved.

    That is on the basis that this only happened when I was running nodebb as a service.

    I have changed nothing other than removing the service and the plugin page loads no problem. I will try later and add the service again and see if i can reproduce the error.

  • Topic has been marked as solved  Sampo2910 Sampo2910 

Suggested Topics

| |