NC and Redis >6 - "Redis Exception. Wrongpass invalid Username-password"


  • Did you add your webserver-user (propably www-data) to the group redis?

check if www-data is member of redis group:

grep "^redis" /etc/group

add www-data to group:

sudo usermod -aG redis www-data 

  • Did you remove all password releted settings from your /etc/redis/redis.conf?

You can post your confiig here.

grep config from redis.conf:

sudo grep -Ev "(^\s*#|^\s*$)" /etc/redis/redis.conf

(Before you paste (Ctrl-v) that output here, press Ctrl-e please, to get it in a fenced code block for better readability)


Yes, /var/run is a symlink to /run for backwards compatibility. But I did not mention the /var part in my suggestion.


Much luck,
ernolf

1 Like