Debugging installation (web form)

  • Hi all,

    I am playing with an AWS install and as I enter the information through the web form and submit, I just get the form back a short while after with:

    There was an error connecting to your database. Please try again.

    Console says:

    9/12 21:53 [67] - info: Now configuring redis database:
    Configuration Saved OK
    npm info package.json connect-ensure-login@0.1.1 No license field.
    npm info package.json connect-flash@0.1.1 No license field.
    npm info package.json daemon@1.1.0 No license field.
    npm info package.json cron@1.0.9 No license field.
    npm info package.json mime@1.3.4 No license field.

    I am running ./nodebb setup, configuring a redis connection on a host that I can see and connect to (that port).

    nodebb 0.9.1 - redis 2.8.19 - npm@2.14.7 - node@v4.2.2

    The logs directory is empty but for web install.log which says:

    {"level":"info","message":"Launching web installer on port 4567","timestamp":"9/12 21:42 [39]"}
    {"level":"info","message":"Web installer listening on","timestamp":"9/12 21:42 [39]"}

    Is there a way for me to get more verbose information on what's failing during the install?

    Thank you.


  • GNU/Linux Admin

    Can you access the redis database from AWS? That seems to be the cause of the error...

  • That host can definitely talk to the redis host, yes.

  • It seems to be that the redis package is not installed. What installs it? Where should I see that error?

    ./nodebb dev allowed me to see it but without much more information.

  • GNU/Linux Admin

    The redis connectors are installed when you run ./nodebb setup.

    Might not be ideal, so gh#3938

  • @julian , systematically or if redis is chosen in the web form only?

    Is it also installing the redis node module when using the the web form or only through the command line input?

Suggested Topics

  • 1
  • 2
  • 9
  • 2
  • 2
| |