Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error after install #74

Closed
arteck opened this issue Jul 24, 2015 · 2 comments
Closed

error after install #74

arteck opened this issue Jul 24, 2015 · 2 comments

Comments

@arteck
Copy link

arteck commented Jul 24, 2015

Fatal error: Uncaught exception 'Predis\Response\ServerException' with message 'ERR unknown command 'SCAN'' in /var/www/phpRedisAdmin/vendor/src/Client.php:367 Stack trace: #0 /var/www/phpRedisAdmin/vendor/src/Client.php(332): Predis\Client->onErrorResponse(Object(Predis\Command\KeyScan), Object(Predis\Response\Error)) #1 /var/www/phpRedisAdmin/vendor/src/Client.php(312): Predis\Client->executeCommand(Object(Predis\Command\KeyScan)) #2 /var/www/phpRedisAdmin/index.php(14): Predis\Client->__call('scan', Array) #3 /var/www/phpRedisAdmin/index.php(14): Predis\Client->scan(0, 'MATCH', '*', 'COUNT', 1000) #4 {main} thrown in /var/www/phpRedisAdmin/vendor/src/Client.php on line 367

@erikdubbelboer
Copy link
Owner

phpRedisAdmin uses the SCAN command to get all keys in your keyspace. You are using a super old version of redis (from 2013) which doesn't support this command yet. You need to set keys => true in your config file. See: https://github.com/ErikDubbelboer/phpRedisAdmin/blob/99ba128623371f3d9702b7ec890bf114d37480b6/includes/config.sample.inc.php#L73

@fbens
Copy link

fbens commented Jun 22, 2017

I have the same problem too,after change the keys from false to true, problem resolved.
file: includes/config.inc.php

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants