• HOME
    • PRODUCT
    • PRICING
    • ABOUT
    • COMMUNITY
    Menu
    • HOME
    • PRODUCT
    • PRICING
    • ABOUT
    • COMMUNITY
    Get in touch
    Get in touch
    Menu
    • HOME
    • PRODUCT
    • PRICING
    • ABOUT
    • COMMUNITY
    • Sign in
    • Start free trial
    • Get in touch
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags
    • Users
    • Groups
    • Documentation
      • Home
      • Read API
      • Write API
      • Plugin Development
    1. Home
    2. Aaron Murray
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 10
    • Best 2
    • Controversial 0
    • Groups 0

    Aaron Murray

    @Aaron Murray

    2
    Reputation
    168
    Profile views
    10
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Aaron Murray Unfollow Follow

    Best posts made by Aaron Murray

    • Using NodeBB as a commenting system (static site)

      I'm very interested in using NodeBB as a commenting system for my static website. I see a Wordpress solution, but can't find generic code for use on a static site. Can anybody point me in the right direction?

      posted in Technical Support
      Aaron Murray
      Aaron Murray
    • RE: Using NodeBB as the commenting system for Jekyll

      @julian Where can I find the generic code for using NodeBB as a commenting system? My blog is static, and I'm looking for a commenting system -- being able to use my current install of NodeBB would be great!

      posted in General Discussion
      Aaron Murray
      Aaron Murray

    Latest posts made by Aaron Murray

    • RE: Using NodeBB as a commenting system (static site)

      In the General Use section of https://github.com/revir/nodebb-plugin-blog-comments2#readme it refers to two functions that look like they need to be written before this code can be used on my Pelican web site. They are:

      nbb.articleID = <Function to get the unique article id> // To get the unique article id, see explations below.

      and

      nbb.articleContent = <Function to get the excerpt of the article> // Write a function to get the post content.

      I am not sure what to do here, as I do not know how to create these functions. I know a bit of PHP / Python, but nothing to fit this problem. Suggestions?

      posted in Technical Support
      Aaron Murray
      Aaron Murray
    • RE: Using NodeBB as a commenting system (static site)

      Looks like a good start. I'm using Pelican (python) to generate my static site. So, the templating system is via the Jinja templating system.

      I'm more familiar with PHP than Jinja, but I can not use PHP, only raw HTML (inside a Markdown document, which Pelican converts to html pages) or the Jinja system. So, I'm looking for a solution that will fit my Pelican generated site.

      Links

      • https://blog.getpelican.com/
      • http://jinja.pocoo.org/
      posted in Technical Support
      Aaron Murray
      Aaron Murray
    • Using NodeBB as a commenting system (static site)

      I'm very interested in using NodeBB as a commenting system for my static website. I see a Wordpress solution, but can't find generic code for use on a static site. Can anybody point me in the right direction?

      posted in Technical Support
      Aaron Murray
      Aaron Murray
    • RE: Using NodeBB as the commenting system for Jekyll

      @julian Where can I find the generic code for using NodeBB as a commenting system? My blog is static, and I'm looking for a commenting system -- being able to use my current install of NodeBB would be great!

      posted in General Discussion
      Aaron Murray
      Aaron Murray
    • RE: NodeBB Crashed after upgrade

      OK. I removed nodebb foler, but didn't drop the db.

      Ran:

      [email protected]:~/$ git clone -b v1.10.x https://github.com/NodeBB/NodeBB.git nodebb
      [email protected]:~$ ./nodebb setup

      No errors. Everything is now up and running.

      posted in Technical Support
      Aaron Murray
      Aaron Murray
    • RE: NodeBB Crashed after upgrade

      @pitaj It was 1.9.something and upgraded to 1.10.something.

      posted in Technical Support
      Aaron Murray
      Aaron Murray
    • RE: NodeBB Crashed after upgrade

      @dravere Yes. Followed instructions here: https://docs.nodebb.org/installing/os/ubuntu/

      [email protected]:~/nodebb$ npm -v
      5.6.0
      [email protected]:~/nodebb$ nodejs -v
      v8.11.3

      How do I drop the DB? I am familiar with MySQL, but not Mongo.

      posted in Technical Support
      Aaron Murray
      Aaron Murray
    • RE: NodeBB Crashed after upgrade

      OK, I ran ./nodebb upgrade after deleting the above mentioned files. No dice.

      Here's the output:

      [email protected]:~/nodebb$ ./nodebb upgrade
      npm WARN deprecated [email protected]: Jade has been renamed to pug, please install the latest version of pug instead of jade
      npm WARN deprecated [email protected]: connect 2.x series is deprecated
      npm WARN deprecated [email protected]: Use uuid module instead
      npm WARN deprecated [email protected]: no longer maintained
      npm WARN deprecated [email protected]: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
      npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
      npm WARN deprecated [email protected]: this package has been reintegrated into npm and is now out of date with respect to npm
      npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
      npm WARN deprecated [email protected]: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
      npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
      npm WARN notice [SECURITY] npm has the following vulnerability: 1 high. Go here for more details: https://nodesecurity.io/advisories?search=npm&version=1.4.29 - Run npm i [email protected] -g to upgrade your npm version, and then npm audit to get more info.
      npm ERR! code ETARGET
      npm ERR! notarget No matching version found for [email protected]~0.0.21
      npm ERR! notarget In most cases you or one of your dependencies are requesting
      npm ERR! notarget a package version that doesn't exist.
      npm ERR! notarget
      npm ERR! notarget It was specified as a dependency of 'nodebb'
      npm ERR! notarget

      npm ERR! A complete log of this run can be found in:
      npm ERR! /home/yilm/.npm/_logs/2018-07-11T17_50_42_742Z-debug.log
      [..................] / rollbackFailedOptional: verb npm-sessio
      npm notice created a lockfile as package-lock.json. You should commit this file.
      npm WARN [email protected] license should be a valid SPDX license expression

      • [email protected]
      • [email protected]
        removed 550 packages and updated 2 packages in 8.355s
        module.js:549
        throw err;
        ^

      Error: Cannot find module 'nconf'
      at Function.Module._resolveFilename (module.js:547:15)
      at Function.Module._load (module.js:474:25)
      at Module.require (module.js:596:17)
      at require (internal/module.js:11:18)
      at Object.<anonymous> (/home/yilm/nodebb/app.js:23:13)
      at Module._compile (module.js:652:30)
      at Object.Module._extensions..js (module.js:663:10)
      at Module.load (module.js:565:32)
      at tryModuleLoad (module.js:505:12)
      at Function.Module._load (module.js:497:3)

      NodeBB Dependencies up-to-date!

      Now, I'm getting a different error when I run ./nodebb start:

      [email protected]:~/nodebb$ ./nodebb start
      Starting NodeBB
      "./nodebb stop" to stop the NodeBB server
      "./nodebb log" to view server output
      module.js:549
      throw err;
      ^

      Error: Cannot find module 'nconf'
      at Function.Module._resolveFilename (module.js:547:15)
      at Function.Module._load (module.js:474:25)
      at Module.require (module.js:596:17)
      at require (internal/module.js:11:18)
      at Object.<anonymous> (/home/yilm/nodebb/loader.js:3:13)
      at Module._compile (module.js:652:30)
      at Object.Module._extensions..js (module.js:663:10)
      at Module.load (module.js:565:32)
      at tryModuleLoad (module.js:505:12)
      at Function.Module._load (module.js:497:3)

      Because it is a fresh install to begin with (nothing to loose), how would I remove nodebb from my server so I can try a fresh reinstall and then upgrade again? Or better yet, reinstall the latest instead so as to skip the upgrade.

      I followed the Ubuntu install (https://docs.nodebb.org/installing/os/ubuntu/) - how do I just reinstall the latest version?

      I am assuming I need to change 1.9.x to 1.10.x in the following command:

      git clone -b v1.9.x https://github.com/NodeBB/NodeBB.git nodebb

      Am I right?

      posted in Technical Support
      Aaron Murray
      Aaron Murray
    • RE: NodeBB Crashed after upgrade

      OK! I'll do that in a min. First, I wanted to add the following output:

      [email protected]:~/nodebb$ ./nodebb start
      Starting NodeBB
      "./nodebb stop" to stop the NodeBB server
      "./nodebb log" to view server output
      child_process.js:403
      throw new TypeError('"cwd" must be a string');
      ^

      TypeError: "cwd" must be a string
      at normalizeSpawnArguments (child_process.js:403:11)
      at Object.exports.spawn (child_process.js:496:38)
      at Function.module.exports.daemon (/home/yilm/nodebb/node_modules/daemon/index.js:50:31)
      at module.exports (/home/yilm/nodebb/node_modules/daemon/index.js:25:20)
      at Object.<anonymous> (/home/yilm/nodebb/loader.js:93:19)
      at Module._compile (module.js:652:30)
      at Object.Module._extensions..js (module.js:663:10)
      at Module.load (module.js:565:32)
      at tryModuleLoad (module.js:505:12)
      at Function.Module._load (module.js:497:3)

      posted in Technical Support
      Aaron Murray
      Aaron Murray
    • NodeBB Crashed after upgrade

      Installed nodebb today and had it working fine. It had a notification informing me I should upgrade. I clicked the link, and followed the instructions as seen here:

      Upgrading - NodeBB Documentation

      After I ran ./nodebb upgrade I got errors, and now it won't start at all.

      Help!

      Here's the ./nodebb upgrade output:

      [email protected]:~/nodebb$ ./nodebb upgrade
      npm WARN read-shrinkwrap This version of npm is compatible with [email protected], but npm-shrinkwrap.json was generated for [email protected] I'll try to do my best with it!
      npm WARN deprecated [email protected]: connect 2.x series is deprecated
      npm WARN deprecated [email protected]: no longer maintained
      npm ERR! code ETARGET
      npm ERR! notarget No matching version found for [email protected]
      npm ERR! notarget In most cases you or one of your dependencies are requesting
      npm ERR! notarget a package version that doesn't exist.

      npm ERR! A complete log of this run can be found in:
      npm ERR! /home/yilm/.npm/_logs/2018-07-11T03_18_44_083Z-debug.log
      npm WARN read-shrinkwrap This version of npm is compatible with [email protected], but npm-shrinkwrap.json was generated for [email protected] I'll try to do my best with it!
      npm WARN deprecated [email protected]: connect 2.x series is deprecated
      npm WARN deprecated [email protected]: no longer maintained
      npm ERR! code ETARGET
      npm ERR! notarget No matching version found for [email protected]
      npm ERR! notarget In most cases you or one of your dependencies are requesting
      npm ERR! notarget a package version that doesn't exist.

      npm ERR! A complete log of this run can be found in:
      npm ERR! /home/yilm/.npm/logs/2018-07-11T03_18_48_110Z-debug.log
      /home/yilm/nodebb/public/src/utils.js:104
      invalidUnicodeChars: XRegExp('[^\p{L}\s\d\-
      ]', 'g'),
      ^

      TypeError: XRegExp is not a function
      at undefined.module.module.exports (/home/yilm/nodebb/public/src/utils.js:104:24)
      at Object.<anonymous> (/home/yilm/nodebb/public/src/utils.js:282:3)
      at Module._compile (module.js:652:30)
      at Object.Module._extensions..js (module.js:663:10)
      at Module.load (module.js:565:32)
      at tryModuleLoad (module.js:505:12)
      at Function.Module._load (module.js:497:3)
      at Module.require (module.js:596:17)
      at require (internal/module.js:11:18)
      at Object.<anonymous> (/home/yilm/nodebb/app.js:32:10)

      NodeBB Dependencies up-to-date!

      posted in Technical Support
      Aaron Murray
      Aaron Murray

    Get Started

    • Product
    • Pricing

    Resources

    • Demo Site
    • Answers
    • Docs
    • Bug Bounty

    Company

    • About
    • Blog
    • Contact
    Start Free Trial
    Github Facebook Instagram Twitter
    © 2014 – 2022 NodeBB, Inc. — Made in Canada.
    • Terms
    • Privacy
    • GDPR
    • DMCA
    • Contact
    Menu
    • Terms
    • Privacy
    • GDPR
    • DMCA
    • Contact