Permission denied for Redis?

The socket must be accessible for www-data. You first have to change the chmod of the socket to 770 that the redis group can access it, make changes in /etc/redis/redis.conf:

unixsocketperm 770

and then add www-data to the redis group in /etc/group:
redis:x:110:www-data