redis does not require a password, but password was supplied

General Discussion

Suggested Topics


  • 0 Votes
    2 Posts
    832 Views

    Make sure your url value in config.json matches the url you use to access the forum.

  • 0 Votes
    2 Posts
    2k Views

    Thanks for the insight @aixnr! We still recommend redis as the default storage engine, especially for small forums, as it was what NodeBB was originally built against. MongoDB is supported just as well as Redis, so there is no fear of it ever being deprecated or considered a second-class citizen when it comes to support.

    As for those stats you were asking about:

    NodeBB 28,600 Posts 3,645 Topics 3,867 Users 139.08MB memory used in Redis
  • 0 Votes
    5 Posts
    2k Views

    @basil

    npm install socket socket.io-redis connect-redis
  • 0 Votes
    5 Posts
    3k Views

    How about config for use redis as proxy ?

  • 0 Votes
    6 Posts
    3k Views

    I know this is old but it came up when I was looking for an answer, so for those that come after.....

    Redis is already on c9 and its old.
    Following is some quick instructions that get it working but please understand i REALLY DONT know what Im doing 😉
    The instructions are base off...
    https://www.digitalocean.com/community/tutorials/how-to-install-and-use-redis

    Remove the old redis stuff
    Do you need to do this?...no idea 😉

    $ sudo service redis-server stop $ sudo dpkg -P redis-server $ sudo dpkg -P redis-tools

    Download and make the new Redis 3.0.x

    paez@nodebb:~/workspace $ mkdir redis $ cd redis wget http://download.redis.io/releases/redis-stable.tar.gz tar xzf redis-stable.tar.gz cd redis-stable make sudo make install

    Install
    During the install the default path for where to put the executable s was wrong and I think it was /usr/bin/
    Also, select port 16379, because the old redis is still running and Im still not sure how to turn it off properly. But your new one will work fine if you set nodeBB to the new one. I did get rid of it once, but not exactly sure how.

    cd utils sudo ./install_server.sh

    And now you should have a working redis on 0.0.0.0:16379.
    Still have the old one running, as I dont know how to get rid of it properly yet.

    I tested this with the latest NodeBB and was able to get it to work except I get this error in the console....

    WebSocket connection to 'ws://nodebb-c9-paez.c9.io/socket.io/?EIO=3&transport=websocket&sid=Gn4rDgj2XlEILV0FAAAA' failed: Error during WebSocket handshake: Unexpected response code: 400

    ...and a whole bunch of....
    [deprecated] variables.set is deprecated, please use ajaxify.data...
    ...dont know why and am not likely to find out as Im going to be running it off Openshift, but this hopefully gets someone a little closer....and it does seem to work good enough for theme mucking which is what I wanted the c9 one for.