• Home
  • Categories
  • Recent
  • Popular
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Default
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Quartz
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Slate
  • Solar
  • Superhero
  • Vapor
Collapse

Community

S

setpixel

@setpixel
About
Posts
6
Topics
1
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

    RE: Installing on Heroku
  • S setpixel

    I was going to look into it, but it must be the redis npm package.


  • RE: Installing on Heroku
  • S setpixel

    Thanks guys! Looking forward to using NodeBB! I'm excited!


  • RE: Installing on Heroku
  • S setpixel

    Can I just say, really shitty experience today.

    I posted an issue in Github, which was immediately closed and he told me to post in here.

    Then a moderator is saying that my password is incorrect?

    It's a bug.

    Just like @zoharm, I was able to fix the issue.

    ** The issue has nothing to do with Heroku ** I was able to recreate the issue locally. This issue is entirely related to a redis server having a password.

    My fix was to add the lines in in nodebb/src/database/redis.js (https://github.com/NodeBB/NodeBB/blob/master/src/database/redis.js) at line 77:

    if (nconf.get('redis:password')) {
    options.password = nconf.get('redis:password');
    }

    My guess is that the redis package was updated and introduced the bug.

    Should probably issue a fix ASAP as no one with redis and a password will work with a new install.

    Also, maybe don't close out issues immediately for something that is straight up a new bug. Oh and uh, fix yo shit.

    😄


  • RE: Installing on Heroku
  • S setpixel

    I've installed it locally on my Mac too. Same results.

    Perhaps theres been an installation script regression?


  • RE: Installing on Heroku
  • S setpixel

    I just exactly followed the instructions here: https://docs.nodebb.org/en/latest/installing/cloud/heroku.html

    I don't know what I should change.


  • Installing on Heroku
  • S setpixel

    I've attempted a heroku install 2 times: https://docs.nodebb.org/en/latest/installing/cloud/heroku.html

    I get through the whole installation but the app crashes every time.

    Logs say:

    2016-09-28T18:13:19.517332+00:00 app[web.1]: 28/9 18:13 [3] - info: Initializing NodeBB v1.1.2
    2016-09-28T18:13:21.348942+00:00 app[web.1]: 28/9 18:13 [3] - error: Error: Ready check failed: NOAUTH Authentication required.
    2016-09-28T18:13:21.348961+00:00 app[web.1]: at JavascriptReplyParser._parseResult (/app/node_modules/redis/lib/parsers/javascript.js:43:16)
    2016-09-28T18:13:21.348962+00:00 app[web.1]: at JavascriptReplyParser.try_parsing (/app/node_modules/redis/lib/parsers/javascript.js:114:21)
    2016-09-28T18:13:21.348962+00:00 app[web.1]: at JavascriptReplyParser.run (/app/node_modules/redis/lib/parsers/javascript.js:126:22)
    2016-09-28T18:13:21.348963+00:00 app[web.1]: at JavascriptReplyParser.execute (/app/node_modules/redis/lib/parsers/javascript.js:107:10)
    2016-09-28T18:13:21.348964+00:00 app[web.1]: at Socket. (/app/node_modules/redis/index.js:131:27)
    2016-09-28T18:13:21.348965+00:00 app[web.1]: at emitOne (events.js:90:13)
    2016-09-28T18:13:21.349069+00:00 app[web.1]: at Socket. (/app/node_modules/redis/index.js:131:27)
    2016-09-28T18:13:21.348965+00:00 app[web.1]: at Socket.emit (events.js:182:7)
    2016-09-28T18:13:21.349070+00:00 app[web.1]: at emitOne (events.js:90:13)
    2016-09-28T18:13:21.348966+00:00 app[web.1]: at readableAddChunk (_stream_readable.js:153:18)
    2016-09-28T18:13:21.349071+00:00 app[web.1]: at Socket.emit (events.js:182:7)
    2016-09-28T18:13:21.348967+00:00 app[web.1]: at Socket.Readable.push (_stream_readable.js:111:10)
    2016-09-28T18:13:21.349071+00:00 app[web.1]: at readableAddChunk (_stream_readable.js:153:18)
    2016-09-28T18:13:21.349067+00:00 app[web.1]: at JavascriptReplyParser._parseResult (/app/node_modules/redis/lib/parsers/javascript.js:43:16)
    2016-09-28T18:13:21.348968+00:00 app[web.1]: at TCP.onread (net.js:534:20)
    2016-09-28T18:13:21.349067+00:00 app[web.1]: at JavascriptReplyParser.try_parsing (/app/node_modules/redis/lib/parsers/javascript.js:114:21)
    

    config.json:

    {
      "url": "https://XXXX.herokuapp.com/",
      "secret": "XXXX-dd58a9fcc495",
      "database": "redis",
      "redis": {
        "host": "sculpin.redistogo.com",
        "port": "10027",
        "password": "XXXX",
        "database": "0"
      }
    }
    

    Any idea what I should do to fix it?

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
  • Login

  • Don't have an account? Register

  • Login or register to search.