• NodeBB

    It's redisearch not redissearch.

    Try

    npm r redisearch
    npm i redisearch
    

  • Oh...yes...thanks ^^


  • 10/12 21:41 [18540] - info: Now configuring redis database:
    Host IP or address of your Redis instance (...)
    Host port of your Redis instance (22)
    Password of your Redis database
    Which database to use (0..n) (1)
    Configuration Saved OK

    connect-redis@2.0.0 node_modules/connect-redis

    redis@0.10.3 node_modules/redis
    Populating database with default configs, if not already set...
    10/12 21:41 [18540] - error: Error: Auth error: 2.0-OpenSSH_6.0p1 Debian-4+deb7u2
    at Command.callback (/root/nodebb/node_modules/redis/index.js:212:43)
    at RedisClient.return_error (/root/nodebb/node_modules/redis/index.js:558:25)
    at ReplyParser.<anonymous> (/root/nodebb/node_modules/redis/index.js:305:18)
    at ReplyParser.emit (events.js:95:17)
    at ReplyParser.send_error (/root/nodebb/node_modules/redis/lib/parser/javascript.js:296:10)
    at ReplyParser.execute (/root/nodebb/node_modules/redis/lib/parser/javascript.js:181:22)
    at RedisClient.on_data (/root/nodebb/node_modules/redis/index.js:534:27)
    at Socket.<anonymous> (/root/nodebb/node_modules/redis/index.js:91:14)
    at Socket.emit (events.js:95:17)
    at Socket.<anonymous> (_stream_readable.js:748:14)


  • Someone can help me ? 😞 I don't understand my error ...


  • Auth error suggests that there is a problem with username/password - check config.json

    If that is not the case, then check that you can connect to redis as that user, using that password.


  • Ok i think it's the password, but i don't know what is my Redis Database password, where i can find it?


  • Are you connecting to the right IP & port? (According to the installer you have used port 22 before)


  • This is the IP and the port of my VPS, i think it is good ^^


  • So your Redis install is locally installed? As on your own VPS.


  • I think yes


  • @Noksouls What host do you use?


  • VPS on OVH, i use PuTTY for control ^^

  • Plugin & Theme Dev

    @Noksouls port 22 is for SSH (default anyways). Don't think your redis is running on port 22. Check the port and specify the correct port in the NodeBB config file.


  • I try the port 80
    $ Populating database with default configs, if not already set...
    $ 11/12 18:47 [19110] - error: NodeBB could not connect to your Redis database. Redis returned the following error: Redis connection to XX.XXX.XXX.XX:80 failed - connect ECONNREFUSED

    The IP it's the IP of my VPS, i don't know if it's good 😕

  • Plugin & Theme Dev

    @Noksouls it won't be running on port 80. Default port for redis is 6379. First check if you have redis installed.

    Enter this at the prompt redis-cli. If redis is installed and running, the prompt will change and will most likely show you the port number redis is running on.


  • It's good !!! Thank you very much 💃

    But when i'm connecting to the adress there is a problem :ERR_CONNECTION_REFUSED
    I think it's a problem with my VPS but i don't know where it is.

    I do "forum IN A XX.XXX.XXX.XX" on my NDD (the IP is the IP of my VPS)


  • My NodeBB config :

    $ URL used to access this NodeBB (forum.guilde-arkadia.fr)
    $ Please enter a NodeBB secret (X)
    $ Wich database to use (redis)
    $ Host IP or adress of your Redis instance (127.0.0.1)
    $ Host port of your Redis instance (6379)
    $ Password of your Redis database
    $ Wich database to use (0..n) (1)

    But when i try to connect to the adress forum.guilde-arkadia.fr i have the message : ERR_PROXY_CONNECTION_FAILED

    You think it's a problem with the config or with the VPS?

Suggested Topics

| |