Problem/Motivation
Attempting to run Drush commands causes the following error:
Drush command terminated abnormally due to an unrecoverable error.
Error: Class 'Redis' not found in /data/all/000/modules/redis/lib/Redis/Client/PhpRedis.php, line 9
This error occurs when I run any drush command, including dl, pm-update, or cc.
I am currently running BOA 2.0.3 on a Linode with Ubuntu 10.04 Lucid. I have been running this server on BOA for over a year, and didn't notice this issue until the first update to a unified BOA script.
This is from the latest barracuda-log:
Wed Jun 20 20:27:39 EDT 2012 / Ubuntu.lucid i686 XEN / Aegir BOA-2.0.3 / Barracuda BOA-2.0.3 / Nginx 1.3.0 / PHP 5.2.17 and 5.3.13 / MODERN-NO / FPM 5.2 / CLI 5.2 / MariaDB-5.5.24 FQDN / Wildcard NO
The detailed upgrade log appears to show that redis is installed, and after the lines of the redis bits, says:
Libraries have been installed in: /var/opt/phpredis/modules
Comments
Comment #1
omega8cc CreditAttribution: omega8cc commentedIt is a known issue, fixed in HEAD.
Closing as duplicate of #1593794: New redis-only caching backend settings cause a few issues
As a hotfix you could update your
global.inc
file: