Trusty environment: redis-server not starting with redis-tools installed

I dug into this a little bit, and it appears to me that the newer package now tries to bind to IPv6 ::1 as well as IPv6 is not available on our images, so the server fails to start. You’ll have to remove ::1 from /etc/redis/redis.conf after the new package has been installed, and start the service after that.

  - sudo sed -e 's/^bind.*/bind' /etc/redis/redis.conf > redis.conf
  - sudo mv redis.conf /etc/redis
  - sudo service redis-server start
  - echo PING | nc localhost 6379
1 Like