Skip to content

Crashes in Current main Branch

Technical Support
6 3 2.9k
  • I get now often following error after git pull today:

    @400000005707b689004ed98c 8/4 15:47 [30005] - error: TypeError: Cannot read property 'name' of null
    @400000005707b689004f086c     at /home/ok/ggg/src/controllers/admin/categories.js:27:56
    @400000005707b689004f086c     at fireFilterHook (/home/ok/ggg/src/plugins/hooks.js:92:11)
    @400000005707b689004f0c54     at Object.Plugins.fireHook (/home/ok/ggg/src/plugins/hooks.js:76:5)
    @400000005707b689004f103c     at /home/ok/ggg/src/controllers/admin/categories.js:23:11
    @400000005707b689004f103c     at /home/ok/ggg/node_modules/async/lib/async.js:726:13
    @400000005707b6890050d55c     at /home/ok/ggg/node_modules/async/lib/async.js:52:16
    @400000005707b6890050d944     at done (/home/ok/ggg/node_modules/async/lib/async.js:246:17)
    @400000005707b6890050d944     at /home/ok/ggg/node_modules/async/lib/async.js:44:16
    @400000005707b6890050dd2c     at /home/ok/ggg/node_modules/async/lib/async.js:723:17
    @400000005707b6890050e114     at /home/ok/ggg/node_modules/async/lib/async.js:167:37
    @400000005707b689006612dc TypeError: Cannot read property 'name' of null
    @400000005707b689006616c4     at /home/ok/ggg/src/controllers/admin/categories.js:27:56
    @400000005707b68900661aac     at fireFilterHook (/home/ok/ggg/src/plugins/hooks.js:92:11)
    @400000005707b68900661aac     at Object.Plugins.fireHook (/home/ok/ggg/src/plugins/hooks.js:76:5)
    @400000005707b68900661e94     at /home/ok/ggg/src/controllers/admin/categories.js:23:11
    @400000005707b6890066227c     at /home/ok/ggg/node_modules/async/lib/async.js:726:13
    @400000005707b6890066af1c     at /home/ok/ggg/node_modules/async/lib/async.js:52:16
    @400000005707b6890066b304     at done (/home/ok/ggg/node_modules/async/lib/async.js:246:17)
    @400000005707b6890066b6ec     at /home/ok/ggg/node_modules/async/lib/async.js:44:16
    @400000005707b6890066b6ec     at /home/ok/ggg/node_modules/async/lib/async.js:723:17
    @400000005707b6890066bad4     at /home/ok/ggg/node_modules/async/lib/async.js:167:37
    
  • highly advise staying off the beta releases, the idea is great for testers maybe not so great for ppl wanting stable components

  • Sorry if I bother some one to much, I am aware of the problems of the main branch and I know, that I am using the main branch and it can destroy my forum, my computer, create singularity and wipe the universe. I thought I can help , if I see such errors and do not have time to look on it deeply just now, than I write it here. If this is wrong place or no body find it useful, I will not write it here anymore.

  • Please specify your git revision and the page you are on when this happens.

  • The should get rid of the crash
    https://github.com/NodeBB/NodeBB/commit/a81285befa35899a8bd9c6aea656bf1fc2073903

    Although it seems you might have an invalid category in your database.

  • Thank you for the reply! It has fixed the problem, and it was indeed invalid category, I need also check the database, able somewhere is a invalid reference ...


Suggested Topics


  • current user data

    Unsolved Technical Support
    5
    0 Votes
    5 Posts
    2k Views
    <baris>B
    In that case you can use the hook filter:middleware.renderAdminHeader this is fired when we are building the admin header which includes the plugins dropdown. Inside the hook you can look at the hookDatar.req.uid to get the uid of the user making the request. Below is a sample: myPlugin.filterMiddlewareRenderAdminHeader = async (hookData) => { console.log(hookData.req.uid, hookData.templateData.plugins); // TODO: filter plugins in `hookData.templateData.plugins` based on hookData.req.uid return hookData; }
  • [Subfolder installation] with main firebase?

    Technical Support
    1
    0 Votes
    1 Posts
    767 Views
    bybosseeB
    Hi there Currently, my landing page is hosted on firebase the domain is hosehbo.com Like to ask if it would be possible to install nodebb on hosehbo.com/forum on another digital ocean server? I am able to have nodebb up and running on a subdomain. My thinking if that it is not possible because they are located in different servers. If this is the case, I should be moving out from firebase. Am I right on this? Thanks
  • NodeBB Crashed after upgrade

    Technical Support
    11
    0 Votes
    11 Posts
    4k Views
    D
    Good to hear. Just in case you need it in the future. MongoDB has very good documentation and you can find it here: https://docs.mongodb.com/ Dropping the database would be described here: https://docs.mongodb.com/manual/reference/method/db.dropDatabase/index.html Thus probably would be something along the line of: use nodebb db.dropDatabase()
  • NodeBB Crashing?

    Solved Technical Support
    4
    0 Votes
    4 Posts
    3k Views
    MarvinM
    @baris Seems to not be happening anymore after updating to 1.5.1
  • Error upgrading master branch

    Technical Support upgrade
    2
    0 Votes
    2 Posts
    3k Views
    julianJ
    Looks like a warning, but not a serious one. We don't use that package in NodeBB itself so it is likely one of its dependencies

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