Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags
    • Users
    • Groups
    1. Home
    2. asyung
    A
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 9
    • Best 1
    • Groups 0

    asyung

    @asyung

    2
    Reputation
    306
    Profile views
    9
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    asyung Unfollow Follow

    Best posts made by asyung

    • How can I setup NodeBB with MongoDB Atlas Cloud?

      Hello,
      I'm using MongoDB Atlas on the cloud. I'm trying to run nodebb setup with the URI to connect, but it keeps removing the URI from the config.json and replacing it with the default host info. I need to initialize the MongoDB Atlas database with the correct objects somehow. I've been trying to set the URI and running nodebb setup, but if there is some other way I can initialize my MongoDB atlas instance with the correct objects, that would help too.

      Can someone advise me on how to do this?

      Thank you.

      posted in Technical Support
      A
      asyung

    Latest posts made by asyung

    • RE: [nodebb-plugin-blog-comments] Blog Commenting Engine (Ghost, Wordpress widget)

      @psychobunny

      I'm using Nodebb 1.6.1

      I installed via npm install nodebb-plugin-blog-comments.
      I have logged into the ACP and activated the plugin. However when I go to Plugins->Blog Comments, I get this message in the nodebb log:

      23/10 23:18:20 [11464] - warn: [plugins/load] The following plugins may not be compatible with your version of NodeBB. This may cause unintended behaviour or crashing. In the event of an unresponsive NodeBB caused by this plugin, run ./nodebb reset -p PLUGINNAME to disable it.

      • nodebb-plugin-blog-comments

      23/10 23:18:20 [11464] - info: Routes added
      23/10 23:18:20 [11464] - info: NodeBB Ready
      23/10 23:18:20 [11464] - info: Enabling 'trust proxy'
      23/10 23:18:20 [11464] - info: NodeBB is now listening on: 0.0.0.0:4567
      23/10 23:18:26 [11464] - error: /assets/templates/comments/admin.js
      Error: ENOENT: no such file or directory, open 'C:\Temp\NodeBB\build\public\templates\comments\admin.tpl'

      If I copy and paste "comments" folder from:
      C:\Temp\NodeBB\node_modules\nodebb-plugin-blog-comments\public\templates
      To:
      C:\Temp\NodeBB\build\public\templates

      Then I can the access blog-comments. However I do not know if this is a proper solution as I am unable to get things to work so far.

      Is there a test I can do to see if the plugin is setup correctly?

      I'm trying to use just a javascript front end to display comments.

      Your help is appreciated. Thank you!

      posted in NodeBB Plugins
      A
      asyung
    • RE: Is it possible to embed comments from a single topic and allow discussion on the page where they are embedded?

      I copied comments folder from nodebb-plugin-blog-comments\public\templates to NodeBB\build\public\templates and that appears to have worked. Thanks!

      posted in NodeBB Development
      A
      asyung
    • RE: Is it possible to embed comments from a single topic and allow discussion on the page where they are embedded?

      I've been trying nodebb-plugin-blog-comments but I get this message in my log:

      23/10 22:03:40 [14636] - warn: [plugins/load] The following plugins may not be compatible with your version of NodeBB. This may cause unintended behaviour or crashing. In the event of an unresponsive NodeBB caused by this plugin, run ./nodebb reset -p PLUGINNAME to disable it.

      • nodebb-plugin-blog-comments

      23/10 22:03:41 [14636] - info: Routes added
      23/10 22:03:41 [14636] - info: NodeBB Ready
      23/10 22:03:41 [14636] - info: Enabling 'trust proxy'
      23/10 22:03:41 [14636] - info: NodeBB is now listening on: 0.0.0.0:4567
      23/10 22:04:00 [14636] - error: /assets/templates/comments/admin.js
      Error: ENOENT: no such file or directory, open 'C:\Temp\NodeBB\build\public\templates\comments\admin.tpl'

      I also am unable to access the Plugin->Blog Comments section. It just spins. I'm using NodeBB version 1.6.1.

      Thank you!

      posted in NodeBB Development
      A
      asyung
    • RE: How can I setup NodeBB with MongoDB Atlas Cloud?

      That looks to have done the trick! Thank you very much! That is a great help!!

      posted in Technical Support
      A
      asyung
    • RE: How can I setup NodeBB with MongoDB Atlas Cloud?

      Is there another cmd or function I can call that will initialize the database aside from nodebb setup?

      Something that will use the URI without overwriting it.

      posted in Technical Support
      A
      asyung
    • RE: How can I setup NodeBB with MongoDB Atlas Cloud?

      Yes, I have tried modifying the config.json then running nodebb setup.

      In that situation, the setup keeps overwriting\using config.json defaults. I'm using NodeBB 1.6.1

      posted in Technical Support
      A
      asyung
    • RE: How can I setup NodeBB with MongoDB Atlas Cloud?

      I'm modifying the config.json at the NodeBB folder level.

      Changing it from:

      "mongo": {
          "host": "host",
          "port": 27017,
          "username": "user",
          "password": "password",
          "database": "nodebb"
      }
      

      to something like:

      "mongo": {
          "uri": "Mongoatlas URI connection"
      }
      

      If I change it after nodebb setup, it connects to the Mongodb Atlas cloud correctly. However the objects in the database are not properly setup\initialized.
      So I need to run nodebb setup against the Mongodb Atlas server, but the setup keeps overwriting\using config.json defaults.

      posted in Technical Support
      A
      asyung
    • RE: How can I setup NodeBB with MongoDB Atlas Cloud?

      @pitaj I"m eventually using IBM Bluemix, but I'm just using Nodebb locally initially for development. MongoDB Atlas is the cloud database as a service I'm using.

      What do you mean "Make sure that the updated config.json is checked into git if it's Heroku or similar." I am unfamiliar with git and how it works. How does the nodebb setup read from git?

      posted in Technical Support
      A
      asyung
    • How can I setup NodeBB with MongoDB Atlas Cloud?

      Hello,
      I'm using MongoDB Atlas on the cloud. I'm trying to run nodebb setup with the URI to connect, but it keeps removing the URI from the config.json and replacing it with the default host info. I need to initialize the MongoDB Atlas database with the correct objects somehow. I've been trying to set the URI and running nodebb setup, but if there is some other way I can initialize my MongoDB atlas instance with the correct objects, that would help too.

      Can someone advise me on how to do this?

      Thank you.

      posted in Technical Support
      A
      asyung