Debugging installation (web form)

Technical Support
  • #1

    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 [email protected] No license field.
    npm info package.json [email protected] No license field.
    npm info package.json [email protected] No license field.
    npm info package.json [email protected] No license field.
    npm info package.json [email protected] 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 - [email protected] - [email protected]

    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 http://0.0.0.0:4567","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.

    Erik

  • GNU/Linux
    #2

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

  • #3

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

  • #4

    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
    #5

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

    Might not be ideal, so gh#3938

  • #6

    @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

| | | |